Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Regenerated from spec #19

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vrchat_dart_generated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ commit-access to the project. It also means we are very open and welcoming of ne

This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.18.2
- API version: 1.18.1
- Generator version: 7.8.0
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen
For more information, please visit [https://github.com/VRChatAPI](https://github.com/VRChatAPI)
Expand Down
2 changes: 1 addition & 1 deletion vrchat_dart_generated/doc/CreateAvatarRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**tags** | **List<String>** | | [optional]
**imageUrl** | **String** | |
**releaseStatus** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional]
**version** | **int** | | [optional] [default to 1]
**version** | **num** | | [optional] [default to 1]
**unityPackageUrl** | **String** | | [optional]
**unityVersion** | **String** | | [optional] [default to '5.3.4p1']

Expand Down
4 changes: 2 additions & 2 deletions vrchat_dart_generated/doc/CreateFileVersionRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import 'package:vrchat_dart_generated/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**signatureMd5** | **String** | |
**signatureSizeInBytes** | **int** | |
**signatureSizeInBytes** | **num** | |
**fileMd5** | **String** | | [optional]
**fileSizeInBytes** | **int** | | [optional]
**fileSizeInBytes** | **num** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 0 additions & 2 deletions vrchat_dart_generated/doc/CurrentUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ Name | Type | Description | Notes
**profilePicOverride** | **String** | |
**profilePicOverrideThumbnail** | **String** | |
**pronouns** | **String** | |
**queuedInstance** | **String** | | [optional]
**receiveMobileInvitations** | **bool** | | [optional]
**state** | [**UserState**](UserState.md) | |
**status** | [**UserStatus**](UserStatus.md) | |
**statusDescription** | **String** | |
Expand Down
2 changes: 0 additions & 2 deletions vrchat_dart_generated/doc/CurrentUserPresence.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import 'package:vrchat_dart_generated/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**avatarThumbnail** | **String** | | [optional]
**currentAvatarTags** | **String** | | [optional]
**displayName** | **String** | | [optional]
**groups** | **List<String>** | | [optional]
**id** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional]
Expand All @@ -21,7 +20,6 @@ Name | Type | Description | Notes
**status** | **String** | either a UserStatus or empty string | [optional]
**travelingToInstance** | **String** | | [optional]
**travelingToWorld** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional]
**userIcon** | **String** | | [optional]
**world** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
4 changes: 2 additions & 2 deletions vrchat_dart_generated/doc/FileVersionUploadStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**uploadId** | **String** | |
**fileName** | **String** | |
**nextPartNumber** | **int** | |
**maxParts** | **int** | |
**nextPartNumber** | **num** | |
**maxParts** | **num** | |
**parts** | **List<Object>** | |
**etags** | **List<Object>** | Unknown |

Expand Down
2 changes: 1 addition & 1 deletion vrchat_dart_generated/doc/Subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
**amount** | **num** | |
**description** | **String** | |
**period** | [**SubscriptionPeriod**](SubscriptionPeriod.md) | |
**tier** | **int** | |
**tier** | **num** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
8 changes: 4 additions & 4 deletions vrchat_dart_generated/doc/TransactionAgreement.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import 'package:vrchat_dart_generated/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**agreementId** | **String** | |
**itemId** | **int** | |
**itemId** | **num** | |
**agreement** | **String** | |
**status** | **String** | This is NOT TransactionStatus, but whatever Steam return. |
**period** | **String** | |
**frequency** | **int** | |
**frequency** | **num** | |
**billingType** | **String** | |
**startDate** | **String** | |
**endDate** | **String** | |
Expand All @@ -24,8 +24,8 @@ Name | Type | Description | Notes
**lastPayment** | **String** | |
**lastAmount** | **num** | |
**lastAmountVat** | **num** | |
**outstanding** | **int** | |
**failedAttempts** | **int** | |
**outstanding** | **num** | |
**failedAttempts** | **num** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion vrchat_dart_generated/doc/UnityPackage.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Name | Type | Description | Notes
**assetUrlObject** | **Object** | | [optional]
**assetVersion** | **int** | |
**createdAt** | [**DateTime**](DateTime.md) | | [optional]
**impostorizerVersion** | **String** | | [optional]
**platform** | **String** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. |
**pluginUrl** | **String** | | [optional]
**pluginUrlObject** | **Object** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion vrchat_dart_generated/doc/UpdateAvatarRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**tags** | **List<String>** | | [optional]
**imageUrl** | **String** | | [optional]
**releaseStatus** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional]
**version** | **int** | | [optional] [default to 1]
**version** | **num** | | [optional] [default to 1]
**unityPackageUrl** | **String** | | [optional]
**unityVersion** | **String** | | [optional] [default to '5.3.4p1']

Expand Down
2 changes: 1 addition & 1 deletion vrchat_dart_generated/doc/UpdateUserRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **String** | | [optional]
**birthday** | [**DateTime**](DateTime.md) | | [optional]
**acceptedTOSVersion** | **int** | | [optional]
**acceptedTOSVersion** | **num** | | [optional]
**tags** | **List<String>** | | [optional]
**status** | [**UserStatus**](UserStatus.md) | | [optional]
**statusDescription** | **String** | | [optional]
Expand Down
3 changes: 1 addition & 2 deletions vrchat_dart_generated/doc/User.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ Name | Type | Description | Notes
**isFriend** | **bool** | Either their `friendKey`, or empty string if you are not friends. Unknown usage. |
**lastActivity** | **String** | Either a date-time or empty string. |
**lastLogin** | **String** | Either a date-time or empty string. |
**lastMobile** | **String** | | [optional]
**lastPlatform** | **String** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. |
**location** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional]
**note** | **String** | | [optional]
**platform** | **String** | | [optional]
**platform** | **String** | |
**profilePicOverride** | **String** | |
**profilePicOverrideThumbnail** | **String** | |
**pronouns** | **String** | |
Expand Down
2 changes: 1 addition & 1 deletion vrchat_dart_generated/doc/UserSubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**amount** | **num** | |
**description** | **String** | |
**period** | [**SubscriptionPeriod**](SubscriptionPeriod.md) | |
**tier** | **int** | |
**tier** | **num** | |
**active** | **bool** | | [default to true]
**status** | [**TransactionStatus**](TransactionStatus.md) | |
**starts** | **String** | | [optional]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class CreateAvatarRequest {

// minimum: 0
@JsonKey(name: r'version', required: false, includeIfNull: false)
final int? version;
final num? version;

@JsonKey(name: r'unityPackageUrl', required: false, includeIfNull: false)
final String? unityPackageUrl;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ class CreateFileVersionRequest {
final String signatureMd5;

@JsonKey(name: r'signatureSizeInBytes', required: true, includeIfNull: false)
final int signatureSizeInBytes;
final num signatureSizeInBytes;

@JsonKey(name: r'fileMd5', required: false, includeIfNull: false)
final String? fileMd5;

@JsonKey(name: r'fileSizeInBytes', required: false, includeIfNull: false)
final int? fileSizeInBytes;
final num? fileSizeInBytes;

@override
bool operator ==(Object other) =>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions vrchat_dart_generated/lib/src/model/current_user.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ class CurrentUser {
required this.profilePicOverride,
required this.profilePicOverrideThumbnail,
required this.pronouns,
this.queuedInstance,
this.receiveMobileInvitations,
required this.state,
required this.status,
required this.statusDescription,
Expand Down Expand Up @@ -268,13 +266,6 @@ class CurrentUser {
@JsonKey(name: r'pronouns', required: true, includeIfNull: false)
final String pronouns;

@JsonKey(name: r'queuedInstance', required: false, includeIfNull: false)
final String? queuedInstance;

@JsonKey(
name: r'receiveMobileInvitations', required: false, includeIfNull: false)
final bool? receiveMobileInvitations;

@JsonKey(name: r'state', required: true, includeIfNull: false)
final UserState state;

Expand Down Expand Up @@ -377,8 +368,6 @@ class CurrentUser {
other.profilePicOverride == profilePicOverride &&
other.profilePicOverrideThumbnail == profilePicOverrideThumbnail &&
other.pronouns == pronouns &&
other.queuedInstance == queuedInstance &&
other.receiveMobileInvitations == receiveMobileInvitations &&
other.state == state &&
other.status == status &&
other.statusDescription == statusDescription &&
Expand Down Expand Up @@ -449,8 +438,6 @@ class CurrentUser {
profilePicOverride.hashCode +
profilePicOverrideThumbnail.hashCode +
pronouns.hashCode +
(queuedInstance == null ? 0 : queuedInstance.hashCode) +
receiveMobileInvitations.hashCode +
state.hashCode +
status.hashCode +
statusDescription.hashCode +
Expand Down
6 changes: 0 additions & 6 deletions vrchat_dart_generated/lib/src/model/current_user.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions vrchat_dart_generated/lib/src/model/current_user_presence.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class CurrentUserPresence {
/// Returns a new [CurrentUserPresence] instance.
CurrentUserPresence({
this.avatarThumbnail,
this.currentAvatarTags,
this.displayName,
this.groups,
this.id,
Expand All @@ -29,16 +28,12 @@ class CurrentUserPresence {
this.status,
this.travelingToInstance,
this.travelingToWorld,
this.userIcon,
this.world,
});

@JsonKey(name: r'avatarThumbnail', required: false, includeIfNull: false)
final String? avatarThumbnail;

@JsonKey(name: r'currentAvatarTags', required: false, includeIfNull: false)
final String? currentAvatarTags;

@JsonKey(name: r'displayName', required: false, includeIfNull: false)
final String? displayName;

Expand Down Expand Up @@ -77,9 +72,6 @@ class CurrentUserPresence {
@JsonKey(name: r'travelingToWorld', required: false, includeIfNull: false)
final String? travelingToWorld;

@JsonKey(name: r'userIcon', required: false, includeIfNull: false)
final String? userIcon;

/// WorldID be \"offline\" on User profiles if you are not friends with that user.
@JsonKey(name: r'world', required: false, includeIfNull: false)
final String? world;
Expand All @@ -89,7 +81,6 @@ class CurrentUserPresence {
identical(this, other) ||
other is CurrentUserPresence &&
other.avatarThumbnail == avatarThumbnail &&
other.currentAvatarTags == currentAvatarTags &&
other.displayName == displayName &&
other.groups == groups &&
other.id == id &&
Expand All @@ -101,13 +92,11 @@ class CurrentUserPresence {
other.status == status &&
other.travelingToInstance == travelingToInstance &&
other.travelingToWorld == travelingToWorld &&
other.userIcon == userIcon &&
other.world == world;

@override
int get hashCode =>
(avatarThumbnail == null ? 0 : avatarThumbnail.hashCode) +
currentAvatarTags.hashCode +
displayName.hashCode +
(groups == null ? 0 : groups.hashCode) +
id.hashCode +
Expand All @@ -119,7 +108,6 @@ class CurrentUserPresence {
(status == null ? 0 : status.hashCode) +
(travelingToInstance == null ? 0 : travelingToInstance.hashCode) +
travelingToWorld.hashCode +
(userIcon == null ? 0 : userIcon.hashCode) +
world.hashCode;

factory CurrentUserPresence.fromJson(Map<String, dynamic> json) =>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ class FileVersionUploadStatus {

// minimum: 0
@JsonKey(name: r'nextPartNumber', required: true, includeIfNull: false)
final int nextPartNumber;
final num nextPartNumber;

// minimum: 1
@JsonKey(name: r'maxParts', required: true, includeIfNull: false)
final int maxParts;
final num maxParts;

@JsonKey(name: r'parts', required: true, includeIfNull: false)
final List<Object> parts;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vrchat_dart_generated/lib/src/model/subscription.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Subscription {
final SubscriptionPeriod period;

@JsonKey(name: r'tier', required: true, includeIfNull: false)
final int tier;
final num tier;

@override
bool operator ==(Object other) =>
Expand Down
2 changes: 1 addition & 1 deletion vrchat_dart_generated/lib/src/model/subscription.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading