From 8911ada4403a04becda407411306c9fa305cc6de Mon Sep 17 00:00:00 2001 From: VRCCat Date: Tue, 21 May 2024 15:55:57 +0000 Subject: [PATCH] Upgrade C# SDK to spec 1.17.4 --- .openapi-generator/FILES | 2 + docs/Badge.md | 17 ++ docs/CurrentUser.md | 6 +- docs/LimitedUser.md | 1 + docs/LimitedWorld.md | 2 + docs/Subscription.md | 4 + docs/Transaction.md | 4 + docs/UnityPackage.md | 1 + docs/User.md | 3 + docs/WorldPublishStatus.md | 2 +- src/VRChat.API/Api/AuthenticationApi.cs | 2 +- src/VRChat.API/Api/AvatarsApi.cs | 2 +- src/VRChat.API/Api/EconomyApi.cs | 2 +- src/VRChat.API/Api/FavoritesApi.cs | 2 +- src/VRChat.API/Api/FilesApi.cs | 2 +- src/VRChat.API/Api/FriendsApi.cs | 2 +- src/VRChat.API/Api/GroupsApi.cs | 2 +- src/VRChat.API/Api/InstancesApi.cs | 2 +- src/VRChat.API/Api/InviteApi.cs | 2 +- src/VRChat.API/Api/NotificationsApi.cs | 2 +- src/VRChat.API/Api/PermissionsApi.cs | 2 +- src/VRChat.API/Api/PlayermoderationApi.cs | 2 +- src/VRChat.API/Api/SystemApi.cs | 2 +- src/VRChat.API/Api/UsersApi.cs | 2 +- src/VRChat.API/Api/WorldsApi.cs | 2 +- src/VRChat.API/Client/ApiClient.cs | 2 +- src/VRChat.API/Client/ApiException.cs | 2 +- src/VRChat.API/Client/ApiResponse.cs | 2 +- src/VRChat.API/Client/ClientUtils.cs | 2 +- src/VRChat.API/Client/Configuration.cs | 8 +- src/VRChat.API/Client/ExceptionFactory.cs | 2 +- src/VRChat.API/Client/GlobalConfiguration.cs | 2 +- src/VRChat.API/Client/HttpMethod.cs | 2 +- src/VRChat.API/Client/IApiAccessor.cs | 2 +- src/VRChat.API/Client/IAsynchronousClient.cs | 2 +- .../Client/IReadableConfiguration.cs | 2 +- src/VRChat.API/Client/ISynchronousClient.cs | 2 +- src/VRChat.API/Client/Multimap.cs | 2 +- src/VRChat.API/Client/OpenAPIDateConverter.cs | 2 +- src/VRChat.API/Client/RequestOptions.cs | 2 +- src/VRChat.API/Client/RetryConfiguration.cs | 2 +- src/VRChat.API/Model/APIConfig.cs | 2 +- src/VRChat.API/Model/APIConfigAnnouncement.cs | 2 +- .../Model/APIConfigDownloadURLList.cs | 2 +- src/VRChat.API/Model/APIConfigEvents.cs | 2 +- src/VRChat.API/Model/APIHealth.cs | 2 +- src/VRChat.API/Model/AbstractOpenAPISchema.cs | 2 +- src/VRChat.API/Model/AccountDeletionLog.cs | 2 +- src/VRChat.API/Model/AddFavoriteRequest.cs | 2 +- .../Model/AddGroupGalleryImageRequest.cs | 2 +- src/VRChat.API/Model/Avatar.cs | 2 +- .../Model/AvatarUnityPackageUrlObject.cs | 2 +- src/VRChat.API/Model/Badge.cs | 279 ++++++++++++++++++ src/VRChat.API/Model/BanGroupMemberRequest.cs | 2 +- src/VRChat.API/Model/CreateAvatarRequest.cs | 2 +- src/VRChat.API/Model/CreateFileRequest.cs | 2 +- .../Model/CreateFileVersionRequest.cs | 2 +- .../Model/CreateGroupAnnouncementRequest.cs | 2 +- .../Model/CreateGroupGalleryRequest.cs | 2 +- .../Model/CreateGroupInviteRequest.cs | 2 +- .../Model/CreateGroupPostRequest.cs | 2 +- src/VRChat.API/Model/CreateGroupRequest.cs | 2 +- .../Model/CreateGroupRoleRequest.cs | 2 +- src/VRChat.API/Model/CreateInstanceRequest.cs | 2 +- src/VRChat.API/Model/CreateWorldRequest.cs | 2 +- src/VRChat.API/Model/CurrentUser.cs | 104 ++++++- src/VRChat.API/Model/CurrentUserPresence.cs | 2 +- src/VRChat.API/Model/DeploymentGroup.cs | 2 +- src/VRChat.API/Model/DeveloperType.cs | 2 +- src/VRChat.API/Model/DynamicContentRow.cs | 2 +- src/VRChat.API/Model/Error.cs | 2 +- src/VRChat.API/Model/Favorite.cs | 2 +- src/VRChat.API/Model/FavoriteGroup.cs | 2 +- .../Model/FavoriteGroupVisibility.cs | 2 +- src/VRChat.API/Model/FavoriteType.cs | 2 +- src/VRChat.API/Model/File.cs | 2 +- src/VRChat.API/Model/FileData.cs | 2 +- src/VRChat.API/Model/FileStatus.cs | 2 +- src/VRChat.API/Model/FileUploadURL.cs | 2 +- src/VRChat.API/Model/FileVersion.cs | 2 +- .../Model/FileVersionUploadStatus.cs | 2 +- .../Model/FinishFileDataUploadRequest.cs | 2 +- src/VRChat.API/Model/FriendStatus.cs | 2 +- src/VRChat.API/Model/Group.cs | 2 +- src/VRChat.API/Model/GroupAccessType.cs | 2 +- src/VRChat.API/Model/GroupAnnouncement.cs | 2 +- src/VRChat.API/Model/GroupAuditLogEntry.cs | 2 +- src/VRChat.API/Model/GroupGallery.cs | 2 +- src/VRChat.API/Model/GroupGalleryImage.cs | 2 +- src/VRChat.API/Model/GroupInstance.cs | 2 +- .../Model/GroupJoinRequestAction.cs | 2 +- src/VRChat.API/Model/GroupJoinState.cs | 2 +- src/VRChat.API/Model/GroupLimitedMember.cs | 2 +- src/VRChat.API/Model/GroupMember.cs | 2 +- .../Model/GroupMemberLimitedUser.cs | 2 +- src/VRChat.API/Model/GroupMemberStatus.cs | 2 +- src/VRChat.API/Model/GroupMyMember.cs | 2 +- src/VRChat.API/Model/GroupPermission.cs | 2 +- src/VRChat.API/Model/GroupPost.cs | 2 +- src/VRChat.API/Model/GroupPostVisibility.cs | 2 +- src/VRChat.API/Model/GroupPrivacy.cs | 2 +- src/VRChat.API/Model/GroupRole.cs | 2 +- src/VRChat.API/Model/GroupRoleTemplate.cs | 2 +- src/VRChat.API/Model/GroupSearchSort.cs | 2 +- src/VRChat.API/Model/GroupUserVisibility.cs | 2 +- src/VRChat.API/Model/InfoPush.cs | 2 +- src/VRChat.API/Model/InfoPushData.cs | 2 +- src/VRChat.API/Model/InfoPushDataArticle.cs | 2 +- .../Model/InfoPushDataArticleContent.cs | 2 +- src/VRChat.API/Model/InfoPushDataClickable.cs | 2 +- src/VRChat.API/Model/Instance.cs | 2 +- src/VRChat.API/Model/InstancePlatforms.cs | 2 +- .../Model/InstanceShortNameResponse.cs | 2 +- src/VRChat.API/Model/InstanceType.cs | 2 +- src/VRChat.API/Model/InviteMessage.cs | 2 +- src/VRChat.API/Model/InviteMessageType.cs | 2 +- src/VRChat.API/Model/InviteRequest.cs | 2 +- src/VRChat.API/Model/InviteResponse.cs | 2 +- src/VRChat.API/Model/License.cs | 2 +- src/VRChat.API/Model/LicenseAction.cs | 2 +- src/VRChat.API/Model/LicenseGroup.cs | 2 +- src/VRChat.API/Model/LicenseType.cs | 2 +- src/VRChat.API/Model/LimitedGroup.cs | 2 +- src/VRChat.API/Model/LimitedUnityPackage.cs | 2 +- src/VRChat.API/Model/LimitedUser.cs | 22 +- src/VRChat.API/Model/LimitedWorld.cs | 42 ++- src/VRChat.API/Model/MIMEType.cs | 2 +- src/VRChat.API/Model/ModerateUserRequest.cs | 2 +- src/VRChat.API/Model/Notification.cs | 2 +- .../Model/NotificationDetailInvite.cs | 2 +- .../Model/NotificationDetailInviteResponse.cs | 2 +- .../Model/NotificationDetailRequestInvite.cs | 2 +- ...NotificationDetailRequestInviteResponse.cs | 2 +- .../Model/NotificationDetailVoteToKick.cs | 2 +- src/VRChat.API/Model/NotificationType.cs | 2 +- src/VRChat.API/Model/OrderOption.cs | 2 +- .../Model/PaginatedGroupAuditLogEntryList.cs | 2 +- src/VRChat.API/Model/PastDisplayName.cs | 2 +- src/VRChat.API/Model/Permission.cs | 2 +- src/VRChat.API/Model/PlayerModeration.cs | 2 +- src/VRChat.API/Model/PlayerModerationType.cs | 2 +- src/VRChat.API/Model/Region.cs | 2 +- src/VRChat.API/Model/ReleaseStatus.cs | 2 +- src/VRChat.API/Model/RepresentedGroup.cs | 2 +- src/VRChat.API/Model/RequestInviteRequest.cs | 2 +- .../Model/RespondGroupJoinRequest.cs | 2 +- src/VRChat.API/Model/Response.cs | 2 +- src/VRChat.API/Model/SentNotification.cs | 2 +- src/VRChat.API/Model/SortOption.cs | 2 +- src/VRChat.API/Model/Subscription.cs | 94 +++++- src/VRChat.API/Model/SubscriptionPeriod.cs | 2 +- src/VRChat.API/Model/Success.cs | 2 +- src/VRChat.API/Model/Transaction.cs | 69 ++++- src/VRChat.API/Model/TransactionAgreement.cs | 2 +- src/VRChat.API/Model/TransactionStatus.cs | 2 +- src/VRChat.API/Model/TransactionSteamInfo.cs | 2 +- .../Model/TransactionSteamWalletInfo.cs | 2 +- src/VRChat.API/Model/TwoFactorAuthCode.cs | 2 +- src/VRChat.API/Model/TwoFactorEmailCode.cs | 2 +- src/VRChat.API/Model/UnityPackage.cs | 22 +- src/VRChat.API/Model/UpdateAvatarRequest.cs | 2 +- .../Model/UpdateFavoriteGroupRequest.cs | 2 +- .../Model/UpdateGroupGalleryRequest.cs | 2 +- .../Model/UpdateGroupMemberRequest.cs | 2 +- src/VRChat.API/Model/UpdateGroupRequest.cs | 2 +- .../Model/UpdateGroupRoleRequest.cs | 2 +- .../Model/UpdateInviteMessageRequest.cs | 2 +- src/VRChat.API/Model/UpdateUserRequest.cs | 2 +- src/VRChat.API/Model/UpdateWorldRequest.cs | 2 +- src/VRChat.API/Model/User.cs | 76 ++++- src/VRChat.API/Model/UserExists.cs | 2 +- src/VRChat.API/Model/UserState.cs | 2 +- src/VRChat.API/Model/UserStatus.cs | 2 +- src/VRChat.API/Model/UserSubscription.cs | 2 +- .../Model/Verify2FAEmailCodeResult.cs | 2 +- src/VRChat.API/Model/Verify2FAResult.cs | 2 +- src/VRChat.API/Model/VerifyAuthTokenResult.cs | 2 +- src/VRChat.API/Model/World.cs | 2 +- src/VRChat.API/Model/WorldMetadata.cs | 2 +- src/VRChat.API/Model/WorldPublishStatus.cs | 22 +- src/VRChat.API/VRChat.API.csproj | 2 +- 181 files changed, 907 insertions(+), 195 deletions(-) create mode 100644 docs/Badge.md create mode 100644 src/VRChat.API/Model/Badge.cs diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index c9ace3c3..2e282f0f 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -12,6 +12,7 @@ docs/AuthenticationApi.md docs/Avatar.md docs/AvatarUnityPackageUrlObject.md docs/AvatarsApi.md +docs/Badge.md docs/BanGroupMemberRequest.md docs/CreateAvatarRequest.md docs/CreateFileRequest.md @@ -195,6 +196,7 @@ src/VRChat.API/Model/AddFavoriteRequest.cs src/VRChat.API/Model/AddGroupGalleryImageRequest.cs src/VRChat.API/Model/Avatar.cs src/VRChat.API/Model/AvatarUnityPackageUrlObject.cs +src/VRChat.API/Model/Badge.cs src/VRChat.API/Model/BanGroupMemberRequest.cs src/VRChat.API/Model/CreateAvatarRequest.cs src/VRChat.API/Model/CreateFileRequest.cs diff --git a/docs/Badge.md b/docs/Badge.md new file mode 100644 index 00000000..7e82ac37 --- /dev/null +++ b/docs/Badge.md @@ -0,0 +1,17 @@ +# VRChat.API.Model.Badge + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AssignedAt** | **DateTime?** | only present in CurrentUser badges | [optional] +**BadgeDescription** | **string** | | +**BadgeId** | **string** | | +**BadgeImageUrl** | **string** | direct url to image | +**BadgeName** | **string** | | +**Hidden** | **bool?** | only present in CurrentUser badges | [optional] +**Showcased** | **bool** | | +**UpdatedAt** | **DateTime?** | only present in CurrentUser badges | [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) + diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index e00f4d29..523999ea 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -10,13 +10,14 @@ Name | Type | Description | Notes **AccountDeletionLog** | [**List<AccountDeletionLog>**](AccountDeletionLog.md) | | [optional] **ActiveFriends** | **List<string>** | | [optional] **AllowAvatarCopying** | **bool** | | +**Badges** | [**List<Badge>**](Badge.md) | | **Bio** | **string** | | **BioLinks** | **List<string>** | | **CurrentAvatar** | **string** | | **CurrentAvatarAssetUrl** | **string** | | **CurrentAvatarImageUrl** | **string** | When profilePicOverride is not empty, use it instead. | **CurrentAvatarThumbnailImageUrl** | **string** | When profilePicOverride is not empty, use it instead. | -**CurrentAvatarTags** | **List<string>** | | [optional] +**CurrentAvatarTags** | **List<string>** | | **DateJoined** | **DateTime** | | **DeveloperType** | **DeveloperType** | | **DisplayName** | **string** | | @@ -37,11 +38,13 @@ Name | Type | Description | Notes **IsFriend** | **bool** | | [default to false] **LastActivity** | **DateTime** | | [optional] **LastLogin** | **DateTime** | | +**LastMobile** | **DateTime?** | | **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`. | **ObfuscatedEmail** | **string** | | **ObfuscatedPendingEmail** | **string** | | **OculusId** | **string** | | **GoogleId** | **string** | | [optional] +**GoogleDetails** | **Object** | | [optional] **PicoId** | **string** | | [optional] **ViveId** | **string** | | [optional] **OfflineFriends** | **List<string>** | | [optional] @@ -49,6 +52,7 @@ Name | Type | Description | Notes **PastDisplayNames** | [**List<PastDisplayName>**](PastDisplayName.md) | | **Presence** | [**CurrentUserPresence**](CurrentUserPresence.md) | | [optional] **ProfilePicOverride** | **string** | | +**Pronouns** | **string** | | **State** | **UserState** | | **Status** | **UserStatus** | | **StatusDescription** | **string** | | diff --git a/docs/LimitedUser.md b/docs/LimitedUser.md index 3fc273de..14233cab 100644 --- a/docs/LimitedUser.md +++ b/docs/LimitedUser.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **IsFriend** | **bool** | | **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`. | **ProfilePicOverride** | **string** | | [optional] +**Pronouns** | **string** | | [optional] **Status** | **UserStatus** | | **StatusDescription** | **string** | | **Tags** | **List<string>** | <- Always empty. | diff --git a/docs/LimitedWorld.md b/docs/LimitedWorld.md index e2acb3f4..67c6edb1 100644 --- a/docs/LimitedWorld.md +++ b/docs/LimitedWorld.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **RecommendedCapacity** | **int** | | [optional] **CreatedAt** | **DateTime** | | **Favorites** | **int** | | [default to 0] +**Visits** | **int** | | [optional] [default to 0] **Heat** | **int** | | [default to 0] **Id** | **string** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **ImageUrl** | **string** | | @@ -18,6 +19,7 @@ Name | Type | Description | Notes **Occupants** | **int** | | [default to 0] **Organization** | **string** | | [default to "vrchat"] **Popularity** | **int** | | [default to 0] +**PreviewYoutubeId** | **string** | | [optional] **PublicationDate** | **string** | | **ReleaseStatus** | **ReleaseStatus** | | **Tags** | **List<string>** | | diff --git a/docs/Subscription.md b/docs/Subscription.md index fe1d437f..54bd02af 100644 --- a/docs/Subscription.md +++ b/docs/Subscription.md @@ -6,6 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **string** | | **SteamItemId** | **string** | | +**OculusSku** | **string** | | [optional] +**GoogleProductId** | **string** | | [optional] +**GooglePlanId** | **string** | | [optional] +**PicoSku** | **string** | | [optional] **Amount** | **decimal** | | **Description** | **string** | | **Period** | **SubscriptionPeriod** | | diff --git a/docs/Transaction.md b/docs/Transaction.md index c66d45b2..f230970a 100644 --- a/docs/Transaction.md +++ b/docs/Transaction.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **string** | | +**UserId** | **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] +**UserDisplayName** | **string** | | [optional] **Status** | **TransactionStatus** | | **Subscription** | [**Subscription**](Subscription.md) | | **Sandbox** | **bool** | | [default to false] @@ -13,6 +15,8 @@ Name | Type | Description | Notes **Steam** | [**TransactionSteamInfo**](TransactionSteamInfo.md) | | [optional] **Agreement** | [**TransactionAgreement**](TransactionAgreement.md) | | [optional] **Error** | **string** | | +**IsGift** | **bool** | | [optional] [default to false] +**IsTokens** | **bool** | | [optional] [default to false] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UnityPackage.md b/docs/UnityPackage.md index 5d227d87..dda0fef9 100644 --- a/docs/UnityPackage.md +++ b/docs/UnityPackage.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **UnityVersion** | **string** | | [default to "5.3.4p1"] **ImpostorUrl** | **string** | | [optional] **ScanStatus** | **string** | | [optional] +**Variant** | **string** | | [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) diff --git a/docs/User.md b/docs/User.md index ea2175f2..21b10b98 100644 --- a/docs/User.md +++ b/docs/User.md @@ -5,10 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AllowAvatarCopying** | **bool** | | [default to true] +**Badges** | [**List<Badge>**](Badge.md) | | **Bio** | **string** | | **BioLinks** | **List<string>** | | **CurrentAvatarImageUrl** | **string** | When profilePicOverride is not empty, use it instead. | **CurrentAvatarThumbnailImageUrl** | **string** | When profilePicOverride is not empty, use it instead. | +**CurrentAvatarTags** | **List<string>** | | **DateJoined** | **DateTime** | | **DeveloperType** | **DeveloperType** | | **DisplayName** | **string** | A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. | @@ -23,6 +25,7 @@ Name | Type | Description | Notes **Location** | **string** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] **Note** | **string** | | [optional] **ProfilePicOverride** | **string** | | +**Pronouns** | **string** | | **State** | **UserState** | | **Status** | **UserStatus** | | **StatusDescription** | **string** | | diff --git a/docs/WorldPublishStatus.md b/docs/WorldPublishStatus.md index 98df6d8c..37aa9839 100644 --- a/docs/WorldPublishStatus.md +++ b/docs/WorldPublishStatus.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CanPubilsh** | **bool** | | [default to true] +**CanPublish** | **bool** | | [default to true] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/VRChat.API/Api/AuthenticationApi.cs b/src/VRChat.API/Api/AuthenticationApi.cs index 26ae259e..008c51ae 100644 --- a/src/VRChat.API/Api/AuthenticationApi.cs +++ b/src/VRChat.API/Api/AuthenticationApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/AvatarsApi.cs b/src/VRChat.API/Api/AvatarsApi.cs index 7e82971c..ad2905c8 100644 --- a/src/VRChat.API/Api/AvatarsApi.cs +++ b/src/VRChat.API/Api/AvatarsApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/EconomyApi.cs b/src/VRChat.API/Api/EconomyApi.cs index 13e791be..09c6ff49 100644 --- a/src/VRChat.API/Api/EconomyApi.cs +++ b/src/VRChat.API/Api/EconomyApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/FavoritesApi.cs b/src/VRChat.API/Api/FavoritesApi.cs index 29831888..8fd911c6 100644 --- a/src/VRChat.API/Api/FavoritesApi.cs +++ b/src/VRChat.API/Api/FavoritesApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/FilesApi.cs b/src/VRChat.API/Api/FilesApi.cs index f9d4d859..4f85ae93 100644 --- a/src/VRChat.API/Api/FilesApi.cs +++ b/src/VRChat.API/Api/FilesApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/FriendsApi.cs b/src/VRChat.API/Api/FriendsApi.cs index ce8c7d9e..f0687d40 100644 --- a/src/VRChat.API/Api/FriendsApi.cs +++ b/src/VRChat.API/Api/FriendsApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/GroupsApi.cs b/src/VRChat.API/Api/GroupsApi.cs index 6712ce23..92acc002 100644 --- a/src/VRChat.API/Api/GroupsApi.cs +++ b/src/VRChat.API/Api/GroupsApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/InstancesApi.cs b/src/VRChat.API/Api/InstancesApi.cs index 615d7f76..eef538e3 100644 --- a/src/VRChat.API/Api/InstancesApi.cs +++ b/src/VRChat.API/Api/InstancesApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/InviteApi.cs b/src/VRChat.API/Api/InviteApi.cs index a820ff4b..94dc27cc 100644 --- a/src/VRChat.API/Api/InviteApi.cs +++ b/src/VRChat.API/Api/InviteApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/NotificationsApi.cs b/src/VRChat.API/Api/NotificationsApi.cs index 68725f35..5fe349a1 100644 --- a/src/VRChat.API/Api/NotificationsApi.cs +++ b/src/VRChat.API/Api/NotificationsApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/PermissionsApi.cs b/src/VRChat.API/Api/PermissionsApi.cs index 180cd6af..2baace45 100644 --- a/src/VRChat.API/Api/PermissionsApi.cs +++ b/src/VRChat.API/Api/PermissionsApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/PlayermoderationApi.cs b/src/VRChat.API/Api/PlayermoderationApi.cs index ad50b9c9..e3d6f2af 100644 --- a/src/VRChat.API/Api/PlayermoderationApi.cs +++ b/src/VRChat.API/Api/PlayermoderationApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/SystemApi.cs b/src/VRChat.API/Api/SystemApi.cs index e4086b68..0b24e54e 100644 --- a/src/VRChat.API/Api/SystemApi.cs +++ b/src/VRChat.API/Api/SystemApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/UsersApi.cs b/src/VRChat.API/Api/UsersApi.cs index 8b3266b2..26ef951c 100644 --- a/src/VRChat.API/Api/UsersApi.cs +++ b/src/VRChat.API/Api/UsersApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Api/WorldsApi.cs b/src/VRChat.API/Api/WorldsApi.cs index 0232e3b5..fe08e3e5 100644 --- a/src/VRChat.API/Api/WorldsApi.cs +++ b/src/VRChat.API/Api/WorldsApi.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/ApiClient.cs b/src/VRChat.API/Client/ApiClient.cs index 6aefdd07..e19bb6f0 100644 --- a/src/VRChat.API/Client/ApiClient.cs +++ b/src/VRChat.API/Client/ApiClient.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/ApiException.cs b/src/VRChat.API/Client/ApiException.cs index f2a44454..4ab33722 100644 --- a/src/VRChat.API/Client/ApiException.cs +++ b/src/VRChat.API/Client/ApiException.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/ApiResponse.cs b/src/VRChat.API/Client/ApiResponse.cs index d1eb26be..0926e479 100644 --- a/src/VRChat.API/Client/ApiResponse.cs +++ b/src/VRChat.API/Client/ApiResponse.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/ClientUtils.cs b/src/VRChat.API/Client/ClientUtils.cs index de43a3e7..65592e39 100644 --- a/src/VRChat.API/Client/ClientUtils.cs +++ b/src/VRChat.API/Client/ClientUtils.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/Configuration.cs b/src/VRChat.API/Client/Configuration.cs index 5278d03a..4dbff049 100644 --- a/src/VRChat.API/Client/Configuration.cs +++ b/src/VRChat.API/Client/Configuration.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -32,7 +32,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "1.17.3"; + public const string Version = "1.17.4"; /// /// Identifier for ISO 8601 DateTime Format @@ -516,8 +516,8 @@ public static string ToDebugReport() string report = "C# SDK (VRChat.API) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; - report += " Version of the API: 1.17.3\n"; - report += " SDK Package Version: 1.17.3\n"; + report += " Version of the API: 1.17.4\n"; + report += " SDK Package Version: 1.17.4\n"; return report; } diff --git a/src/VRChat.API/Client/ExceptionFactory.cs b/src/VRChat.API/Client/ExceptionFactory.cs index cc862082..c8c3d790 100644 --- a/src/VRChat.API/Client/ExceptionFactory.cs +++ b/src/VRChat.API/Client/ExceptionFactory.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/GlobalConfiguration.cs b/src/VRChat.API/Client/GlobalConfiguration.cs index a0901eda..1919e6d1 100644 --- a/src/VRChat.API/Client/GlobalConfiguration.cs +++ b/src/VRChat.API/Client/GlobalConfiguration.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/HttpMethod.cs b/src/VRChat.API/Client/HttpMethod.cs index a7db596c..f53e54d3 100644 --- a/src/VRChat.API/Client/HttpMethod.cs +++ b/src/VRChat.API/Client/HttpMethod.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/IApiAccessor.cs b/src/VRChat.API/Client/IApiAccessor.cs index 5e61d3a3..d27228bd 100644 --- a/src/VRChat.API/Client/IApiAccessor.cs +++ b/src/VRChat.API/Client/IApiAccessor.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/IAsynchronousClient.cs b/src/VRChat.API/Client/IAsynchronousClient.cs index 6836355c..c84d4008 100644 --- a/src/VRChat.API/Client/IAsynchronousClient.cs +++ b/src/VRChat.API/Client/IAsynchronousClient.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/IReadableConfiguration.cs b/src/VRChat.API/Client/IReadableConfiguration.cs index 9e60cfe7..7b28308a 100644 --- a/src/VRChat.API/Client/IReadableConfiguration.cs +++ b/src/VRChat.API/Client/IReadableConfiguration.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/ISynchronousClient.cs b/src/VRChat.API/Client/ISynchronousClient.cs index 60ff9c92..a18aed9b 100644 --- a/src/VRChat.API/Client/ISynchronousClient.cs +++ b/src/VRChat.API/Client/ISynchronousClient.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/Multimap.cs b/src/VRChat.API/Client/Multimap.cs index 5f4d1223..cc6a82ee 100644 --- a/src/VRChat.API/Client/Multimap.cs +++ b/src/VRChat.API/Client/Multimap.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/OpenAPIDateConverter.cs b/src/VRChat.API/Client/OpenAPIDateConverter.cs index 325df7bf..6734c074 100644 --- a/src/VRChat.API/Client/OpenAPIDateConverter.cs +++ b/src/VRChat.API/Client/OpenAPIDateConverter.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/RequestOptions.cs b/src/VRChat.API/Client/RequestOptions.cs index be117bc4..e642fbf0 100644 --- a/src/VRChat.API/Client/RequestOptions.cs +++ b/src/VRChat.API/Client/RequestOptions.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Client/RetryConfiguration.cs b/src/VRChat.API/Client/RetryConfiguration.cs index 4374ed94..d684af5b 100644 --- a/src/VRChat.API/Client/RetryConfiguration.cs +++ b/src/VRChat.API/Client/RetryConfiguration.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/APIConfig.cs b/src/VRChat.API/Model/APIConfig.cs index 4736a13a..a8b0a652 100644 --- a/src/VRChat.API/Model/APIConfig.cs +++ b/src/VRChat.API/Model/APIConfig.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/APIConfigAnnouncement.cs b/src/VRChat.API/Model/APIConfigAnnouncement.cs index 9aff2b3b..98d2f077 100644 --- a/src/VRChat.API/Model/APIConfigAnnouncement.cs +++ b/src/VRChat.API/Model/APIConfigAnnouncement.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/APIConfigDownloadURLList.cs b/src/VRChat.API/Model/APIConfigDownloadURLList.cs index 22843564..a7cca94d 100644 --- a/src/VRChat.API/Model/APIConfigDownloadURLList.cs +++ b/src/VRChat.API/Model/APIConfigDownloadURLList.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/APIConfigEvents.cs b/src/VRChat.API/Model/APIConfigEvents.cs index 7d3edb29..0a9990cd 100644 --- a/src/VRChat.API/Model/APIConfigEvents.cs +++ b/src/VRChat.API/Model/APIConfigEvents.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/APIHealth.cs b/src/VRChat.API/Model/APIHealth.cs index 0b9c30a7..922fe622 100644 --- a/src/VRChat.API/Model/APIHealth.cs +++ b/src/VRChat.API/Model/APIHealth.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/AbstractOpenAPISchema.cs b/src/VRChat.API/Model/AbstractOpenAPISchema.cs index f12f79fe..fe429fc0 100644 --- a/src/VRChat.API/Model/AbstractOpenAPISchema.cs +++ b/src/VRChat.API/Model/AbstractOpenAPISchema.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/AccountDeletionLog.cs b/src/VRChat.API/Model/AccountDeletionLog.cs index 2b6b7b6c..757e0ed0 100644 --- a/src/VRChat.API/Model/AccountDeletionLog.cs +++ b/src/VRChat.API/Model/AccountDeletionLog.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/AddFavoriteRequest.cs b/src/VRChat.API/Model/AddFavoriteRequest.cs index 1192aa45..7d6559d7 100644 --- a/src/VRChat.API/Model/AddFavoriteRequest.cs +++ b/src/VRChat.API/Model/AddFavoriteRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/AddGroupGalleryImageRequest.cs b/src/VRChat.API/Model/AddGroupGalleryImageRequest.cs index 41b508f2..c099c151 100644 --- a/src/VRChat.API/Model/AddGroupGalleryImageRequest.cs +++ b/src/VRChat.API/Model/AddGroupGalleryImageRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Avatar.cs b/src/VRChat.API/Model/Avatar.cs index a4c3dbed..54ffe58f 100644 --- a/src/VRChat.API/Model/Avatar.cs +++ b/src/VRChat.API/Model/Avatar.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/AvatarUnityPackageUrlObject.cs b/src/VRChat.API/Model/AvatarUnityPackageUrlObject.cs index 6e714427..00a69e43 100644 --- a/src/VRChat.API/Model/AvatarUnityPackageUrlObject.cs +++ b/src/VRChat.API/Model/AvatarUnityPackageUrlObject.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Badge.cs b/src/VRChat.API/Model/Badge.cs new file mode 100644 index 00000000..955fd2cf --- /dev/null +++ b/src/VRChat.API/Model/Badge.cs @@ -0,0 +1,279 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.17.4 + * Contact: vrchatapi.lpv0t@aries.fyi + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = VRChat.API.Client.OpenAPIDateConverter; + +namespace VRChat.API.Model +{ + /// + /// Badge + /// + [DataContract(Name = "Badge")] + public partial class Badge : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Badge() { } + /// + /// Initializes a new instance of the class. + /// + /// only present in CurrentUser badges. + /// badgeDescription (required). + /// badgeId (required). + /// direct url to image (required). + /// badgeName (required). + /// only present in CurrentUser badges. + /// showcased (required). + /// only present in CurrentUser badges. + public Badge(DateTime? assignedAt = default(DateTime?), string badgeDescription = default(string), string badgeId = default(string), string badgeImageUrl = default(string), string badgeName = default(string), bool? hidden = default(bool?), bool showcased = default(bool), DateTime? updatedAt = default(DateTime?)) + { + // to ensure "badgeDescription" is required (not null) + if (badgeDescription == null) + { + throw new ArgumentNullException("badgeDescription is a required property for Badge and cannot be null"); + } + this.BadgeDescription = badgeDescription; + // to ensure "badgeId" is required (not null) + if (badgeId == null) + { + throw new ArgumentNullException("badgeId is a required property for Badge and cannot be null"); + } + this.BadgeId = badgeId; + // to ensure "badgeImageUrl" is required (not null) + if (badgeImageUrl == null) + { + throw new ArgumentNullException("badgeImageUrl is a required property for Badge and cannot be null"); + } + this.BadgeImageUrl = badgeImageUrl; + // to ensure "badgeName" is required (not null) + if (badgeName == null) + { + throw new ArgumentNullException("badgeName is a required property for Badge and cannot be null"); + } + this.BadgeName = badgeName; + this.Showcased = showcased; + this.AssignedAt = assignedAt; + this.Hidden = hidden; + this.UpdatedAt = updatedAt; + } + + /// + /// only present in CurrentUser badges + /// + /// only present in CurrentUser badges + [DataMember(Name = "assignedAt", EmitDefaultValue = true)] + public DateTime? AssignedAt { get; set; } + + /// + /// Gets or Sets BadgeDescription + /// + [DataMember(Name = "badgeDescription", IsRequired = true, EmitDefaultValue = true)] + public string BadgeDescription { get; set; } + + /// + /// Gets or Sets BadgeId + /// + [DataMember(Name = "badgeId", IsRequired = true, EmitDefaultValue = true)] + public string BadgeId { get; set; } + + /// + /// direct url to image + /// + /// direct url to image + [DataMember(Name = "badgeImageUrl", IsRequired = true, EmitDefaultValue = true)] + public string BadgeImageUrl { get; set; } + + /// + /// Gets or Sets BadgeName + /// + [DataMember(Name = "badgeName", IsRequired = true, EmitDefaultValue = true)] + public string BadgeName { get; set; } + + /// + /// only present in CurrentUser badges + /// + /// only present in CurrentUser badges + [DataMember(Name = "hidden", EmitDefaultValue = true)] + public bool? Hidden { get; set; } + + /// + /// Gets or Sets Showcased + /// + [DataMember(Name = "showcased", IsRequired = true, EmitDefaultValue = true)] + public bool Showcased { get; set; } + + /// + /// only present in CurrentUser badges + /// + /// only present in CurrentUser badges + [DataMember(Name = "updatedAt", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class Badge {\n"); + sb.Append(" AssignedAt: ").Append(AssignedAt).Append("\n"); + sb.Append(" BadgeDescription: ").Append(BadgeDescription).Append("\n"); + sb.Append(" BadgeId: ").Append(BadgeId).Append("\n"); + sb.Append(" BadgeImageUrl: ").Append(BadgeImageUrl).Append("\n"); + sb.Append(" BadgeName: ").Append(BadgeName).Append("\n"); + sb.Append(" Hidden: ").Append(Hidden).Append("\n"); + sb.Append(" Showcased: ").Append(Showcased).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Badge); + } + + /// + /// Returns true if Badge instances are equal + /// + /// Instance of Badge to be compared + /// Boolean + public bool Equals(Badge input) + { + if (input == null) + { + return false; + } + return + ( + this.AssignedAt == input.AssignedAt || + (this.AssignedAt != null && + this.AssignedAt.Equals(input.AssignedAt)) + ) && + ( + this.BadgeDescription == input.BadgeDescription || + (this.BadgeDescription != null && + this.BadgeDescription.Equals(input.BadgeDescription)) + ) && + ( + this.BadgeId == input.BadgeId || + (this.BadgeId != null && + this.BadgeId.Equals(input.BadgeId)) + ) && + ( + this.BadgeImageUrl == input.BadgeImageUrl || + (this.BadgeImageUrl != null && + this.BadgeImageUrl.Equals(input.BadgeImageUrl)) + ) && + ( + this.BadgeName == input.BadgeName || + (this.BadgeName != null && + this.BadgeName.Equals(input.BadgeName)) + ) && + ( + this.Hidden == input.Hidden || + (this.Hidden != null && + this.Hidden.Equals(input.Hidden)) + ) && + ( + this.Showcased == input.Showcased || + this.Showcased.Equals(input.Showcased) + ) && + ( + this.UpdatedAt == input.UpdatedAt || + (this.UpdatedAt != null && + this.UpdatedAt.Equals(input.UpdatedAt)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AssignedAt != null) + { + hashCode = (hashCode * 59) + this.AssignedAt.GetHashCode(); + } + if (this.BadgeDescription != null) + { + hashCode = (hashCode * 59) + this.BadgeDescription.GetHashCode(); + } + if (this.BadgeId != null) + { + hashCode = (hashCode * 59) + this.BadgeId.GetHashCode(); + } + if (this.BadgeImageUrl != null) + { + hashCode = (hashCode * 59) + this.BadgeImageUrl.GetHashCode(); + } + if (this.BadgeName != null) + { + hashCode = (hashCode * 59) + this.BadgeName.GetHashCode(); + } + if (this.Hidden != null) + { + hashCode = (hashCode * 59) + this.Hidden.GetHashCode(); + } + hashCode = (hashCode * 59) + this.Showcased.GetHashCode(); + if (this.UpdatedAt != null) + { + hashCode = (hashCode * 59) + this.UpdatedAt.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/VRChat.API/Model/BanGroupMemberRequest.cs b/src/VRChat.API/Model/BanGroupMemberRequest.cs index cbf480e1..eda6b948 100644 --- a/src/VRChat.API/Model/BanGroupMemberRequest.cs +++ b/src/VRChat.API/Model/BanGroupMemberRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CreateAvatarRequest.cs b/src/VRChat.API/Model/CreateAvatarRequest.cs index 62cea46c..97134cef 100644 --- a/src/VRChat.API/Model/CreateAvatarRequest.cs +++ b/src/VRChat.API/Model/CreateAvatarRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CreateFileRequest.cs b/src/VRChat.API/Model/CreateFileRequest.cs index e5b3431e..ac5047b6 100644 --- a/src/VRChat.API/Model/CreateFileRequest.cs +++ b/src/VRChat.API/Model/CreateFileRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CreateFileVersionRequest.cs b/src/VRChat.API/Model/CreateFileVersionRequest.cs index eff1c5ef..40bcf23b 100644 --- a/src/VRChat.API/Model/CreateFileVersionRequest.cs +++ b/src/VRChat.API/Model/CreateFileVersionRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CreateGroupAnnouncementRequest.cs b/src/VRChat.API/Model/CreateGroupAnnouncementRequest.cs index 28506cf4..aa8e0246 100644 --- a/src/VRChat.API/Model/CreateGroupAnnouncementRequest.cs +++ b/src/VRChat.API/Model/CreateGroupAnnouncementRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CreateGroupGalleryRequest.cs b/src/VRChat.API/Model/CreateGroupGalleryRequest.cs index d81e2d42..beafad27 100644 --- a/src/VRChat.API/Model/CreateGroupGalleryRequest.cs +++ b/src/VRChat.API/Model/CreateGroupGalleryRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CreateGroupInviteRequest.cs b/src/VRChat.API/Model/CreateGroupInviteRequest.cs index 5e4a3d64..27783337 100644 --- a/src/VRChat.API/Model/CreateGroupInviteRequest.cs +++ b/src/VRChat.API/Model/CreateGroupInviteRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CreateGroupPostRequest.cs b/src/VRChat.API/Model/CreateGroupPostRequest.cs index e6a7be13..35c967c8 100644 --- a/src/VRChat.API/Model/CreateGroupPostRequest.cs +++ b/src/VRChat.API/Model/CreateGroupPostRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CreateGroupRequest.cs b/src/VRChat.API/Model/CreateGroupRequest.cs index 68eae627..2bcb1b3a 100644 --- a/src/VRChat.API/Model/CreateGroupRequest.cs +++ b/src/VRChat.API/Model/CreateGroupRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CreateGroupRoleRequest.cs b/src/VRChat.API/Model/CreateGroupRoleRequest.cs index c4926d5d..16e4a989 100644 --- a/src/VRChat.API/Model/CreateGroupRoleRequest.cs +++ b/src/VRChat.API/Model/CreateGroupRoleRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CreateInstanceRequest.cs b/src/VRChat.API/Model/CreateInstanceRequest.cs index c5302967..0f4499b3 100644 --- a/src/VRChat.API/Model/CreateInstanceRequest.cs +++ b/src/VRChat.API/Model/CreateInstanceRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CreateWorldRequest.cs b/src/VRChat.API/Model/CreateWorldRequest.cs index 8f920e94..3cbddc23 100644 --- a/src/VRChat.API/Model/CreateWorldRequest.cs +++ b/src/VRChat.API/Model/CreateWorldRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CurrentUser.cs b/src/VRChat.API/Model/CurrentUser.cs index 723741b2..9dcae813 100644 --- a/src/VRChat.API/Model/CurrentUser.cs +++ b/src/VRChat.API/Model/CurrentUser.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -63,13 +63,14 @@ protected CurrentUser() { } /// . /// . /// allowAvatarCopying (required). + /// (required). /// bio (required). /// (required). /// currentAvatar (required). /// currentAvatarAssetUrl (required). /// When profilePicOverride is not empty, use it instead. (required). /// When profilePicOverride is not empty, use it instead. (required). - /// currentAvatarTags. + /// currentAvatarTags (required). /// dateJoined (required). /// developerType (required). /// displayName (required). @@ -90,11 +91,13 @@ protected CurrentUser() { } /// isFriend (required) (default to false). /// lastActivity. /// lastLogin (required). + /// lastMobile (required). /// 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`. (required). /// obfuscatedEmail (required). /// obfuscatedPendingEmail (required). /// oculusId (required). /// googleId. + /// googleDetails. /// picoId. /// viveId. /// offlineFriends. @@ -102,6 +105,7 @@ protected CurrentUser() { } /// (required). /// presence. /// profilePicOverride (required). + /// pronouns (required). /// state (required). /// status (required). /// statusDescription (required). @@ -116,10 +120,16 @@ protected CurrentUser() { } /// updatedAt. /// userIcon (required). /// -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. - public CurrentUser(int acceptedTOSVersion = default(int), int acceptedPrivacyVersion = default(int), DateTime? accountDeletionDate = default(DateTime?), List accountDeletionLog = default(List), List activeFriends = default(List), bool allowAvatarCopying = default(bool), string bio = default(string), List bioLinks = default(List), string currentAvatar = default(string), string currentAvatarAssetUrl = default(string), string currentAvatarImageUrl = default(string), string currentAvatarThumbnailImageUrl = default(string), List currentAvatarTags = default(List), DateTime dateJoined = default(DateTime), DeveloperType developerType = default(DeveloperType), string displayName = default(string), bool emailVerified = default(bool), string fallbackAvatar = default(string), List friendGroupNames = default(List), string friendKey = default(string), List friends = default(List), bool hasBirthday = default(bool), bool hideContentFilterSettings = default(bool), string userLanguage = default(string), string userLanguageCode = default(string), bool hasEmail = default(bool), bool hasLoggedInFromClient = default(bool), bool hasPendingEmail = default(bool), string homeLocation = default(string), string id = default(string), bool isFriend = false, DateTime lastActivity = default(DateTime), DateTime lastLogin = default(DateTime), string lastPlatform = default(string), string obfuscatedEmail = default(string), string obfuscatedPendingEmail = default(string), string oculusId = default(string), string googleId = default(string), string picoId = default(string), string viveId = default(string), List offlineFriends = default(List), List onlineFriends = default(List), List pastDisplayNames = default(List), CurrentUserPresence presence = default(CurrentUserPresence), string profilePicOverride = default(string), UserState state = default(UserState), UserStatus status = default(UserStatus), string statusDescription = default(string), bool statusFirstTime = default(bool), List statusHistory = default(List), Object steamDetails = default(Object), string steamId = default(string), List tags = default(List), bool twoFactorAuthEnabled = default(bool), DateTime? twoFactorAuthEnabledDate = default(DateTime?), bool unsubscribe = default(bool), DateTime updatedAt = default(DateTime), string userIcon = default(string), string username = default(string)) + public CurrentUser(int acceptedTOSVersion = default(int), int acceptedPrivacyVersion = default(int), DateTime? accountDeletionDate = default(DateTime?), List accountDeletionLog = default(List), List activeFriends = default(List), bool allowAvatarCopying = default(bool), List badges = default(List), string bio = default(string), List bioLinks = default(List), string currentAvatar = default(string), string currentAvatarAssetUrl = default(string), string currentAvatarImageUrl = default(string), string currentAvatarThumbnailImageUrl = default(string), List currentAvatarTags = default(List), DateTime dateJoined = default(DateTime), DeveloperType developerType = default(DeveloperType), string displayName = default(string), bool emailVerified = default(bool), string fallbackAvatar = default(string), List friendGroupNames = default(List), string friendKey = default(string), List friends = default(List), bool hasBirthday = default(bool), bool hideContentFilterSettings = default(bool), string userLanguage = default(string), string userLanguageCode = default(string), bool hasEmail = default(bool), bool hasLoggedInFromClient = default(bool), bool hasPendingEmail = default(bool), string homeLocation = default(string), string id = default(string), bool isFriend = false, DateTime lastActivity = default(DateTime), DateTime lastLogin = default(DateTime), DateTime? lastMobile = default(DateTime?), string lastPlatform = default(string), string obfuscatedEmail = default(string), string obfuscatedPendingEmail = default(string), string oculusId = default(string), string googleId = default(string), Object googleDetails = default(Object), string picoId = default(string), string viveId = default(string), List offlineFriends = default(List), List onlineFriends = default(List), List pastDisplayNames = default(List), CurrentUserPresence presence = default(CurrentUserPresence), string profilePicOverride = default(string), string pronouns = default(string), UserState state = default(UserState), UserStatus status = default(UserStatus), string statusDescription = default(string), bool statusFirstTime = default(bool), List statusHistory = default(List), Object steamDetails = default(Object), string steamId = default(string), List tags = default(List), bool twoFactorAuthEnabled = default(bool), DateTime? twoFactorAuthEnabledDate = default(DateTime?), bool unsubscribe = default(bool), DateTime updatedAt = default(DateTime), string userIcon = default(string), string username = default(string)) { this.AcceptedTOSVersion = acceptedTOSVersion; this.AllowAvatarCopying = allowAvatarCopying; + // to ensure "badges" is required (not null) + if (badges == null) + { + throw new ArgumentNullException("badges is a required property for CurrentUser and cannot be null"); + } + this.Badges = badges; // to ensure "bio" is required (not null) if (bio == null) { @@ -156,6 +166,12 @@ protected CurrentUser() { } throw new ArgumentNullException("currentAvatarThumbnailImageUrl is a required property for CurrentUser and cannot be null"); } this.CurrentAvatarThumbnailImageUrl = currentAvatarThumbnailImageUrl; + // to ensure "currentAvatarTags" is required (not null) + if (currentAvatarTags == null) + { + throw new ArgumentNullException("currentAvatarTags is a required property for CurrentUser and cannot be null"); + } + this.CurrentAvatarTags = currentAvatarTags; this.DateJoined = dateJoined; this.DeveloperType = developerType; // to ensure "displayName" is required (not null) @@ -201,6 +217,12 @@ protected CurrentUser() { } this.Id = id; this.IsFriend = isFriend; this.LastLogin = lastLogin; + // to ensure "lastMobile" is required (not null) + if (lastMobile == null) + { + throw new ArgumentNullException("lastMobile is a required property for CurrentUser and cannot be null"); + } + this.LastMobile = lastMobile; // to ensure "lastPlatform" is required (not null) if (lastPlatform == null) { @@ -237,6 +259,12 @@ protected CurrentUser() { } throw new ArgumentNullException("profilePicOverride is a required property for CurrentUser and cannot be null"); } this.ProfilePicOverride = profilePicOverride; + // to ensure "pronouns" is required (not null) + if (pronouns == null) + { + throw new ArgumentNullException("pronouns is a required property for CurrentUser and cannot be null"); + } + this.Pronouns = pronouns; this.State = state; this.Status = status; // to ensure "statusDescription" is required (not null) @@ -282,13 +310,13 @@ protected CurrentUser() { } this.AccountDeletionDate = accountDeletionDate; this.AccountDeletionLog = accountDeletionLog; this.ActiveFriends = activeFriends; - this.CurrentAvatarTags = currentAvatarTags; this.FallbackAvatar = fallbackAvatar; this.HideContentFilterSettings = hideContentFilterSettings; this.UserLanguage = userLanguage; this.UserLanguageCode = userLanguageCode; this.LastActivity = lastActivity; this.GoogleId = googleId; + this.GoogleDetails = googleDetails; this.PicoId = picoId; this.ViveId = viveId; this.OfflineFriends = offlineFriends; @@ -338,6 +366,13 @@ protected CurrentUser() { } [DataMember(Name = "allowAvatarCopying", IsRequired = true, EmitDefaultValue = true)] public bool AllowAvatarCopying { get; set; } + /// + /// + /// + /// + [DataMember(Name = "badges", IsRequired = true, EmitDefaultValue = true)] + public List Badges { get; set; } + /// /// Gets or Sets Bio /// @@ -380,7 +415,7 @@ protected CurrentUser() { } /// /// Gets or Sets CurrentAvatarTags /// - [DataMember(Name = "currentAvatarTags", EmitDefaultValue = false)] + [DataMember(Name = "currentAvatarTags", IsRequired = true, EmitDefaultValue = true)] public List CurrentAvatarTags { get; set; } /// @@ -502,6 +537,12 @@ protected CurrentUser() { } [DataMember(Name = "last_login", IsRequired = true, EmitDefaultValue = true)] public DateTime LastLogin { get; set; } + /// + /// Gets or Sets LastMobile + /// + [DataMember(Name = "last_mobile", IsRequired = true, EmitDefaultValue = true)] + public DateTime? LastMobile { get; set; } + /// /// 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`. /// @@ -533,6 +574,12 @@ protected CurrentUser() { } [DataMember(Name = "googleId", EmitDefaultValue = false)] public string GoogleId { get; set; } + /// + /// Gets or Sets GoogleDetails + /// + [DataMember(Name = "googleDetails", EmitDefaultValue = false)] + public Object GoogleDetails { get; set; } + /// /// Gets or Sets PicoId /// @@ -576,6 +623,12 @@ protected CurrentUser() { } [DataMember(Name = "profilePicOverride", IsRequired = true, EmitDefaultValue = true)] public string ProfilePicOverride { get; set; } + /// + /// Gets or Sets Pronouns + /// + [DataMember(Name = "pronouns", IsRequired = true, EmitDefaultValue = true)] + public string Pronouns { get; set; } + /// /// Gets or Sets StatusDescription /// @@ -664,6 +717,7 @@ public override string ToString() sb.Append(" AccountDeletionLog: ").Append(AccountDeletionLog).Append("\n"); sb.Append(" ActiveFriends: ").Append(ActiveFriends).Append("\n"); sb.Append(" AllowAvatarCopying: ").Append(AllowAvatarCopying).Append("\n"); + sb.Append(" Badges: ").Append(Badges).Append("\n"); sb.Append(" Bio: ").Append(Bio).Append("\n"); sb.Append(" BioLinks: ").Append(BioLinks).Append("\n"); sb.Append(" CurrentAvatar: ").Append(CurrentAvatar).Append("\n"); @@ -691,11 +745,13 @@ public override string ToString() sb.Append(" IsFriend: ").Append(IsFriend).Append("\n"); sb.Append(" LastActivity: ").Append(LastActivity).Append("\n"); sb.Append(" LastLogin: ").Append(LastLogin).Append("\n"); + sb.Append(" LastMobile: ").Append(LastMobile).Append("\n"); sb.Append(" LastPlatform: ").Append(LastPlatform).Append("\n"); sb.Append(" ObfuscatedEmail: ").Append(ObfuscatedEmail).Append("\n"); sb.Append(" ObfuscatedPendingEmail: ").Append(ObfuscatedPendingEmail).Append("\n"); sb.Append(" OculusId: ").Append(OculusId).Append("\n"); sb.Append(" GoogleId: ").Append(GoogleId).Append("\n"); + sb.Append(" GoogleDetails: ").Append(GoogleDetails).Append("\n"); sb.Append(" PicoId: ").Append(PicoId).Append("\n"); sb.Append(" ViveId: ").Append(ViveId).Append("\n"); sb.Append(" OfflineFriends: ").Append(OfflineFriends).Append("\n"); @@ -703,6 +759,7 @@ public override string ToString() sb.Append(" PastDisplayNames: ").Append(PastDisplayNames).Append("\n"); sb.Append(" Presence: ").Append(Presence).Append("\n"); sb.Append(" ProfilePicOverride: ").Append(ProfilePicOverride).Append("\n"); + sb.Append(" Pronouns: ").Append(Pronouns).Append("\n"); sb.Append(" State: ").Append(State).Append("\n"); sb.Append(" Status: ").Append(Status).Append("\n"); sb.Append(" StatusDescription: ").Append(StatusDescription).Append("\n"); @@ -781,6 +838,12 @@ public bool Equals(CurrentUser input) this.AllowAvatarCopying == input.AllowAvatarCopying || this.AllowAvatarCopying.Equals(input.AllowAvatarCopying) ) && + ( + this.Badges == input.Badges || + this.Badges != null && + input.Badges != null && + this.Badges.SequenceEqual(input.Badges) + ) && ( this.Bio == input.Bio || (this.Bio != null && @@ -912,6 +975,11 @@ public bool Equals(CurrentUser input) (this.LastLogin != null && this.LastLogin.Equals(input.LastLogin)) ) && + ( + this.LastMobile == input.LastMobile || + (this.LastMobile != null && + this.LastMobile.Equals(input.LastMobile)) + ) && ( this.LastPlatform == input.LastPlatform || (this.LastPlatform != null && @@ -937,6 +1005,11 @@ public bool Equals(CurrentUser input) (this.GoogleId != null && this.GoogleId.Equals(input.GoogleId)) ) && + ( + this.GoogleDetails == input.GoogleDetails || + (this.GoogleDetails != null && + this.GoogleDetails.Equals(input.GoogleDetails)) + ) && ( this.PicoId == input.PicoId || (this.PicoId != null && @@ -975,6 +1048,11 @@ public bool Equals(CurrentUser input) (this.ProfilePicOverride != null && this.ProfilePicOverride.Equals(input.ProfilePicOverride)) ) && + ( + this.Pronouns == input.Pronouns || + (this.Pronouns != null && + this.Pronouns.Equals(input.Pronouns)) + ) && ( this.State == input.State || this.State.Equals(input.State) @@ -1068,6 +1146,10 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.ActiveFriends.GetHashCode(); } hashCode = (hashCode * 59) + this.AllowAvatarCopying.GetHashCode(); + if (this.Badges != null) + { + hashCode = (hashCode * 59) + this.Badges.GetHashCode(); + } if (this.Bio != null) { hashCode = (hashCode * 59) + this.Bio.GetHashCode(); @@ -1152,6 +1234,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.LastLogin.GetHashCode(); } + if (this.LastMobile != null) + { + hashCode = (hashCode * 59) + this.LastMobile.GetHashCode(); + } if (this.LastPlatform != null) { hashCode = (hashCode * 59) + this.LastPlatform.GetHashCode(); @@ -1172,6 +1258,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.GoogleId.GetHashCode(); } + if (this.GoogleDetails != null) + { + hashCode = (hashCode * 59) + this.GoogleDetails.GetHashCode(); + } if (this.PicoId != null) { hashCode = (hashCode * 59) + this.PicoId.GetHashCode(); @@ -1200,6 +1290,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.ProfilePicOverride.GetHashCode(); } + if (this.Pronouns != null) + { + hashCode = (hashCode * 59) + this.Pronouns.GetHashCode(); + } hashCode = (hashCode * 59) + this.State.GetHashCode(); hashCode = (hashCode * 59) + this.Status.GetHashCode(); if (this.StatusDescription != null) diff --git a/src/VRChat.API/Model/CurrentUserPresence.cs b/src/VRChat.API/Model/CurrentUserPresence.cs index cfd4c14d..60f6ca90 100644 --- a/src/VRChat.API/Model/CurrentUserPresence.cs +++ b/src/VRChat.API/Model/CurrentUserPresence.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/DeploymentGroup.cs b/src/VRChat.API/Model/DeploymentGroup.cs index 8913b525..b00512f3 100644 --- a/src/VRChat.API/Model/DeploymentGroup.cs +++ b/src/VRChat.API/Model/DeploymentGroup.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/DeveloperType.cs b/src/VRChat.API/Model/DeveloperType.cs index 674c336b..f8b3b55e 100644 --- a/src/VRChat.API/Model/DeveloperType.cs +++ b/src/VRChat.API/Model/DeveloperType.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/DynamicContentRow.cs b/src/VRChat.API/Model/DynamicContentRow.cs index 7e89537b..51c87bc8 100644 --- a/src/VRChat.API/Model/DynamicContentRow.cs +++ b/src/VRChat.API/Model/DynamicContentRow.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Error.cs b/src/VRChat.API/Model/Error.cs index 979f2ecb..1d52b0ca 100644 --- a/src/VRChat.API/Model/Error.cs +++ b/src/VRChat.API/Model/Error.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Favorite.cs b/src/VRChat.API/Model/Favorite.cs index ebe1ba2c..b06af6b3 100644 --- a/src/VRChat.API/Model/Favorite.cs +++ b/src/VRChat.API/Model/Favorite.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/FavoriteGroup.cs b/src/VRChat.API/Model/FavoriteGroup.cs index b1dc991b..5a0db200 100644 --- a/src/VRChat.API/Model/FavoriteGroup.cs +++ b/src/VRChat.API/Model/FavoriteGroup.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/FavoriteGroupVisibility.cs b/src/VRChat.API/Model/FavoriteGroupVisibility.cs index 744a6774..306c4f4c 100644 --- a/src/VRChat.API/Model/FavoriteGroupVisibility.cs +++ b/src/VRChat.API/Model/FavoriteGroupVisibility.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/FavoriteType.cs b/src/VRChat.API/Model/FavoriteType.cs index b62b8f4e..4eb75614 100644 --- a/src/VRChat.API/Model/FavoriteType.cs +++ b/src/VRChat.API/Model/FavoriteType.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/File.cs b/src/VRChat.API/Model/File.cs index f4217826..f8ae16ff 100644 --- a/src/VRChat.API/Model/File.cs +++ b/src/VRChat.API/Model/File.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/FileData.cs b/src/VRChat.API/Model/FileData.cs index 6da89244..6e637e84 100644 --- a/src/VRChat.API/Model/FileData.cs +++ b/src/VRChat.API/Model/FileData.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/FileStatus.cs b/src/VRChat.API/Model/FileStatus.cs index 1077561a..8f30d236 100644 --- a/src/VRChat.API/Model/FileStatus.cs +++ b/src/VRChat.API/Model/FileStatus.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/FileUploadURL.cs b/src/VRChat.API/Model/FileUploadURL.cs index 51ab49ea..445a385a 100644 --- a/src/VRChat.API/Model/FileUploadURL.cs +++ b/src/VRChat.API/Model/FileUploadURL.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/FileVersion.cs b/src/VRChat.API/Model/FileVersion.cs index f347dc4e..a3a37d55 100644 --- a/src/VRChat.API/Model/FileVersion.cs +++ b/src/VRChat.API/Model/FileVersion.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/FileVersionUploadStatus.cs b/src/VRChat.API/Model/FileVersionUploadStatus.cs index 6288ae83..cb011d47 100644 --- a/src/VRChat.API/Model/FileVersionUploadStatus.cs +++ b/src/VRChat.API/Model/FileVersionUploadStatus.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/FinishFileDataUploadRequest.cs b/src/VRChat.API/Model/FinishFileDataUploadRequest.cs index c24d0300..aa046d02 100644 --- a/src/VRChat.API/Model/FinishFileDataUploadRequest.cs +++ b/src/VRChat.API/Model/FinishFileDataUploadRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/FriendStatus.cs b/src/VRChat.API/Model/FriendStatus.cs index 5d000254..c9548fc8 100644 --- a/src/VRChat.API/Model/FriendStatus.cs +++ b/src/VRChat.API/Model/FriendStatus.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Group.cs b/src/VRChat.API/Model/Group.cs index dbfd2247..1e1adb7f 100644 --- a/src/VRChat.API/Model/Group.cs +++ b/src/VRChat.API/Model/Group.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupAccessType.cs b/src/VRChat.API/Model/GroupAccessType.cs index 03684188..e82890c4 100644 --- a/src/VRChat.API/Model/GroupAccessType.cs +++ b/src/VRChat.API/Model/GroupAccessType.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupAnnouncement.cs b/src/VRChat.API/Model/GroupAnnouncement.cs index 1aa7533f..a96a1a16 100644 --- a/src/VRChat.API/Model/GroupAnnouncement.cs +++ b/src/VRChat.API/Model/GroupAnnouncement.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupAuditLogEntry.cs b/src/VRChat.API/Model/GroupAuditLogEntry.cs index d764bc02..f0a304f0 100644 --- a/src/VRChat.API/Model/GroupAuditLogEntry.cs +++ b/src/VRChat.API/Model/GroupAuditLogEntry.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupGallery.cs b/src/VRChat.API/Model/GroupGallery.cs index cf719896..87bd844f 100644 --- a/src/VRChat.API/Model/GroupGallery.cs +++ b/src/VRChat.API/Model/GroupGallery.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupGalleryImage.cs b/src/VRChat.API/Model/GroupGalleryImage.cs index 104a3cea..42265503 100644 --- a/src/VRChat.API/Model/GroupGalleryImage.cs +++ b/src/VRChat.API/Model/GroupGalleryImage.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupInstance.cs b/src/VRChat.API/Model/GroupInstance.cs index 3487bff0..c02e286c 100644 --- a/src/VRChat.API/Model/GroupInstance.cs +++ b/src/VRChat.API/Model/GroupInstance.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupJoinRequestAction.cs b/src/VRChat.API/Model/GroupJoinRequestAction.cs index 38a4e3e2..b44dbbd9 100644 --- a/src/VRChat.API/Model/GroupJoinRequestAction.cs +++ b/src/VRChat.API/Model/GroupJoinRequestAction.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupJoinState.cs b/src/VRChat.API/Model/GroupJoinState.cs index 84c2803f..84883b95 100644 --- a/src/VRChat.API/Model/GroupJoinState.cs +++ b/src/VRChat.API/Model/GroupJoinState.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupLimitedMember.cs b/src/VRChat.API/Model/GroupLimitedMember.cs index 8a9072ba..6f745c9e 100644 --- a/src/VRChat.API/Model/GroupLimitedMember.cs +++ b/src/VRChat.API/Model/GroupLimitedMember.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupMember.cs b/src/VRChat.API/Model/GroupMember.cs index 7315261e..dea976ad 100644 --- a/src/VRChat.API/Model/GroupMember.cs +++ b/src/VRChat.API/Model/GroupMember.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupMemberLimitedUser.cs b/src/VRChat.API/Model/GroupMemberLimitedUser.cs index a2f8078c..7164001e 100644 --- a/src/VRChat.API/Model/GroupMemberLimitedUser.cs +++ b/src/VRChat.API/Model/GroupMemberLimitedUser.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupMemberStatus.cs b/src/VRChat.API/Model/GroupMemberStatus.cs index 3952a6a5..7423b43b 100644 --- a/src/VRChat.API/Model/GroupMemberStatus.cs +++ b/src/VRChat.API/Model/GroupMemberStatus.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupMyMember.cs b/src/VRChat.API/Model/GroupMyMember.cs index a024b040..445416ec 100644 --- a/src/VRChat.API/Model/GroupMyMember.cs +++ b/src/VRChat.API/Model/GroupMyMember.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupPermission.cs b/src/VRChat.API/Model/GroupPermission.cs index cbaa29f3..60b76108 100644 --- a/src/VRChat.API/Model/GroupPermission.cs +++ b/src/VRChat.API/Model/GroupPermission.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupPost.cs b/src/VRChat.API/Model/GroupPost.cs index 1f9d45f0..6f1ecd92 100644 --- a/src/VRChat.API/Model/GroupPost.cs +++ b/src/VRChat.API/Model/GroupPost.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupPostVisibility.cs b/src/VRChat.API/Model/GroupPostVisibility.cs index cdf0ffb1..6844bc85 100644 --- a/src/VRChat.API/Model/GroupPostVisibility.cs +++ b/src/VRChat.API/Model/GroupPostVisibility.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupPrivacy.cs b/src/VRChat.API/Model/GroupPrivacy.cs index 52e30040..f72fb71c 100644 --- a/src/VRChat.API/Model/GroupPrivacy.cs +++ b/src/VRChat.API/Model/GroupPrivacy.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupRole.cs b/src/VRChat.API/Model/GroupRole.cs index a190e17b..dd539b0f 100644 --- a/src/VRChat.API/Model/GroupRole.cs +++ b/src/VRChat.API/Model/GroupRole.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupRoleTemplate.cs b/src/VRChat.API/Model/GroupRoleTemplate.cs index 77203aa5..8f912fbf 100644 --- a/src/VRChat.API/Model/GroupRoleTemplate.cs +++ b/src/VRChat.API/Model/GroupRoleTemplate.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupSearchSort.cs b/src/VRChat.API/Model/GroupSearchSort.cs index 708a0c7b..fe4dd211 100644 --- a/src/VRChat.API/Model/GroupSearchSort.cs +++ b/src/VRChat.API/Model/GroupSearchSort.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/GroupUserVisibility.cs b/src/VRChat.API/Model/GroupUserVisibility.cs index 2fb8f593..b6803713 100644 --- a/src/VRChat.API/Model/GroupUserVisibility.cs +++ b/src/VRChat.API/Model/GroupUserVisibility.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InfoPush.cs b/src/VRChat.API/Model/InfoPush.cs index 2c7c99e6..ea2fe864 100644 --- a/src/VRChat.API/Model/InfoPush.cs +++ b/src/VRChat.API/Model/InfoPush.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InfoPushData.cs b/src/VRChat.API/Model/InfoPushData.cs index d6740569..7c001a15 100644 --- a/src/VRChat.API/Model/InfoPushData.cs +++ b/src/VRChat.API/Model/InfoPushData.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InfoPushDataArticle.cs b/src/VRChat.API/Model/InfoPushDataArticle.cs index 411d3071..94d016c8 100644 --- a/src/VRChat.API/Model/InfoPushDataArticle.cs +++ b/src/VRChat.API/Model/InfoPushDataArticle.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InfoPushDataArticleContent.cs b/src/VRChat.API/Model/InfoPushDataArticleContent.cs index 901dcb71..75b6b78f 100644 --- a/src/VRChat.API/Model/InfoPushDataArticleContent.cs +++ b/src/VRChat.API/Model/InfoPushDataArticleContent.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InfoPushDataClickable.cs b/src/VRChat.API/Model/InfoPushDataClickable.cs index 2b23f7ca..4ea7d927 100644 --- a/src/VRChat.API/Model/InfoPushDataClickable.cs +++ b/src/VRChat.API/Model/InfoPushDataClickable.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Instance.cs b/src/VRChat.API/Model/Instance.cs index d2ecdf00..4ff5e6e4 100644 --- a/src/VRChat.API/Model/Instance.cs +++ b/src/VRChat.API/Model/Instance.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InstancePlatforms.cs b/src/VRChat.API/Model/InstancePlatforms.cs index 9184fce5..167e3f22 100644 --- a/src/VRChat.API/Model/InstancePlatforms.cs +++ b/src/VRChat.API/Model/InstancePlatforms.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InstanceShortNameResponse.cs b/src/VRChat.API/Model/InstanceShortNameResponse.cs index a0af6507..15d4881d 100644 --- a/src/VRChat.API/Model/InstanceShortNameResponse.cs +++ b/src/VRChat.API/Model/InstanceShortNameResponse.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InstanceType.cs b/src/VRChat.API/Model/InstanceType.cs index acb55c8f..f751a25d 100644 --- a/src/VRChat.API/Model/InstanceType.cs +++ b/src/VRChat.API/Model/InstanceType.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InviteMessage.cs b/src/VRChat.API/Model/InviteMessage.cs index 2e19d96f..9f5bc499 100644 --- a/src/VRChat.API/Model/InviteMessage.cs +++ b/src/VRChat.API/Model/InviteMessage.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InviteMessageType.cs b/src/VRChat.API/Model/InviteMessageType.cs index 1930c303..00662ff3 100644 --- a/src/VRChat.API/Model/InviteMessageType.cs +++ b/src/VRChat.API/Model/InviteMessageType.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InviteRequest.cs b/src/VRChat.API/Model/InviteRequest.cs index ba027533..3cb16ce6 100644 --- a/src/VRChat.API/Model/InviteRequest.cs +++ b/src/VRChat.API/Model/InviteRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/InviteResponse.cs b/src/VRChat.API/Model/InviteResponse.cs index 56641f4e..5a439274 100644 --- a/src/VRChat.API/Model/InviteResponse.cs +++ b/src/VRChat.API/Model/InviteResponse.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/License.cs b/src/VRChat.API/Model/License.cs index 9763456b..11b6b055 100644 --- a/src/VRChat.API/Model/License.cs +++ b/src/VRChat.API/Model/License.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/LicenseAction.cs b/src/VRChat.API/Model/LicenseAction.cs index d33b48e8..c27be0c4 100644 --- a/src/VRChat.API/Model/LicenseAction.cs +++ b/src/VRChat.API/Model/LicenseAction.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/LicenseGroup.cs b/src/VRChat.API/Model/LicenseGroup.cs index 65ad892f..c11b23c7 100644 --- a/src/VRChat.API/Model/LicenseGroup.cs +++ b/src/VRChat.API/Model/LicenseGroup.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/LicenseType.cs b/src/VRChat.API/Model/LicenseType.cs index 33d19a0c..9bef5bd0 100644 --- a/src/VRChat.API/Model/LicenseType.cs +++ b/src/VRChat.API/Model/LicenseType.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/LimitedGroup.cs b/src/VRChat.API/Model/LimitedGroup.cs index 357703f1..b2f17136 100644 --- a/src/VRChat.API/Model/LimitedGroup.cs +++ b/src/VRChat.API/Model/LimitedGroup.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/LimitedUnityPackage.cs b/src/VRChat.API/Model/LimitedUnityPackage.cs index 2b48d9c5..08b7695e 100644 --- a/src/VRChat.API/Model/LimitedUnityPackage.cs +++ b/src/VRChat.API/Model/LimitedUnityPackage.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/LimitedUser.cs b/src/VRChat.API/Model/LimitedUser.cs index d51271f8..f4b065bf 100644 --- a/src/VRChat.API/Model/LimitedUser.cs +++ b/src/VRChat.API/Model/LimitedUser.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -61,6 +61,7 @@ protected LimitedUser() { } /// isFriend (required). /// 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`. (required). /// profilePicOverride. + /// pronouns. /// status (required). /// statusDescription (required). /// <- Always empty. (required). @@ -68,7 +69,7 @@ protected LimitedUser() { } /// -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. /// location. /// friendKey. - public LimitedUser(string bio = default(string), string currentAvatarImageUrl = default(string), string currentAvatarThumbnailImageUrl = default(string), DeveloperType developerType = default(DeveloperType), string displayName = default(string), string fallbackAvatar = default(string), string id = default(string), bool isFriend = default(bool), string lastPlatform = default(string), string profilePicOverride = default(string), UserStatus status = default(UserStatus), string statusDescription = default(string), List tags = default(List), string userIcon = default(string), string username = default(string), string location = default(string), string friendKey = default(string)) + public LimitedUser(string bio = default(string), string currentAvatarImageUrl = default(string), string currentAvatarThumbnailImageUrl = default(string), DeveloperType developerType = default(DeveloperType), string displayName = default(string), string fallbackAvatar = default(string), string id = default(string), bool isFriend = default(bool), string lastPlatform = default(string), string profilePicOverride = default(string), string pronouns = default(string), UserStatus status = default(UserStatus), string statusDescription = default(string), List tags = default(List), string userIcon = default(string), string username = default(string), string location = default(string), string friendKey = default(string)) { this.DeveloperType = developerType; // to ensure "displayName" is required (not null) @@ -108,6 +109,7 @@ protected LimitedUser() { } this.CurrentAvatarThumbnailImageUrl = currentAvatarThumbnailImageUrl; this.FallbackAvatar = fallbackAvatar; this.ProfilePicOverride = profilePicOverride; + this.Pronouns = pronouns; this.UserIcon = userIcon; this.Username = username; this.Location = location; @@ -172,6 +174,12 @@ protected LimitedUser() { } [DataMember(Name = "profilePicOverride", EmitDefaultValue = false)] public string ProfilePicOverride { get; set; } + /// + /// Gets or Sets Pronouns + /// + [DataMember(Name = "pronouns", EmitDefaultValue = false)] + public string Pronouns { get; set; } + /// /// Gets or Sets StatusDescription /// @@ -229,6 +237,7 @@ public override string ToString() sb.Append(" IsFriend: ").Append(IsFriend).Append("\n"); sb.Append(" LastPlatform: ").Append(LastPlatform).Append("\n"); sb.Append(" ProfilePicOverride: ").Append(ProfilePicOverride).Append("\n"); + sb.Append(" Pronouns: ").Append(Pronouns).Append("\n"); sb.Append(" Status: ").Append(Status).Append("\n"); sb.Append(" StatusDescription: ").Append(StatusDescription).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); @@ -319,6 +328,11 @@ public bool Equals(LimitedUser input) (this.ProfilePicOverride != null && this.ProfilePicOverride.Equals(input.ProfilePicOverride)) ) && + ( + this.Pronouns == input.Pronouns || + (this.Pronouns != null && + this.Pronouns.Equals(input.Pronouns)) + ) && ( this.Status == input.Status || this.Status.Equals(input.Status) @@ -399,6 +413,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.ProfilePicOverride.GetHashCode(); } + if (this.Pronouns != null) + { + hashCode = (hashCode * 59) + this.Pronouns.GetHashCode(); + } hashCode = (hashCode * 59) + this.Status.GetHashCode(); if (this.StatusDescription != null) { diff --git a/src/VRChat.API/Model/LimitedWorld.cs b/src/VRChat.API/Model/LimitedWorld.cs index bc6ecdba..bce2c54f 100644 --- a/src/VRChat.API/Model/LimitedWorld.cs +++ b/src/VRChat.API/Model/LimitedWorld.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -51,6 +51,7 @@ protected LimitedWorld() { } /// recommendedCapacity. /// createdAt (required). /// favorites (required) (default to 0). + /// visits (default to 0). /// heat (required) (default to 0). /// WorldID be \"offline\" on User profiles if you are not friends with that user. (required). /// imageUrl (required). @@ -59,6 +60,7 @@ protected LimitedWorld() { } /// occupants (required) (default to 0). /// organization (required) (default to "vrchat"). /// popularity (required) (default to 0). + /// previewYoutubeId. /// publicationDate (required). /// releaseStatus (required). /// (required). @@ -66,7 +68,7 @@ protected LimitedWorld() { } /// (required). /// updatedAt (required). /// udonProducts. - public LimitedWorld(string authorId = default(string), string authorName = default(string), int capacity = default(int), int recommendedCapacity = default(int), DateTime createdAt = default(DateTime), int favorites = 0, int heat = 0, string id = default(string), string imageUrl = default(string), string labsPublicationDate = default(string), string name = default(string), int occupants = 0, string organization = "vrchat", int popularity = 0, string publicationDate = default(string), ReleaseStatus releaseStatus = default(ReleaseStatus), List tags = default(List), string thumbnailImageUrl = default(string), List unityPackages = default(List), DateTime updatedAt = default(DateTime), List udonProducts = default(List)) + public LimitedWorld(string authorId = default(string), string authorName = default(string), int capacity = default(int), int recommendedCapacity = default(int), DateTime createdAt = default(DateTime), int favorites = 0, int visits = 0, int heat = 0, string id = default(string), string imageUrl = default(string), string labsPublicationDate = default(string), string name = default(string), int occupants = 0, string organization = "vrchat", int popularity = 0, string previewYoutubeId = default(string), string publicationDate = default(string), ReleaseStatus releaseStatus = default(ReleaseStatus), List tags = default(List), string thumbnailImageUrl = default(string), List unityPackages = default(List), DateTime updatedAt = default(DateTime), List udonProducts = default(List)) { // to ensure "authorId" is required (not null) if (authorId == null) @@ -143,6 +145,8 @@ protected LimitedWorld() { } this.UnityPackages = unityPackages; this.UpdatedAt = updatedAt; this.RecommendedCapacity = recommendedCapacity; + this.Visits = visits; + this.PreviewYoutubeId = previewYoutubeId; this.UdonProducts = udonProducts; } @@ -183,6 +187,12 @@ protected LimitedWorld() { } [DataMember(Name = "favorites", IsRequired = true, EmitDefaultValue = true)] public int Favorites { get; set; } + /// + /// Gets or Sets Visits + /// + [DataMember(Name = "visits", EmitDefaultValue = false)] + public int Visits { get; set; } + /// /// Gets or Sets Heat /// @@ -232,6 +242,12 @@ protected LimitedWorld() { } [DataMember(Name = "popularity", IsRequired = true, EmitDefaultValue = true)] public int Popularity { get; set; } + /// + /// Gets or Sets PreviewYoutubeId + /// + [DataMember(Name = "previewYoutubeId", EmitDefaultValue = true)] + public string PreviewYoutubeId { get; set; } + /// /// Gets or Sets PublicationDate /// @@ -284,6 +300,7 @@ public override string ToString() sb.Append(" RecommendedCapacity: ").Append(RecommendedCapacity).Append("\n"); sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); sb.Append(" Favorites: ").Append(Favorites).Append("\n"); + sb.Append(" Visits: ").Append(Visits).Append("\n"); sb.Append(" Heat: ").Append(Heat).Append("\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" ImageUrl: ").Append(ImageUrl).Append("\n"); @@ -292,6 +309,7 @@ public override string ToString() sb.Append(" Occupants: ").Append(Occupants).Append("\n"); sb.Append(" Organization: ").Append(Organization).Append("\n"); sb.Append(" Popularity: ").Append(Popularity).Append("\n"); + sb.Append(" PreviewYoutubeId: ").Append(PreviewYoutubeId).Append("\n"); sb.Append(" PublicationDate: ").Append(PublicationDate).Append("\n"); sb.Append(" ReleaseStatus: ").Append(ReleaseStatus).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); @@ -361,6 +379,10 @@ public bool Equals(LimitedWorld input) this.Favorites == input.Favorites || this.Favorites.Equals(input.Favorites) ) && + ( + this.Visits == input.Visits || + this.Visits.Equals(input.Visits) + ) && ( this.Heat == input.Heat || this.Heat.Equals(input.Heat) @@ -398,6 +420,11 @@ public bool Equals(LimitedWorld input) this.Popularity == input.Popularity || this.Popularity.Equals(input.Popularity) ) && + ( + this.PreviewYoutubeId == input.PreviewYoutubeId || + (this.PreviewYoutubeId != null && + this.PreviewYoutubeId.Equals(input.PreviewYoutubeId)) + ) && ( this.PublicationDate == input.PublicationDate || (this.PublicationDate != null && @@ -461,6 +488,7 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.CreatedAt.GetHashCode(); } hashCode = (hashCode * 59) + this.Favorites.GetHashCode(); + hashCode = (hashCode * 59) + this.Visits.GetHashCode(); hashCode = (hashCode * 59) + this.Heat.GetHashCode(); if (this.Id != null) { @@ -484,6 +512,10 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.Organization.GetHashCode(); } hashCode = (hashCode * 59) + this.Popularity.GetHashCode(); + if (this.PreviewYoutubeId != null) + { + hashCode = (hashCode * 59) + this.PreviewYoutubeId.GetHashCode(); + } if (this.PublicationDate != null) { hashCode = (hashCode * 59) + this.PublicationDate.GetHashCode(); @@ -532,6 +564,12 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Favorites, must be a value greater than or equal to 0.", new [] { "Favorites" }); } + // Visits (int) minimum + if (this.Visits < (int)0) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Visits, must be a value greater than or equal to 0.", new [] { "Visits" }); + } + // Heat (int) minimum if (this.Heat < (int)0) { diff --git a/src/VRChat.API/Model/MIMEType.cs b/src/VRChat.API/Model/MIMEType.cs index 1d93cbc5..4d82f6a3 100644 --- a/src/VRChat.API/Model/MIMEType.cs +++ b/src/VRChat.API/Model/MIMEType.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/ModerateUserRequest.cs b/src/VRChat.API/Model/ModerateUserRequest.cs index 8009ed6b..3597691f 100644 --- a/src/VRChat.API/Model/ModerateUserRequest.cs +++ b/src/VRChat.API/Model/ModerateUserRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Notification.cs b/src/VRChat.API/Model/Notification.cs index 713bc47b..25b43d42 100644 --- a/src/VRChat.API/Model/Notification.cs +++ b/src/VRChat.API/Model/Notification.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/NotificationDetailInvite.cs b/src/VRChat.API/Model/NotificationDetailInvite.cs index c7bb0fc9..14c6d4c6 100644 --- a/src/VRChat.API/Model/NotificationDetailInvite.cs +++ b/src/VRChat.API/Model/NotificationDetailInvite.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/NotificationDetailInviteResponse.cs b/src/VRChat.API/Model/NotificationDetailInviteResponse.cs index f510a326..b41ad3db 100644 --- a/src/VRChat.API/Model/NotificationDetailInviteResponse.cs +++ b/src/VRChat.API/Model/NotificationDetailInviteResponse.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/NotificationDetailRequestInvite.cs b/src/VRChat.API/Model/NotificationDetailRequestInvite.cs index e49d7c9f..5f84ea2b 100644 --- a/src/VRChat.API/Model/NotificationDetailRequestInvite.cs +++ b/src/VRChat.API/Model/NotificationDetailRequestInvite.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/NotificationDetailRequestInviteResponse.cs b/src/VRChat.API/Model/NotificationDetailRequestInviteResponse.cs index 711124f5..916d4197 100644 --- a/src/VRChat.API/Model/NotificationDetailRequestInviteResponse.cs +++ b/src/VRChat.API/Model/NotificationDetailRequestInviteResponse.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/NotificationDetailVoteToKick.cs b/src/VRChat.API/Model/NotificationDetailVoteToKick.cs index b55e2d0e..281c7f7b 100644 --- a/src/VRChat.API/Model/NotificationDetailVoteToKick.cs +++ b/src/VRChat.API/Model/NotificationDetailVoteToKick.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/NotificationType.cs b/src/VRChat.API/Model/NotificationType.cs index a38b86d2..0127742b 100644 --- a/src/VRChat.API/Model/NotificationType.cs +++ b/src/VRChat.API/Model/NotificationType.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/OrderOption.cs b/src/VRChat.API/Model/OrderOption.cs index f74cdf8a..e593861b 100644 --- a/src/VRChat.API/Model/OrderOption.cs +++ b/src/VRChat.API/Model/OrderOption.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/PaginatedGroupAuditLogEntryList.cs b/src/VRChat.API/Model/PaginatedGroupAuditLogEntryList.cs index 56248ff3..15f16bba 100644 --- a/src/VRChat.API/Model/PaginatedGroupAuditLogEntryList.cs +++ b/src/VRChat.API/Model/PaginatedGroupAuditLogEntryList.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/PastDisplayName.cs b/src/VRChat.API/Model/PastDisplayName.cs index 7aac55a3..df2ef4a3 100644 --- a/src/VRChat.API/Model/PastDisplayName.cs +++ b/src/VRChat.API/Model/PastDisplayName.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Permission.cs b/src/VRChat.API/Model/Permission.cs index b8c4a400..1ea89bde 100644 --- a/src/VRChat.API/Model/Permission.cs +++ b/src/VRChat.API/Model/Permission.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/PlayerModeration.cs b/src/VRChat.API/Model/PlayerModeration.cs index d7a183e6..41e5cce2 100644 --- a/src/VRChat.API/Model/PlayerModeration.cs +++ b/src/VRChat.API/Model/PlayerModeration.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/PlayerModerationType.cs b/src/VRChat.API/Model/PlayerModerationType.cs index 54a35e6f..7a761e70 100644 --- a/src/VRChat.API/Model/PlayerModerationType.cs +++ b/src/VRChat.API/Model/PlayerModerationType.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Region.cs b/src/VRChat.API/Model/Region.cs index 8f132b80..0a533378 100644 --- a/src/VRChat.API/Model/Region.cs +++ b/src/VRChat.API/Model/Region.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/ReleaseStatus.cs b/src/VRChat.API/Model/ReleaseStatus.cs index 731ed021..f542e9bd 100644 --- a/src/VRChat.API/Model/ReleaseStatus.cs +++ b/src/VRChat.API/Model/ReleaseStatus.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/RepresentedGroup.cs b/src/VRChat.API/Model/RepresentedGroup.cs index efa94a8e..15412900 100644 --- a/src/VRChat.API/Model/RepresentedGroup.cs +++ b/src/VRChat.API/Model/RepresentedGroup.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/RequestInviteRequest.cs b/src/VRChat.API/Model/RequestInviteRequest.cs index 556de78a..7c3bf579 100644 --- a/src/VRChat.API/Model/RequestInviteRequest.cs +++ b/src/VRChat.API/Model/RequestInviteRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/RespondGroupJoinRequest.cs b/src/VRChat.API/Model/RespondGroupJoinRequest.cs index f73565f8..08663681 100644 --- a/src/VRChat.API/Model/RespondGroupJoinRequest.cs +++ b/src/VRChat.API/Model/RespondGroupJoinRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Response.cs b/src/VRChat.API/Model/Response.cs index ccd7c86c..89fca327 100644 --- a/src/VRChat.API/Model/Response.cs +++ b/src/VRChat.API/Model/Response.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/SentNotification.cs b/src/VRChat.API/Model/SentNotification.cs index 738d2861..9d57b76b 100644 --- a/src/VRChat.API/Model/SentNotification.cs +++ b/src/VRChat.API/Model/SentNotification.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/SortOption.cs b/src/VRChat.API/Model/SortOption.cs index 5f70c0db..d35329f1 100644 --- a/src/VRChat.API/Model/SortOption.cs +++ b/src/VRChat.API/Model/SortOption.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Subscription.cs b/src/VRChat.API/Model/Subscription.cs index c1c6a901..708f96e0 100644 --- a/src/VRChat.API/Model/Subscription.cs +++ b/src/VRChat.API/Model/Subscription.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -47,11 +47,15 @@ protected Subscription() { } /// /// id (required). /// steamItemId (required). + /// oculusSku. + /// googleProductId. + /// googlePlanId. + /// picoSku. /// amount (required). /// description (required). /// period (required). /// tier (required). - public Subscription(string id = default(string), string steamItemId = default(string), decimal amount = default(decimal), string description = default(string), SubscriptionPeriod period = default(SubscriptionPeriod), decimal tier = default(decimal)) + public Subscription(string id = default(string), string steamItemId = default(string), string oculusSku = default(string), string googleProductId = default(string), string googlePlanId = default(string), string picoSku = default(string), decimal amount = default(decimal), string description = default(string), SubscriptionPeriod period = default(SubscriptionPeriod), decimal tier = default(decimal)) { // to ensure "id" is required (not null) if (id == null) @@ -74,6 +78,10 @@ protected Subscription() { } this.Description = description; this.Period = period; this.Tier = tier; + this.OculusSku = oculusSku; + this.GoogleProductId = googleProductId; + this.GooglePlanId = googlePlanId; + this.PicoSku = picoSku; } /// @@ -88,6 +96,30 @@ protected Subscription() { } [DataMember(Name = "steamItemId", IsRequired = true, EmitDefaultValue = true)] public string SteamItemId { get; set; } + /// + /// Gets or Sets OculusSku + /// + [DataMember(Name = "oculusSku", EmitDefaultValue = false)] + public string OculusSku { get; set; } + + /// + /// Gets or Sets GoogleProductId + /// + [DataMember(Name = "googleProductId", EmitDefaultValue = false)] + public string GoogleProductId { get; set; } + + /// + /// Gets or Sets GooglePlanId + /// + [DataMember(Name = "googlePlanId", EmitDefaultValue = false)] + public string GooglePlanId { get; set; } + + /// + /// Gets or Sets PicoSku + /// + [DataMember(Name = "picoSku", EmitDefaultValue = false)] + public string PicoSku { get; set; } + /// /// Gets or Sets Amount /// @@ -116,6 +148,10 @@ public override string ToString() sb.Append("class Subscription {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" SteamItemId: ").Append(SteamItemId).Append("\n"); + sb.Append(" OculusSku: ").Append(OculusSku).Append("\n"); + sb.Append(" GoogleProductId: ").Append(GoogleProductId).Append("\n"); + sb.Append(" GooglePlanId: ").Append(GooglePlanId).Append("\n"); + sb.Append(" PicoSku: ").Append(PicoSku).Append("\n"); sb.Append(" Amount: ").Append(Amount).Append("\n"); sb.Append(" Description: ").Append(Description).Append("\n"); sb.Append(" Period: ").Append(Period).Append("\n"); @@ -165,6 +201,26 @@ public bool Equals(Subscription input) (this.SteamItemId != null && this.SteamItemId.Equals(input.SteamItemId)) ) && + ( + this.OculusSku == input.OculusSku || + (this.OculusSku != null && + this.OculusSku.Equals(input.OculusSku)) + ) && + ( + this.GoogleProductId == input.GoogleProductId || + (this.GoogleProductId != null && + this.GoogleProductId.Equals(input.GoogleProductId)) + ) && + ( + this.GooglePlanId == input.GooglePlanId || + (this.GooglePlanId != null && + this.GooglePlanId.Equals(input.GooglePlanId)) + ) && + ( + this.PicoSku == input.PicoSku || + (this.PicoSku != null && + this.PicoSku.Equals(input.PicoSku)) + ) && ( this.Amount == input.Amount || this.Amount.Equals(input.Amount) @@ -201,6 +257,22 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.SteamItemId.GetHashCode(); } + if (this.OculusSku != null) + { + hashCode = (hashCode * 59) + this.OculusSku.GetHashCode(); + } + if (this.GoogleProductId != null) + { + hashCode = (hashCode * 59) + this.GoogleProductId.GetHashCode(); + } + if (this.GooglePlanId != null) + { + hashCode = (hashCode * 59) + this.GooglePlanId.GetHashCode(); + } + if (this.PicoSku != null) + { + hashCode = (hashCode * 59) + this.PicoSku.GetHashCode(); + } hashCode = (hashCode * 59) + this.Amount.GetHashCode(); if (this.Description != null) { @@ -231,6 +303,24 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SteamItemId, length must be greater than 1.", new [] { "SteamItemId" }); } + // OculusSku (string) minLength + if (this.OculusSku != null && this.OculusSku.Length < 1) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for OculusSku, length must be greater than 1.", new [] { "OculusSku" }); + } + + // GoogleProductId (string) minLength + if (this.GoogleProductId != null && this.GoogleProductId.Length < 1) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for GoogleProductId, length must be greater than 1.", new [] { "GoogleProductId" }); + } + + // PicoSku (string) minLength + if (this.PicoSku != null && this.PicoSku.Length < 1) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PicoSku, length must be greater than 1.", new [] { "PicoSku" }); + } + yield break; } } diff --git a/src/VRChat.API/Model/SubscriptionPeriod.cs b/src/VRChat.API/Model/SubscriptionPeriod.cs index f433286a..a776b9de 100644 --- a/src/VRChat.API/Model/SubscriptionPeriod.cs +++ b/src/VRChat.API/Model/SubscriptionPeriod.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Success.cs b/src/VRChat.API/Model/Success.cs index 72463b4e..3843c75b 100644 --- a/src/VRChat.API/Model/Success.cs +++ b/src/VRChat.API/Model/Success.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Transaction.cs b/src/VRChat.API/Model/Transaction.cs index b8066311..36cec0b5 100644 --- a/src/VRChat.API/Model/Transaction.cs +++ b/src/VRChat.API/Model/Transaction.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -46,6 +46,8 @@ protected Transaction() { } /// Initializes a new instance of the class. /// /// id (required). + /// 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.. + /// userDisplayName. /// status (required). /// subscription (required). /// sandbox (required) (default to false). @@ -54,7 +56,9 @@ protected Transaction() { } /// steam. /// agreement. /// error (required). - public Transaction(string id = default(string), TransactionStatus status = default(TransactionStatus), Subscription subscription = default(Subscription), bool sandbox = false, DateTime createdAt = default(DateTime), DateTime updatedAt = default(DateTime), TransactionSteamInfo steam = default(TransactionSteamInfo), TransactionAgreement agreement = default(TransactionAgreement), string error = default(string)) + /// isGift (default to false). + /// isTokens (default to false). + public Transaction(string id = default(string), string userId = default(string), string userDisplayName = default(string), TransactionStatus status = default(TransactionStatus), Subscription subscription = default(Subscription), bool sandbox = false, DateTime createdAt = default(DateTime), DateTime updatedAt = default(DateTime), TransactionSteamInfo steam = default(TransactionSteamInfo), TransactionAgreement agreement = default(TransactionAgreement), string error = default(string), bool isGift = false, bool isTokens = false) { // to ensure "id" is required (not null) if (id == null) @@ -78,8 +82,12 @@ protected Transaction() { } throw new ArgumentNullException("error is a required property for Transaction and cannot be null"); } this.Error = error; + this.UserId = userId; + this.UserDisplayName = userDisplayName; this.Steam = steam; this.Agreement = agreement; + this.IsGift = isGift; + this.IsTokens = isTokens; } /// @@ -88,6 +96,19 @@ protected Transaction() { } [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)] public string Id { get; set; } + /// + /// 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. + /// + /// 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. + [DataMember(Name = "userId", EmitDefaultValue = false)] + public string UserId { get; set; } + + /// + /// Gets or Sets UserDisplayName + /// + [DataMember(Name = "userDisplayName", EmitDefaultValue = false)] + public string UserDisplayName { get; set; } + /// /// Gets or Sets Subscription /// @@ -130,6 +151,18 @@ protected Transaction() { } [DataMember(Name = "error", IsRequired = true, EmitDefaultValue = true)] public string Error { get; set; } + /// + /// Gets or Sets IsGift + /// + [DataMember(Name = "isGift", EmitDefaultValue = true)] + public bool IsGift { get; set; } + + /// + /// Gets or Sets IsTokens + /// + [DataMember(Name = "isTokens", EmitDefaultValue = true)] + public bool IsTokens { get; set; } + /// /// Returns the string presentation of the object /// @@ -139,6 +172,8 @@ public override string ToString() StringBuilder sb = new StringBuilder(); sb.Append("class Transaction {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" UserId: ").Append(UserId).Append("\n"); + sb.Append(" UserDisplayName: ").Append(UserDisplayName).Append("\n"); sb.Append(" Status: ").Append(Status).Append("\n"); sb.Append(" Subscription: ").Append(Subscription).Append("\n"); sb.Append(" Sandbox: ").Append(Sandbox).Append("\n"); @@ -147,6 +182,8 @@ public override string ToString() sb.Append(" Steam: ").Append(Steam).Append("\n"); sb.Append(" Agreement: ").Append(Agreement).Append("\n"); sb.Append(" Error: ").Append(Error).Append("\n"); + sb.Append(" IsGift: ").Append(IsGift).Append("\n"); + sb.Append(" IsTokens: ").Append(IsTokens).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -187,6 +224,16 @@ public bool Equals(Transaction input) (this.Id != null && this.Id.Equals(input.Id)) ) && + ( + this.UserId == input.UserId || + (this.UserId != null && + this.UserId.Equals(input.UserId)) + ) && + ( + this.UserDisplayName == input.UserDisplayName || + (this.UserDisplayName != null && + this.UserDisplayName.Equals(input.UserDisplayName)) + ) && ( this.Status == input.Status || this.Status.Equals(input.Status) @@ -224,6 +271,14 @@ public bool Equals(Transaction input) this.Error == input.Error || (this.Error != null && this.Error.Equals(input.Error)) + ) && + ( + this.IsGift == input.IsGift || + this.IsGift.Equals(input.IsGift) + ) && + ( + this.IsTokens == input.IsTokens || + this.IsTokens.Equals(input.IsTokens) ); } @@ -240,6 +295,14 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Id.GetHashCode(); } + if (this.UserId != null) + { + hashCode = (hashCode * 59) + this.UserId.GetHashCode(); + } + if (this.UserDisplayName != null) + { + hashCode = (hashCode * 59) + this.UserDisplayName.GetHashCode(); + } hashCode = (hashCode * 59) + this.Status.GetHashCode(); if (this.Subscription != null) { @@ -266,6 +329,8 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Error.GetHashCode(); } + hashCode = (hashCode * 59) + this.IsGift.GetHashCode(); + hashCode = (hashCode * 59) + this.IsTokens.GetHashCode(); return hashCode; } } diff --git a/src/VRChat.API/Model/TransactionAgreement.cs b/src/VRChat.API/Model/TransactionAgreement.cs index 74e9b124..9f07e60f 100644 --- a/src/VRChat.API/Model/TransactionAgreement.cs +++ b/src/VRChat.API/Model/TransactionAgreement.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/TransactionStatus.cs b/src/VRChat.API/Model/TransactionStatus.cs index 1d04f59b..a2f87f6e 100644 --- a/src/VRChat.API/Model/TransactionStatus.cs +++ b/src/VRChat.API/Model/TransactionStatus.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/TransactionSteamInfo.cs b/src/VRChat.API/Model/TransactionSteamInfo.cs index 50b7454e..97ea29db 100644 --- a/src/VRChat.API/Model/TransactionSteamInfo.cs +++ b/src/VRChat.API/Model/TransactionSteamInfo.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/TransactionSteamWalletInfo.cs b/src/VRChat.API/Model/TransactionSteamWalletInfo.cs index 9e03ee70..6b6889f6 100644 --- a/src/VRChat.API/Model/TransactionSteamWalletInfo.cs +++ b/src/VRChat.API/Model/TransactionSteamWalletInfo.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/TwoFactorAuthCode.cs b/src/VRChat.API/Model/TwoFactorAuthCode.cs index 75d902bd..b6c8ffb2 100644 --- a/src/VRChat.API/Model/TwoFactorAuthCode.cs +++ b/src/VRChat.API/Model/TwoFactorAuthCode.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/TwoFactorEmailCode.cs b/src/VRChat.API/Model/TwoFactorEmailCode.cs index cc35e644..0f3176f5 100644 --- a/src/VRChat.API/Model/TwoFactorEmailCode.cs +++ b/src/VRChat.API/Model/TwoFactorEmailCode.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UnityPackage.cs b/src/VRChat.API/Model/UnityPackage.cs index cc40094f..37f0f1d8 100644 --- a/src/VRChat.API/Model/UnityPackage.cs +++ b/src/VRChat.API/Model/UnityPackage.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -51,7 +51,8 @@ protected UnityPackage() { } /// unityVersion (required) (default to "5.3.4p1"). /// impostorUrl. /// scanStatus. - public UnityPackage(string id = default(string), string assetUrl = default(string), Object assetUrlObject = default(Object), int assetVersion = default(int), DateTime createdAt = default(DateTime), string platform = default(string), string pluginUrl = default(string), Object pluginUrlObject = default(Object), long unitySortNumber = default(long), string unityVersion = "5.3.4p1", string impostorUrl = default(string), string scanStatus = default(string)) + /// variant. + public UnityPackage(string id = default(string), string assetUrl = default(string), Object assetUrlObject = default(Object), int assetVersion = default(int), DateTime createdAt = default(DateTime), string platform = default(string), string pluginUrl = default(string), Object pluginUrlObject = default(Object), long unitySortNumber = default(long), string unityVersion = "5.3.4p1", string impostorUrl = default(string), string scanStatus = default(string), string variant = default(string)) { // to ensure "id" is required (not null) if (id == null) @@ -80,6 +81,7 @@ protected UnityPackage() { } this.UnitySortNumber = unitySortNumber; this.ImpostorUrl = impostorUrl; this.ScanStatus = scanStatus; + this.Variant = variant; } /// @@ -155,6 +157,12 @@ protected UnityPackage() { } [DataMember(Name = "scanStatus", EmitDefaultValue = false)] public string ScanStatus { get; set; } + /// + /// Gets or Sets Variant + /// + [DataMember(Name = "variant", EmitDefaultValue = false)] + public string Variant { get; set; } + /// /// Returns the string presentation of the object /// @@ -175,6 +183,7 @@ public override string ToString() sb.Append(" UnityVersion: ").Append(UnityVersion).Append("\n"); sb.Append(" ImpostorUrl: ").Append(ImpostorUrl).Append("\n"); sb.Append(" ScanStatus: ").Append(ScanStatus).Append("\n"); + sb.Append(" Variant: ").Append(Variant).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -267,6 +276,11 @@ public bool Equals(UnityPackage input) this.ScanStatus == input.ScanStatus || (this.ScanStatus != null && this.ScanStatus.Equals(input.ScanStatus)) + ) && + ( + this.Variant == input.Variant || + (this.Variant != null && + this.Variant.Equals(input.Variant)) ); } @@ -321,6 +335,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.ScanStatus.GetHashCode(); } + if (this.Variant != null) + { + hashCode = (hashCode * 59) + this.Variant.GetHashCode(); + } return hashCode; } } diff --git a/src/VRChat.API/Model/UpdateAvatarRequest.cs b/src/VRChat.API/Model/UpdateAvatarRequest.cs index c5802d18..5eaee31f 100644 --- a/src/VRChat.API/Model/UpdateAvatarRequest.cs +++ b/src/VRChat.API/Model/UpdateAvatarRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UpdateFavoriteGroupRequest.cs b/src/VRChat.API/Model/UpdateFavoriteGroupRequest.cs index 17e84d40..a109f286 100644 --- a/src/VRChat.API/Model/UpdateFavoriteGroupRequest.cs +++ b/src/VRChat.API/Model/UpdateFavoriteGroupRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UpdateGroupGalleryRequest.cs b/src/VRChat.API/Model/UpdateGroupGalleryRequest.cs index 75c90afd..f6f18843 100644 --- a/src/VRChat.API/Model/UpdateGroupGalleryRequest.cs +++ b/src/VRChat.API/Model/UpdateGroupGalleryRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UpdateGroupMemberRequest.cs b/src/VRChat.API/Model/UpdateGroupMemberRequest.cs index f8fc54f1..fcf255ae 100644 --- a/src/VRChat.API/Model/UpdateGroupMemberRequest.cs +++ b/src/VRChat.API/Model/UpdateGroupMemberRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UpdateGroupRequest.cs b/src/VRChat.API/Model/UpdateGroupRequest.cs index a2405805..161c99db 100644 --- a/src/VRChat.API/Model/UpdateGroupRequest.cs +++ b/src/VRChat.API/Model/UpdateGroupRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UpdateGroupRoleRequest.cs b/src/VRChat.API/Model/UpdateGroupRoleRequest.cs index b3d98e17..f4c05fbd 100644 --- a/src/VRChat.API/Model/UpdateGroupRoleRequest.cs +++ b/src/VRChat.API/Model/UpdateGroupRoleRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UpdateInviteMessageRequest.cs b/src/VRChat.API/Model/UpdateInviteMessageRequest.cs index 3e72e93d..a1836a7b 100644 --- a/src/VRChat.API/Model/UpdateInviteMessageRequest.cs +++ b/src/VRChat.API/Model/UpdateInviteMessageRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UpdateUserRequest.cs b/src/VRChat.API/Model/UpdateUserRequest.cs index c894acaa..6fabc287 100644 --- a/src/VRChat.API/Model/UpdateUserRequest.cs +++ b/src/VRChat.API/Model/UpdateUserRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UpdateWorldRequest.cs b/src/VRChat.API/Model/UpdateWorldRequest.cs index ffb84bb9..2b83d6ee 100644 --- a/src/VRChat.API/Model/UpdateWorldRequest.cs +++ b/src/VRChat.API/Model/UpdateWorldRequest.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/User.cs b/src/VRChat.API/Model/User.cs index 0819dc77..142581aa 100644 --- a/src/VRChat.API/Model/User.cs +++ b/src/VRChat.API/Model/User.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -58,10 +58,12 @@ protected User() { } /// Initializes a new instance of the class. /// /// allowAvatarCopying (required) (default to true). + /// (required). /// bio (required). /// bioLinks (required). /// When profilePicOverride is not empty, use it instead. (required). /// When profilePicOverride is not empty, use it instead. (required). + /// currentAvatarTags (required). /// dateJoined (required). /// developerType (required). /// A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. (required). @@ -76,6 +78,7 @@ protected User() { } /// WorldID be \"offline\" on User profiles if you are not friends with that user.. /// note. /// profilePicOverride (required). + /// pronouns (required). /// state (required). /// status (required). /// statusDescription (required). @@ -86,9 +89,15 @@ protected User() { } /// userIcon (required). /// -| A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed.' **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).. /// WorldID be \"offline\" on User profiles if you are not friends with that user.. - public User(bool allowAvatarCopying = true, string bio = default(string), List bioLinks = default(List), string currentAvatarImageUrl = default(string), string currentAvatarThumbnailImageUrl = default(string), DateTime dateJoined = default(DateTime), DeveloperType developerType = default(DeveloperType), string displayName = default(string), string friendKey = default(string), string friendRequestStatus = default(string), string id = default(string), string instanceId = default(string), bool isFriend = default(bool), string lastActivity = default(string), string lastLogin = default(string), string lastPlatform = default(string), string location = default(string), string note = default(string), string profilePicOverride = default(string), UserState state = default(UserState), UserStatus status = default(UserStatus), string statusDescription = default(string), List tags = default(List), string travelingToInstance = default(string), string travelingToLocation = default(string), string travelingToWorld = default(string), string userIcon = default(string), string username = default(string), string worldId = default(string)) + public User(bool allowAvatarCopying = true, List badges = default(List), string bio = default(string), List bioLinks = default(List), string currentAvatarImageUrl = default(string), string currentAvatarThumbnailImageUrl = default(string), List currentAvatarTags = default(List), DateTime dateJoined = default(DateTime), DeveloperType developerType = default(DeveloperType), string displayName = default(string), string friendKey = default(string), string friendRequestStatus = default(string), string id = default(string), string instanceId = default(string), bool isFriend = default(bool), string lastActivity = default(string), string lastLogin = default(string), string lastPlatform = default(string), string location = default(string), string note = default(string), string profilePicOverride = default(string), string pronouns = default(string), UserState state = default(UserState), UserStatus status = default(UserStatus), string statusDescription = default(string), List tags = default(List), string travelingToInstance = default(string), string travelingToLocation = default(string), string travelingToWorld = default(string), string userIcon = default(string), string username = default(string), string worldId = default(string)) { this.AllowAvatarCopying = allowAvatarCopying; + // to ensure "badges" is required (not null) + if (badges == null) + { + throw new ArgumentNullException("badges is a required property for User and cannot be null"); + } + this.Badges = badges; // to ensure "bio" is required (not null) if (bio == null) { @@ -113,6 +122,12 @@ protected User() { } throw new ArgumentNullException("currentAvatarThumbnailImageUrl is a required property for User and cannot be null"); } this.CurrentAvatarThumbnailImageUrl = currentAvatarThumbnailImageUrl; + // to ensure "currentAvatarTags" is required (not null) + if (currentAvatarTags == null) + { + throw new ArgumentNullException("currentAvatarTags is a required property for User and cannot be null"); + } + this.CurrentAvatarTags = currentAvatarTags; this.DateJoined = dateJoined; this.DeveloperType = developerType; // to ensure "displayName" is required (not null) @@ -158,6 +173,12 @@ protected User() { } throw new ArgumentNullException("profilePicOverride is a required property for User and cannot be null"); } this.ProfilePicOverride = profilePicOverride; + // to ensure "pronouns" is required (not null) + if (pronouns == null) + { + throw new ArgumentNullException("pronouns is a required property for User and cannot be null"); + } + this.Pronouns = pronouns; this.State = state; this.Status = status; // to ensure "statusDescription" is required (not null) @@ -195,6 +216,13 @@ protected User() { } [DataMember(Name = "allowAvatarCopying", IsRequired = true, EmitDefaultValue = true)] public bool AllowAvatarCopying { get; set; } + /// + /// + /// + /// + [DataMember(Name = "badges", IsRequired = true, EmitDefaultValue = true)] + public List Badges { get; set; } + /// /// Gets or Sets Bio /// @@ -221,6 +249,12 @@ protected User() { } [DataMember(Name = "currentAvatarThumbnailImageUrl", IsRequired = true, EmitDefaultValue = true)] public string CurrentAvatarThumbnailImageUrl { get; set; } + /// + /// Gets or Sets CurrentAvatarTags + /// + [DataMember(Name = "currentAvatarTags", IsRequired = true, EmitDefaultValue = true)] + public List CurrentAvatarTags { get; set; } + /// /// Gets or Sets DateJoined /// @@ -308,6 +342,12 @@ protected User() { } [DataMember(Name = "profilePicOverride", IsRequired = true, EmitDefaultValue = true)] public string ProfilePicOverride { get; set; } + /// + /// Gets or Sets Pronouns + /// + [DataMember(Name = "pronouns", IsRequired = true, EmitDefaultValue = true)] + public string Pronouns { get; set; } + /// /// Gets or Sets StatusDescription /// @@ -369,10 +409,12 @@ public override string ToString() StringBuilder sb = new StringBuilder(); sb.Append("class User {\n"); sb.Append(" AllowAvatarCopying: ").Append(AllowAvatarCopying).Append("\n"); + sb.Append(" Badges: ").Append(Badges).Append("\n"); sb.Append(" Bio: ").Append(Bio).Append("\n"); sb.Append(" BioLinks: ").Append(BioLinks).Append("\n"); sb.Append(" CurrentAvatarImageUrl: ").Append(CurrentAvatarImageUrl).Append("\n"); sb.Append(" CurrentAvatarThumbnailImageUrl: ").Append(CurrentAvatarThumbnailImageUrl).Append("\n"); + sb.Append(" CurrentAvatarTags: ").Append(CurrentAvatarTags).Append("\n"); sb.Append(" DateJoined: ").Append(DateJoined).Append("\n"); sb.Append(" DeveloperType: ").Append(DeveloperType).Append("\n"); sb.Append(" DisplayName: ").Append(DisplayName).Append("\n"); @@ -387,6 +429,7 @@ public override string ToString() sb.Append(" Location: ").Append(Location).Append("\n"); sb.Append(" Note: ").Append(Note).Append("\n"); sb.Append(" ProfilePicOverride: ").Append(ProfilePicOverride).Append("\n"); + sb.Append(" Pronouns: ").Append(Pronouns).Append("\n"); sb.Append(" State: ").Append(State).Append("\n"); sb.Append(" Status: ").Append(Status).Append("\n"); sb.Append(" StatusDescription: ").Append(StatusDescription).Append("\n"); @@ -436,6 +479,12 @@ public bool Equals(User input) this.AllowAvatarCopying == input.AllowAvatarCopying || this.AllowAvatarCopying.Equals(input.AllowAvatarCopying) ) && + ( + this.Badges == input.Badges || + this.Badges != null && + input.Badges != null && + this.Badges.SequenceEqual(input.Badges) + ) && ( this.Bio == input.Bio || (this.Bio != null && @@ -457,6 +506,12 @@ public bool Equals(User input) (this.CurrentAvatarThumbnailImageUrl != null && this.CurrentAvatarThumbnailImageUrl.Equals(input.CurrentAvatarThumbnailImageUrl)) ) && + ( + this.CurrentAvatarTags == input.CurrentAvatarTags || + this.CurrentAvatarTags != null && + input.CurrentAvatarTags != null && + this.CurrentAvatarTags.SequenceEqual(input.CurrentAvatarTags) + ) && ( this.DateJoined == input.DateJoined || (this.DateJoined != null && @@ -525,6 +580,11 @@ public bool Equals(User input) (this.ProfilePicOverride != null && this.ProfilePicOverride.Equals(input.ProfilePicOverride)) ) && + ( + this.Pronouns == input.Pronouns || + (this.Pronouns != null && + this.Pronouns.Equals(input.Pronouns)) + ) && ( this.State == input.State || this.State.Equals(input.State) @@ -586,6 +646,10 @@ public override int GetHashCode() { int hashCode = 41; hashCode = (hashCode * 59) + this.AllowAvatarCopying.GetHashCode(); + if (this.Badges != null) + { + hashCode = (hashCode * 59) + this.Badges.GetHashCode(); + } if (this.Bio != null) { hashCode = (hashCode * 59) + this.Bio.GetHashCode(); @@ -602,6 +666,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.CurrentAvatarThumbnailImageUrl.GetHashCode(); } + if (this.CurrentAvatarTags != null) + { + hashCode = (hashCode * 59) + this.CurrentAvatarTags.GetHashCode(); + } if (this.DateJoined != null) { hashCode = (hashCode * 59) + this.DateJoined.GetHashCode(); @@ -652,6 +720,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.ProfilePicOverride.GetHashCode(); } + if (this.Pronouns != null) + { + hashCode = (hashCode * 59) + this.Pronouns.GetHashCode(); + } hashCode = (hashCode * 59) + this.State.GetHashCode(); hashCode = (hashCode * 59) + this.Status.GetHashCode(); if (this.StatusDescription != null) diff --git a/src/VRChat.API/Model/UserExists.cs b/src/VRChat.API/Model/UserExists.cs index aad7c858..db4e8ee3 100644 --- a/src/VRChat.API/Model/UserExists.cs +++ b/src/VRChat.API/Model/UserExists.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UserState.cs b/src/VRChat.API/Model/UserState.cs index fbfef822..d6f79397 100644 --- a/src/VRChat.API/Model/UserState.cs +++ b/src/VRChat.API/Model/UserState.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UserStatus.cs b/src/VRChat.API/Model/UserStatus.cs index 95050099..23c037e1 100644 --- a/src/VRChat.API/Model/UserStatus.cs +++ b/src/VRChat.API/Model/UserStatus.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UserSubscription.cs b/src/VRChat.API/Model/UserSubscription.cs index b7788418..47ccf7af 100644 --- a/src/VRChat.API/Model/UserSubscription.cs +++ b/src/VRChat.API/Model/UserSubscription.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Verify2FAEmailCodeResult.cs b/src/VRChat.API/Model/Verify2FAEmailCodeResult.cs index bc3f3e6d..6ebcbf51 100644 --- a/src/VRChat.API/Model/Verify2FAEmailCodeResult.cs +++ b/src/VRChat.API/Model/Verify2FAEmailCodeResult.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/Verify2FAResult.cs b/src/VRChat.API/Model/Verify2FAResult.cs index 440b3b43..86b6fe2c 100644 --- a/src/VRChat.API/Model/Verify2FAResult.cs +++ b/src/VRChat.API/Model/Verify2FAResult.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/VerifyAuthTokenResult.cs b/src/VRChat.API/Model/VerifyAuthTokenResult.cs index 371b2a6a..c2cdc7b2 100644 --- a/src/VRChat.API/Model/VerifyAuthTokenResult.cs +++ b/src/VRChat.API/Model/VerifyAuthTokenResult.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/World.cs b/src/VRChat.API/Model/World.cs index a69016fa..c9f228fc 100644 --- a/src/VRChat.API/Model/World.cs +++ b/src/VRChat.API/Model/World.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/WorldMetadata.cs b/src/VRChat.API/Model/WorldMetadata.cs index 3122562d..2f57af60 100644 --- a/src/VRChat.API/Model/WorldMetadata.cs +++ b/src/VRChat.API/Model/WorldMetadata.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/WorldPublishStatus.cs b/src/VRChat.API/Model/WorldPublishStatus.cs index 51373da0..a6695ace 100644 --- a/src/VRChat.API/Model/WorldPublishStatus.cs +++ b/src/VRChat.API/Model/WorldPublishStatus.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.17.3 + * The version of the OpenAPI document: 1.17.4 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -39,17 +39,17 @@ protected WorldPublishStatus() { } /// /// Initializes a new instance of the class. /// - /// canPubilsh (required) (default to true). - public WorldPublishStatus(bool canPubilsh = true) + /// canPublish (required) (default to true). + public WorldPublishStatus(bool canPublish = true) { - this.CanPubilsh = canPubilsh; + this.CanPublish = canPublish; } /// - /// Gets or Sets CanPubilsh + /// Gets or Sets CanPublish /// - [DataMember(Name = "canPubilsh", IsRequired = true, EmitDefaultValue = true)] - public bool CanPubilsh { get; set; } + [DataMember(Name = "canPublish", IsRequired = true, EmitDefaultValue = true)] + public bool CanPublish { get; set; } /// /// Returns the string presentation of the object @@ -59,7 +59,7 @@ public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("class WorldPublishStatus {\n"); - sb.Append(" CanPubilsh: ").Append(CanPubilsh).Append("\n"); + sb.Append(" CanPublish: ").Append(CanPublish).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -96,8 +96,8 @@ public bool Equals(WorldPublishStatus input) } return ( - this.CanPubilsh == input.CanPubilsh || - this.CanPubilsh.Equals(input.CanPubilsh) + this.CanPublish == input.CanPublish || + this.CanPublish.Equals(input.CanPublish) ); } @@ -110,7 +110,7 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; - hashCode = (hashCode * 59) + this.CanPubilsh.GetHashCode(); + hashCode = (hashCode * 59) + this.CanPublish.GetHashCode(); return hashCode; } } diff --git a/src/VRChat.API/VRChat.API.csproj b/src/VRChat.API/VRChat.API.csproj index 624c4d23..92cf6830 100644 --- a/src/VRChat.API/VRChat.API.csproj +++ b/src/VRChat.API/VRChat.API.csproj @@ -12,7 +12,7 @@ VRChat API Library for .NET Copyright © 2021 Owners of GitHub organisation "vrchatapi" and individual contributors. VRChat.API - 1.17.3 + 1.17.4 bin\$(Configuration)\$(TargetFramework)\VRChat.API.xml MIT https://github.com/vrchatapi/vrchatapi-csharp.git