From 70126d085f3b440870112768b4364f15431f1d27 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sat, 5 Oct 2024 22:16:45 +0000 Subject: [PATCH] Upgrade C# SDK to spec 1.18.5 --- .openapi-generator/FILES | 32 + docs/APIConfig.md | 20 + docs/APIConfigConstants.md | 13 + docs/APIConfigConstantsGROUPS.md | 20 + docs/APIConfigConstantsINSTANCE.md | 11 + ...nfigConstantsINSTANCEPOPULATIONBRACKETS.md | 13 + ...stantsINSTANCEPOPULATIONBRACKETSCROWDED.md | 12 + ...gConstantsINSTANCEPOPULATIONBRACKETSFEW.md | 12 + ...ConstantsINSTANCEPOPULATIONBRACKETSMANY.md | 12 + docs/APIConfigConstantsLANGUAGE.md | 11 + .../APIConfigMinSupportedClientBuildNumber.md | 21 + docs/APIConfigOfflineAnalysis.md | 12 + docs/APIConfigReportCategories.md | 20 + docs/APIConfigReportReasons.md | 29 + docs/Group.md | 1 + docs/GroupMember.md | 2 + docs/Instance.md | 4 + docs/InstancePlatforms.md | 1 + docs/InstancesApi.md | 102 +--- docs/LimitedUser.md | 1 + docs/LimitedWorld.md | 1 + docs/PerformanceRatings.md | 10 + docs/Permission.md | 3 + docs/PlatformBuildInfo.md | 12 + docs/ReportCategory.md | 12 + docs/ReportReason.md | 12 + docs/UnityPackage.md | 2 + docs/UserExists.md | 2 +- docs/World.md | 1 + package-lock.json | 310 +++++----- package.json | 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 | 230 +------- 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 | 409 ++++++++++++- src/VRChat.API/Model/APIConfigAnnouncement.cs | 2 +- src/VRChat.API/Model/APIConfigConstants.cs | 184 ++++++ .../Model/APIConfigConstantsGROUPS.cs | 265 +++++++++ .../Model/APIConfigConstantsINSTANCE.cs | 128 ++++ ...nfigConstantsINSTANCEPOPULATIONBRACKETS.cs | 164 ++++++ ...stantsINSTANCEPOPULATIONBRACKETSCROWDED.cs | 140 +++++ ...gConstantsINSTANCEPOPULATIONBRACKETSFEW.cs | 140 +++++ ...ConstantsINSTANCEPOPULATIONBRACKETSMANY.cs | 140 +++++ .../Model/APIConfigConstantsLANGUAGE.cs | 130 +++++ .../Model/APIConfigDownloadURLList.cs | 2 +- src/VRChat.API/Model/APIConfigEvents.cs | 2 +- .../APIConfigMinSupportedClientBuildNumber.cs | 368 ++++++++++++ .../Model/APIConfigOfflineAnalysis.cs | 140 +++++ .../Model/APIConfigReportCategories.cs | 345 +++++++++++ .../Model/APIConfigReportReasons.cs | 552 ++++++++++++++++++ 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 | 2 +- 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 | 2 +- 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 | 23 +- 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 | 41 +- .../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 | 87 ++- src/VRChat.API/Model/InstancePlatforms.cs | 24 +- src/VRChat.API/Model/InstanceRegion.cs | 2 +- .../Model/InstanceShortNameResponse.cs | 4 +- 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/LimitedUserGroups.cs | 2 +- src/VRChat.API/Model/LimitedWorld.cs | 27 +- 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/PerformanceRatings.cs | 73 +++ src/VRChat.API/Model/Permission.cs | 58 +- src/VRChat.API/Model/PlatformBuildInfo.cs | 154 +++++ 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/ReportCategory.cs | 163 ++++++ src/VRChat.API/Model/ReportReason.cs | 163 ++++++ 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 | 2 +- src/VRChat.API/Model/SubscriptionPeriod.cs | 2 +- src/VRChat.API/Model/Success.cs | 2 +- src/VRChat.API/Model/Transaction.cs | 2 +- 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 | 36 +- 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 | 2 +- src/VRChat.API/Model/UserExists.cs | 6 +- 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 | 27 +- src/VRChat.API/Model/WorldMetadata.cs | 2 +- src/VRChat.API/Model/WorldPublishStatus.cs | 2 +- src/VRChat.API/VRChat.API.csproj | 2 +- 220 files changed, 4594 insertions(+), 691 deletions(-) create mode 100644 docs/APIConfigConstants.md create mode 100644 docs/APIConfigConstantsGROUPS.md create mode 100644 docs/APIConfigConstantsINSTANCE.md create mode 100644 docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md create mode 100644 docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md create mode 100644 docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md create mode 100644 docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md create mode 100644 docs/APIConfigConstantsLANGUAGE.md create mode 100644 docs/APIConfigMinSupportedClientBuildNumber.md create mode 100644 docs/APIConfigOfflineAnalysis.md create mode 100644 docs/APIConfigReportCategories.md create mode 100644 docs/APIConfigReportReasons.md create mode 100644 docs/PerformanceRatings.md create mode 100644 docs/PlatformBuildInfo.md create mode 100644 docs/ReportCategory.md create mode 100644 docs/ReportReason.md create mode 100644 src/VRChat.API/Model/APIConfigConstants.cs create mode 100644 src/VRChat.API/Model/APIConfigConstantsGROUPS.cs create mode 100644 src/VRChat.API/Model/APIConfigConstantsINSTANCE.cs create mode 100644 src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.cs create mode 100644 src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.cs create mode 100644 src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.cs create mode 100644 src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.cs create mode 100644 src/VRChat.API/Model/APIConfigConstantsLANGUAGE.cs create mode 100644 src/VRChat.API/Model/APIConfigMinSupportedClientBuildNumber.cs create mode 100644 src/VRChat.API/Model/APIConfigOfflineAnalysis.cs create mode 100644 src/VRChat.API/Model/APIConfigReportCategories.cs create mode 100644 src/VRChat.API/Model/APIConfigReportReasons.cs create mode 100644 src/VRChat.API/Model/PerformanceRatings.cs create mode 100644 src/VRChat.API/Model/PlatformBuildInfo.cs create mode 100644 src/VRChat.API/Model/ReportCategory.cs create mode 100644 src/VRChat.API/Model/ReportReason.cs diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 6801619d..c38324b8 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -2,8 +2,20 @@ appveyor.yml docs/APIConfig.md docs/APIConfigAnnouncement.md +docs/APIConfigConstants.md +docs/APIConfigConstantsGROUPS.md +docs/APIConfigConstantsINSTANCE.md +docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md +docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md +docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md +docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md +docs/APIConfigConstantsLANGUAGE.md docs/APIConfigDownloadURLList.md docs/APIConfigEvents.md +docs/APIConfigMinSupportedClientBuildNumber.md +docs/APIConfigOfflineAnalysis.md +docs/APIConfigReportCategories.md +docs/APIConfigReportReasons.md docs/APIHealth.md docs/AccountDeletionLog.md docs/AddFavoriteRequest.md @@ -108,13 +120,17 @@ docs/NotificationsApi.md docs/OrderOption.md docs/PaginatedGroupAuditLogEntryList.md docs/PastDisplayName.md +docs/PerformanceRatings.md docs/Permission.md docs/PermissionsApi.md +docs/PlatformBuildInfo.md docs/PlayerModeration.md docs/PlayerModerationType.md docs/PlayermoderationApi.md docs/Region.md docs/ReleaseStatus.md +docs/ReportCategory.md +docs/ReportReason.md docs/RepresentedGroup.md docs/RequestInviteRequest.md docs/RespondGroupJoinRequest.md @@ -189,8 +205,20 @@ src/VRChat.API/Client/RequestOptions.cs src/VRChat.API/Client/RetryConfiguration.cs src/VRChat.API/Model/APIConfig.cs src/VRChat.API/Model/APIConfigAnnouncement.cs +src/VRChat.API/Model/APIConfigConstants.cs +src/VRChat.API/Model/APIConfigConstantsGROUPS.cs +src/VRChat.API/Model/APIConfigConstantsINSTANCE.cs +src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.cs +src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.cs +src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.cs +src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.cs +src/VRChat.API/Model/APIConfigConstantsLANGUAGE.cs src/VRChat.API/Model/APIConfigDownloadURLList.cs src/VRChat.API/Model/APIConfigEvents.cs +src/VRChat.API/Model/APIConfigMinSupportedClientBuildNumber.cs +src/VRChat.API/Model/APIConfigOfflineAnalysis.cs +src/VRChat.API/Model/APIConfigReportCategories.cs +src/VRChat.API/Model/APIConfigReportReasons.cs src/VRChat.API/Model/APIHealth.cs src/VRChat.API/Model/AbstractOpenAPISchema.cs src/VRChat.API/Model/AccountDeletionLog.cs @@ -286,11 +314,15 @@ src/VRChat.API/Model/NotificationType.cs src/VRChat.API/Model/OrderOption.cs src/VRChat.API/Model/PaginatedGroupAuditLogEntryList.cs src/VRChat.API/Model/PastDisplayName.cs +src/VRChat.API/Model/PerformanceRatings.cs src/VRChat.API/Model/Permission.cs +src/VRChat.API/Model/PlatformBuildInfo.cs src/VRChat.API/Model/PlayerModeration.cs src/VRChat.API/Model/PlayerModerationType.cs src/VRChat.API/Model/Region.cs src/VRChat.API/Model/ReleaseStatus.cs +src/VRChat.API/Model/ReportCategory.cs +src/VRChat.API/Model/ReportReason.cs src/VRChat.API/Model/RepresentedGroup.cs src/VRChat.API/Model/RequestInviteRequest.cs src/VRChat.API/Model/RespondGroupJoinRequest.cs diff --git a/docs/APIConfig.md b/docs/APIConfig.md index e59303eb..699f0bd2 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -8,14 +8,18 @@ Name | Type | Description | Notes **VoiceEnableReceiverLimiting** | **bool** | Unknown, probably voice optimization testing | [default to true] **Address** | **string** | VRChat's office address | **Announcements** | [**List<APIConfigAnnouncement>**](APIConfigAnnouncement.md) | Public Announcements | +**AnalyticsSegmentNewUIPctOfUsers** | **int** | Unknown | +**AnalyticsSegmentNewUISalt** | **string** | Unknown | **AppName** | **string** | Game name | [default to "VrChat"] **AvailableLanguageCodes** | **List<string>** | List of supported Languages | **AvailableLanguages** | **List<string>** | List of supported Languages | **BuildVersionTag** | **string** | Build tag of the API server | +**ChatboxLogBufferSeconds** | **int** | Unknown | [default to 40] **ClientApiKey** | **string** | apiKey to be used for all other requests | **ClientBPSCeiling** | **int** | Unknown | [default to 18432] **ClientDisconnectTimeout** | **int** | Unknown | [default to 30000] **ClientNetDispatchThread** | **bool** | Unknown | [optional] [default to false] +**ClientNetDispatchThreadMobile** | **bool** | Unknown | [default to true] **ClientNetInThread** | **bool** | Unknown | [optional] [default to false] **ClientNetInThread2** | **bool** | Unknown | [optional] [default to false] **ClientNetInThreadMobile** | **bool** | Unknown | [optional] [default to false] @@ -27,6 +31,7 @@ Name | Type | Description | Notes **ClientQR** | **int** | Unknown | [optional] [default to 1] **ClientReservedPlayerBPS** | **int** | Unknown | [default to 7168] **ClientSentCountAllowance** | **int** | Unknown | [default to 15] +**Constants** | [**APIConfigConstants**](APIConfigConstants.md) | | **ContactEmail** | **string** | VRChat's contact email | **CopyrightEmail** | **string** | VRChat's copyright-issues-related email | **CurrentPrivacyVersion** | **int** | Current version number of the Privacy Agreement | [optional] [default to 1] @@ -61,13 +66,24 @@ Name | Type | Description | Notes **EconomyPauseStart** | **string** | Unknown | [optional] **EconomyState** | **int** | Unknown | [optional] [default to 1] **Events** | [**APIConfigEvents**](APIConfigEvents.md) | | +**ForceUseLatestWorld** | **bool** | Unknown | [default to true] +**GoogleApiClientId** | **string** | Unknown | [default to "827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com"] **HomeWorldId** | **string** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **HomepageRedirectTarget** | **string** | Redirect target if you try to open the base API domain in your browser | [default to "https://hello.vrchat.com"] **HubWorldId** | **string** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **ImageHostUrlList** | **List<string>** | A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage). | **JobsEmail** | **string** | VRChat's job application email | +**MinSupportedClientBuildNumber** | [**APIConfigMinSupportedClientBuildNumber**](APIConfigMinSupportedClientBuildNumber.md) | | +**MinimumUnityVersionForUploads** | **string** | Minimum Unity version required for uploading assets | [default to "2019.0.0f1"] **ModerationEmail** | **string** | VRChat's moderation related email | **NotAllowedToSelectAvatarInPrivateWorldMessage** | **string** | Used in-game to notify a user they aren't allowed to select avatars in private worlds | +**OfflineAnalysis** | [**APIConfigOfflineAnalysis**](APIConfigOfflineAnalysis.md) | | +**PhotonNameserverOverrides** | **List<string>** | Unknown | +**PhotonPublicKeys** | **List<string>** | Unknown | +**ReportCategories** | [**APIConfigReportCategories**](APIConfigReportCategories.md) | | +**ReportFormUrl** | **string** | URL to the report form | [default to "https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}"] +**ReportOptions** | **Object** | Options for reporting content | +**ReportReasons** | [**APIConfigReportReasons**](APIConfigReportReasons.md) | | **SdkDeveloperFaqUrl** | **string** | Link to the developer FAQ | **SdkDiscordUrl** | **string** | Link to the official VRChat Discord | **SdkNotAllowedToPublishMessage** | **string** | Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet | @@ -75,6 +91,7 @@ Name | Type | Description | Notes **ServerName** | **string** | Server name of the API server currently responding | **StringHostUrlList** | **List<string>** | A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). | **SupportEmail** | **string** | VRChat's support email | +**Timekeeping** | **bool** | Unknown | [default to true] **TimeOutWorldId** | **string** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **TutorialWorldId** | **string** | WorldID be \"offline\" on User profiles if you are not friends with that user. | **UpdateRateMsMaximum** | **int** | Unknown | @@ -88,6 +105,9 @@ Name | Type | Description | Notes **WhiteListedAssetUrls** | **List<string>** | List of allowed URLs that are allowed to host avatar assets | **PlayerUrlResolverVersion** | **string** | Currently used youtube-dl.exe version | **PlayerUrlResolverSha1** | **string** | Currently used youtube-dl.exe hash in SHA1-delimited format | +**WebsocketMaxFriendsRefreshDelay** | **int** | Unknown | [default to 900] +**WebsocketQuickReconnectTime** | **int** | Unknown | [default to 2] +**WebsocketReconnectMaxDelay** | **int** | Unknown | [default to 2] [[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/APIConfigConstants.md b/docs/APIConfigConstants.md new file mode 100644 index 00000000..33f1d037 --- /dev/null +++ b/docs/APIConfigConstants.md @@ -0,0 +1,13 @@ +# VRChat.API.Model.APIConfigConstants +Constants + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**GROUPS** | [**APIConfigConstantsGROUPS**](APIConfigConstantsGROUPS.md) | | +**INSTANCE** | [**APIConfigConstantsINSTANCE**](APIConfigConstantsINSTANCE.md) | | +**LANGUAGE** | [**APIConfigConstantsLANGUAGE**](APIConfigConstantsLANGUAGE.md) | | + +[[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/APIConfigConstantsGROUPS.md b/docs/APIConfigConstantsGROUPS.md new file mode 100644 index 00000000..4d439d18 --- /dev/null +++ b/docs/APIConfigConstantsGROUPS.md @@ -0,0 +1,20 @@ +# VRChat.API.Model.APIConfigConstantsGROUPS +Group-related constants + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CAPACITY** | **int** | Maximum group capacity | [optional] [default to 100000] +**GROUP_TRANSFER_REQUIREMENTS** | **List<string>** | Requirements for transferring group ownership | [optional] +**MAX_INVITES_REQUESTS** | **int** | Maximum number of invite requests | [optional] [default to 50] +**MAX_JOINED** | **int** | Maximum number of joined groups | [optional] [default to 100] +**MAX_JOINED_PLUS** | **int** | Maximum number of joined groups for VRChat Plus members | [optional] [default to 200] +**MAX_LANGUAGES** | **int** | Maximum number of supported languages | [optional] [default to 10] +**MAX_LINKS** | **int** | Maximum number of group links | [optional] [default to 3] +**MAX_MANAGEMENT_ROLES** | **int** | Maximum number of management roles in a group | [optional] [default to 5] +**MAX_OWNED** | **int** | Maximum number of groups a user can own | [optional] [default to 5] +**MAX_ROLES** | **int** | Maximum number of roles in a group | [optional] [default to 50] + +[[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/APIConfigConstantsINSTANCE.md b/docs/APIConfigConstantsINSTANCE.md new file mode 100644 index 00000000..e8e57bc1 --- /dev/null +++ b/docs/APIConfigConstantsINSTANCE.md @@ -0,0 +1,11 @@ +# VRChat.API.Model.APIConfigConstantsINSTANCE +Instance-related constants + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**POPULATION_BRACKETS** | [**APIConfigConstantsINSTANCEPOPULATIONBRACKETS**](APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md) | | [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/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md new file mode 100644 index 00000000..84b5a6df --- /dev/null +++ b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.md @@ -0,0 +1,13 @@ +# VRChat.API.Model.APIConfigConstantsINSTANCEPOPULATIONBRACKETS +Population brackets based on instance population + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CROWDED** | [**APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED**](APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md) | | [optional] +**FEW** | [**APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW**](APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md) | | [optional] +**MANY** | [**APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY**](APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md) | | [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/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md new file mode 100644 index 00000000..9d72f0e1 --- /dev/null +++ b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.md @@ -0,0 +1,12 @@ +# VRChat.API.Model.APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED +Crowded population range + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Max** | **int** | Maximum population for a crowded instance | [optional] +**Min** | **int** | Minimum population for a crowded instance | [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/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md new file mode 100644 index 00000000..7e7ed635 --- /dev/null +++ b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.md @@ -0,0 +1,12 @@ +# VRChat.API.Model.APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW +Few population range + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Max** | **int** | Maximum population for a few instance | [optional] +**Min** | **int** | Minimum population for a few instance | [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/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md new file mode 100644 index 00000000..b80ae739 --- /dev/null +++ b/docs/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.md @@ -0,0 +1,12 @@ +# VRChat.API.Model.APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY +Many population range + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Max** | **int** | Maximum population for a many instance | [optional] +**Min** | **int** | Minimum population for a many instance | [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/APIConfigConstantsLANGUAGE.md b/docs/APIConfigConstantsLANGUAGE.md new file mode 100644 index 00000000..0e39a633 --- /dev/null +++ b/docs/APIConfigConstantsLANGUAGE.md @@ -0,0 +1,11 @@ +# VRChat.API.Model.APIConfigConstantsLANGUAGE +Language-related constants + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SPOKEN_LANGUAGE_OPTIONS** | **Dictionary<string, string>** | Supported spoken language options | [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/APIConfigMinSupportedClientBuildNumber.md b/docs/APIConfigMinSupportedClientBuildNumber.md new file mode 100644 index 00000000..1cff3b2e --- /dev/null +++ b/docs/APIConfigMinSupportedClientBuildNumber.md @@ -0,0 +1,21 @@ +# VRChat.API.Model.APIConfigMinSupportedClientBuildNumber +Minimum supported client build number for various platforms + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AppStore** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**Default** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**Firebase** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**FirebaseiOS** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**GooglePlay** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**PC** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**PicoStore** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**QuestAppLab** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**QuestStore** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**TestFlight** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | +**XRElite** | [**PlatformBuildInfo**](PlatformBuildInfo.md) | | + +[[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/APIConfigOfflineAnalysis.md b/docs/APIConfigOfflineAnalysis.md new file mode 100644 index 00000000..3e26da03 --- /dev/null +++ b/docs/APIConfigOfflineAnalysis.md @@ -0,0 +1,12 @@ +# VRChat.API.Model.APIConfigOfflineAnalysis +Whether to allow offline analysis + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Android** | **bool** | Whether to allow offline analysis | [optional] [default to true] +**Standalonewindows** | **bool** | Whether to allow offline analysis | [optional] [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/docs/APIConfigReportCategories.md b/docs/APIConfigReportCategories.md new file mode 100644 index 00000000..5c35903b --- /dev/null +++ b/docs/APIConfigReportCategories.md @@ -0,0 +1,20 @@ +# VRChat.API.Model.APIConfigReportCategories +Categories available for reporting objectionable content + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Avatar** | [**ReportCategory**](ReportCategory.md) | | +**Behavior** | [**ReportCategory**](ReportCategory.md) | | +**Chat** | [**ReportCategory**](ReportCategory.md) | | +**Environment** | [**ReportCategory**](ReportCategory.md) | | +**Groupstore** | [**ReportCategory**](ReportCategory.md) | | +**Image** | [**ReportCategory**](ReportCategory.md) | | +**Text** | [**ReportCategory**](ReportCategory.md) | | +**Warnings** | [**ReportCategory**](ReportCategory.md) | | +**Worldimage** | [**ReportCategory**](ReportCategory.md) | | +**Worldstore** | [**ReportCategory**](ReportCategory.md) | | + +[[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/APIConfigReportReasons.md b/docs/APIConfigReportReasons.md new file mode 100644 index 00000000..bb18aee1 --- /dev/null +++ b/docs/APIConfigReportReasons.md @@ -0,0 +1,29 @@ +# VRChat.API.Model.APIConfigReportReasons +Reasons available for reporting users + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Billing** | [**ReportReason**](ReportReason.md) | | +**Botting** | [**ReportReason**](ReportReason.md) | | +**Cancellation** | [**ReportReason**](ReportReason.md) | | +**Gore** | [**ReportReason**](ReportReason.md) | | +**Hacking** | [**ReportReason**](ReportReason.md) | | +**Harassing** | [**ReportReason**](ReportReason.md) | | +**Hateful** | [**ReportReason**](ReportReason.md) | | +**Impersonation** | [**ReportReason**](ReportReason.md) | | +**Inappropriate** | [**ReportReason**](ReportReason.md) | | +**Leaking** | [**ReportReason**](ReportReason.md) | | +**Malicious** | [**ReportReason**](ReportReason.md) | | +**Missing** | [**ReportReason**](ReportReason.md) | | +**Nudity** | [**ReportReason**](ReportReason.md) | | +**Renewal** | [**ReportReason**](ReportReason.md) | | +**Security** | [**ReportReason**](ReportReason.md) | | +**Service** | [**ReportReason**](ReportReason.md) | | +**Sexual** | [**ReportReason**](ReportReason.md) | | +**Threatening** | [**ReportReason**](ReportReason.md) | | +**Visuals** | [**ReportReason**](ReportReason.md) | | + +[[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/Group.md b/docs/Group.md index c555e422..084fbd23 100644 --- a/docs/Group.md +++ b/docs/Group.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Badges** | **List<string>** | | [optional] **Id** | **string** | | [optional] **Name** | **string** | | [optional] **ShortCode** | **string** | | [optional] diff --git a/docs/GroupMember.md b/docs/GroupMember.md index 65bdf650..b93ee6d0 100644 --- a/docs/GroupMember.md +++ b/docs/GroupMember.md @@ -4,6 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**AcceptedByDisplayName** | **string** | | [optional] +**AcceptedById** | **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] **Id** | **string** | | [optional] **GroupId** | **string** | | [optional] **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] diff --git a/docs/Instance.md b/docs/Instance.md index c8279357..97c2ab60 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -9,9 +9,12 @@ Name | Type | Description | Notes **CanRequestInvite** | **bool** | | [default to true] **Capacity** | **int** | | **ClientNumber** | **string** | Always returns \"unknown\". | +**DisplayName** | **string** | | **Full** | **bool** | | [default to false] +**GameServerVersion** | **int** | | **Id** | **string** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **InstanceId** | **string** | | +**InstancePersistenceEnabled** | **string** | | **Location** | **string** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **NUsers** | **int** | | **Name** | **string** | | @@ -19,6 +22,7 @@ Name | Type | Description | Notes **Permanent** | **bool** | | [default to false] **PhotonRegion** | **Region** | | **Platforms** | [**InstancePlatforms**](InstancePlatforms.md) | | +**PlayerPersistenceEnabled** | **string** | | **Region** | **InstanceRegion** | | **SecureName** | **string** | | **ShortName** | **string** | | [optional] diff --git a/docs/InstancePlatforms.md b/docs/InstancePlatforms.md index 181a1ee6..34b2d02c 100644 --- a/docs/InstancePlatforms.md +++ b/docs/InstancePlatforms.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Android** | **int** | | +**Ios** | **int** | | [optional] **Standalonewindows** | **int** | | [[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/InstancesApi.md b/docs/InstancesApi.md index 6873b02d..51dd08b8 100644 --- a/docs/InstancesApi.md +++ b/docs/InstancesApi.md @@ -9,7 +9,6 @@ All URIs are relative to *https://vrchat.com/api/1* | [**GetInstance**](InstancesApi.md#getinstance) | **GET** /instances/{worldId}:{instanceId} | Get Instance | | [**GetInstanceByShortName**](InstancesApi.md#getinstancebyshortname) | **GET** /instances/s/{shortName} | Get Instance By Short Name | | [**GetShortName**](InstancesApi.md#getshortname) | **GET** /instances/{worldId}:{instanceId}/shortName | Get Instance Short Name | -| [**SendSelfInvite**](InstancesApi.md#sendselfinvite) | **POST** /instances/{worldId}:{instanceId}/invite | Send Self Invite | # **CloseInstance** @@ -495,105 +494,6 @@ catch (ApiException e) [authCookie](../README.md#authCookie) -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/plain, application/json - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Returns an instance secureName and/or shortName. | - | -| **401** | Error response due to missing auth cookie. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - - -# **SendSelfInvite** -> Success SendSelfInvite (string worldId, string instanceId) - -Send Self Invite - -Sends an invite to the instance to yourself. - -### Example -```csharp -using System.Collections.Generic; -using System.Diagnostics; -using VRChat.API.Api; -using VRChat.API.Client; -using VRChat.API.Model; - -namespace Example -{ - public class SendSelfInviteExample - { - public static void Main() - { - Configuration config = new Configuration(); - config.BasePath = "https://vrchat.com/api/1"; - // Configure API key authorization: authCookie - config.AddApiKey("auth", "YOUR_API_KEY"); - // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed - // config.AddApiKeyPrefix("auth", "Bearer"); - - var apiInstance = new InstancesApi(config); - var worldId = "worldId_example"; // string | Must be a valid world ID. - var instanceId = "instanceId_example"; // string | Must be a valid instance ID. - - try - { - // Send Self Invite - Success result = apiInstance.SendSelfInvite(worldId, instanceId); - Debug.WriteLine(result); - } - catch (ApiException e) - { - Debug.Print("Exception when calling InstancesApi.SendSelfInvite: " + e.Message); - Debug.Print("Status Code: " + e.ErrorCode); - Debug.Print(e.StackTrace); - } - } - } -} -``` - -#### Using the SendSelfInviteWithHttpInfo variant -This returns an ApiResponse object which contains the response data, status code and headers. - -```csharp -try -{ - // Send Self Invite - ApiResponse response = apiInstance.SendSelfInviteWithHttpInfo(worldId, instanceId); - Debug.Write("Status Code: " + response.StatusCode); - Debug.Write("Response Headers: " + response.Headers); - Debug.Write("Response Body: " + response.Data); -} -catch (ApiException e) -{ - Debug.Print("Exception when calling InstancesApi.SendSelfInviteWithHttpInfo: " + e.Message); - Debug.Print("Status Code: " + e.ErrorCode); - Debug.Print(e.StackTrace); -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------|------|-------------|-------| -| **worldId** | **string** | Must be a valid world ID. | | -| **instanceId** | **string** | Must be a valid instance ID. | | - -### Return type - -[**Success**](Success.md) - -### Authorization - -[authCookie](../README.md#authCookie) - ### HTTP request headers - **Content-Type**: Not defined @@ -603,7 +503,7 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Success response after sending an invite to yourself to the instance. | - | +| **200** | Returns an instance secureName and/or shortName. | - | | **401** | Error response due to missing auth cookie. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/LimitedUser.md b/docs/LimitedUser.md index 5bbab709..530d0b2b 100644 --- a/docs/LimitedUser.md +++ b/docs/LimitedUser.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **Id** | **string** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **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`. | +**LastLogin** | **DateTime?** | | [optional] **ProfilePicOverride** | **string** | | [optional] **Pronouns** | **string** | | [optional] **Status** | **UserStatus** | | diff --git a/docs/LimitedWorld.md b/docs/LimitedWorld.md index 67c6edb1..5fb63bd3 100644 --- a/docs/LimitedWorld.md +++ b/docs/LimitedWorld.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **PreviewYoutubeId** | **string** | | [optional] **PublicationDate** | **string** | | **ReleaseStatus** | **ReleaseStatus** | | +**StoreId** | **string** | | **Tags** | **List<string>** | | **ThumbnailImageUrl** | **string** | | **UnityPackages** | [**List<LimitedUnityPackage>**](LimitedUnityPackage.md) | | diff --git a/docs/PerformanceRatings.md b/docs/PerformanceRatings.md new file mode 100644 index 00000000..714ff7a3 --- /dev/null +++ b/docs/PerformanceRatings.md @@ -0,0 +1,10 @@ +# VRChat.API.Model.PerformanceRatings +Avatar Performance ratings. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/Permission.md b/docs/Permission.md index e6a424b6..4a538636 100644 --- a/docs/Permission.md +++ b/docs/Permission.md @@ -4,10 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**DisplayName** | **string** | | [optional] +**Description** | **string** | | [optional] **Id** | **string** | | **OwnerDisplayName** | **string** | | **Name** | **string** | | **OwnerId** | **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. | +**Type** | **string** | | [optional] **Data** | **Object** | | [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/PlatformBuildInfo.md b/docs/PlatformBuildInfo.md new file mode 100644 index 00000000..b4fd67bb --- /dev/null +++ b/docs/PlatformBuildInfo.md @@ -0,0 +1,12 @@ +# VRChat.API.Model.PlatformBuildInfo +Build information for a platform + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MinBuildNumber** | **int** | Minimum build number required for the platform | +**RedirectionAddress** | **string** | Redirection URL for updating the app | + +[[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/ReportCategory.md b/docs/ReportCategory.md new file mode 100644 index 00000000..7f0bddf3 --- /dev/null +++ b/docs/ReportCategory.md @@ -0,0 +1,12 @@ +# VRChat.API.Model.ReportCategory +A category used for reporting content + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Text** | **string** | The label of the report category | +**Tooltip** | **string** | The tooltip that describes the category | + +[[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/ReportReason.md b/docs/ReportReason.md new file mode 100644 index 00000000..0f55ff9d --- /dev/null +++ b/docs/ReportReason.md @@ -0,0 +1,12 @@ +# VRChat.API.Model.ReportReason +A reason used for reporting users + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Text** | **string** | The label or name of the report reason | +**Tooltip** | **string** | A brief explanation of what this reason entails | + +[[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 2a121ebc..be020b10 100644 --- a/docs/UnityPackage.md +++ b/docs/UnityPackage.md @@ -10,11 +10,13 @@ Name | Type | Description | Notes **AssetVersion** | **int** | | **CreatedAt** | **DateTime** | | [optional] **ImpostorizerVersion** | **string** | | [optional] +**PerformanceRating** | **PerformanceRatings** | | [optional] **Platform** | **string** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | **PluginUrl** | **string** | | [optional] **PluginUrlObject** | **Object** | | [optional] **UnitySortNumber** | **long** | | [optional] **UnityVersion** | **string** | | [default to "5.3.4p1"] +**WorldSignature** | **string** | | [optional] **ImpostorUrl** | **string** | | [optional] **ScanStatus** | **string** | | [optional] **Variant** | **string** | | [optional] diff --git a/docs/UserExists.md b/docs/UserExists.md index ee090d4b..29547391 100644 --- a/docs/UserExists.md +++ b/docs/UserExists.md @@ -6,7 +6,7 @@ Status object representing if a queried user by username or userId exists or not Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **_UserExists** | **bool** | Status if a user exist with that username or userId. | [default to false] -**NameOk** | **bool** | Is the username valid? | [default to false] +**NameOk** | **bool** | Is the username valid? | [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/World.md b/docs/World.md index fb32e7a8..7f001612 100644 --- a/docs/World.md +++ b/docs/World.md @@ -27,6 +27,7 @@ Name | Type | Description | Notes **PublicOccupants** | **int** | Will always be `0` when unauthenticated. | [optional] [default to 0] **PublicationDate** | **string** | | **ReleaseStatus** | **ReleaseStatus** | | +**StoreId** | **string** | | **Tags** | **List<string>** | | **ThumbnailImageUrl** | **string** | | **UnityPackages** | [**List<UnityPackage>**](UnityPackage.md) | Empty if unauthenticated. | [optional] diff --git a/package-lock.json b/package-lock.json index b64680be..b502076e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.9" + "@openapitools/openapi-generator-cli": "^2.13.13" } }, "node_modules/@lukeed/csprng": { @@ -54,11 +54,6 @@ } } }, - "node_modules/@nestjs/common/node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" - }, "node_modules/@nestjs/core": { "version": "10.4.3", "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-10.4.3.tgz", @@ -96,11 +91,6 @@ } } }, - "node_modules/@nestjs/core/node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" - }, "node_modules/@nuxtjs/opencollective": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz", @@ -119,35 +109,35 @@ } }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.13.9", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.9.tgz", - "integrity": "sha512-GJaWGcHmLsvj/G1mRDytm9PTDwRGSYUDTf1uA/2FYxQAb5sq4nkZz1tD4Z7qDlZ3xTYSTw4Z8BQUdlsnrA8rcw==", + "version": "2.13.13", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.13.tgz", + "integrity": "sha512-uioqbxB6TfiLoOEE3T8kqTn/ffaRzOwS3ATMQnoMvh2lwADKMT6bDLfE3YO3XTEj+HflXcsLXQGK6PLiqa8Mmw==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "3.0.3", "@nestjs/common": "10.4.3", "@nestjs/core": "10.4.3", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.7.4", + "axios": "1.7.7", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", "fs-extra": "10.1.0", - "glob": "7.2.3", - "https-proxy-agent": "7.0.4", + "glob": "9.3.5", + "https-proxy-agent": "7.0.5", "inquirer": "8.2.6", "lodash": "4.17.21", "reflect-metadata": "0.1.13", "rxjs": "7.8.1", - "tslib": "2.6.2" + "tslib": "2.7.0" }, "bin": { "openapi-generator-cli": "main.js" }, "engines": { - "node": ">=10.0.0" + "node": ">=16" }, "funding": { "type": "opencollective", @@ -207,9 +197,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", - "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -251,12 +241,11 @@ } }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "balanced-match": "^1.0.0" } }, "node_modules/buffer": { @@ -390,11 +379,6 @@ "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.4.tgz", "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, "node_modules/concurrently": { "version": "6.5.1", "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-6.5.1.tgz", @@ -475,11 +459,11 @@ } }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -626,19 +610,17 @@ } }, "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "9.3.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", + "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", "dependencies": { "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -658,9 +640,9 @@ } }, "node_modules/https-proxy-agent": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", - "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", "dependencies": { "agent-base": "^7.0.2", "debug": "4" @@ -699,15 +681,6 @@ } ] }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -817,6 +790,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" + }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -845,20 +823,31 @@ } }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", + "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", "dependencies": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/minipass": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", + "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==", "engines": { - "node": "*" + "node": ">=8" } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/mute-stream": { "version": "0.0.8", @@ -884,14 +873,6 @@ } } }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, "node_modules/onetime": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", @@ -936,12 +917,27 @@ "node": ">=0.10.0" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "engines": { + "node": ">=16 || 14 >=14.17" } }, "node_modules/path-to-regexp": { @@ -1115,9 +1111,9 @@ } }, "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" }, "node_modules/type-fest": { "version": "0.21.3", @@ -1192,11 +1188,6 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -1251,13 +1242,6 @@ "iterare": "1.2.1", "tslib": "2.7.0", "uid": "2.0.2" - }, - "dependencies": { - "tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" - } } }, "@nestjs/core": { @@ -1271,13 +1255,6 @@ "path-to-regexp": "3.3.0", "tslib": "2.7.0", "uid": "2.0.2" - }, - "dependencies": { - "tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" - } } }, "@nuxtjs/opencollective": { @@ -1291,28 +1268,28 @@ } }, "@openapitools/openapi-generator-cli": { - "version": "2.13.9", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.9.tgz", - "integrity": "sha512-GJaWGcHmLsvj/G1mRDytm9PTDwRGSYUDTf1uA/2FYxQAb5sq4nkZz1tD4Z7qDlZ3xTYSTw4Z8BQUdlsnrA8rcw==", + "version": "2.13.13", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.13.13.tgz", + "integrity": "sha512-uioqbxB6TfiLoOEE3T8kqTn/ffaRzOwS3ATMQnoMvh2lwADKMT6bDLfE3YO3XTEj+HflXcsLXQGK6PLiqa8Mmw==", "requires": { "@nestjs/axios": "3.0.3", "@nestjs/common": "10.4.3", "@nestjs/core": "10.4.3", "@nuxtjs/opencollective": "0.3.2", - "axios": "1.7.4", + "axios": "1.7.7", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", "fs-extra": "10.1.0", - "glob": "7.2.3", - "https-proxy-agent": "7.0.4", + "glob": "9.3.5", + "https-proxy-agent": "7.0.5", "inquirer": "8.2.6", "lodash": "4.17.21", "reflect-metadata": "0.1.13", "rxjs": "7.8.1", - "tslib": "2.6.2" + "tslib": "2.7.0" } }, "agent-base": { @@ -1350,9 +1327,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", - "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", "requires": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -1380,12 +1357,11 @@ } }, "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "balanced-match": "^1.0.0" } }, "buffer": { @@ -1475,11 +1451,6 @@ "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.4.tgz", "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, "concurrently": { "version": "6.5.1", "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-6.5.1.tgz", @@ -1537,11 +1508,11 @@ "integrity": "sha512-sj+J0Mo2p2X1e306MHq282WS4/A8Pz/95GIFcsPNMPMZVI3EUrAdSv90al1k+p74WGLCruMXk23bfEDZa71X9Q==" }, "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "requires": { - "ms": "2.1.2" + "ms": "^2.1.3" } }, "defaults": { @@ -1639,16 +1610,14 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" }, "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "9.3.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", + "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", "requires": { "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" } }, "graceful-fs": { @@ -1662,9 +1631,9 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "https-proxy-agent": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", - "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", "requires": { "agent-base": "^7.0.2", "debug": "4" @@ -1683,15 +1652,6 @@ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -1774,6 +1734,11 @@ "is-unicode-supported": "^0.1.0" } }, + "lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" + }, "mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -1793,17 +1758,22 @@ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" }, "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", + "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" } }, + "minipass": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", + "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==" + }, "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "mute-stream": { "version": "0.0.8", @@ -1818,14 +1788,6 @@ "whatwg-url": "^5.0.0" } }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "requires": { - "wrappy": "1" - } - }, "onetime": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", @@ -1855,10 +1817,21 @@ "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" + "path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "requires": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "dependencies": { + "minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==" + } + } }, "path-to-regexp": { "version": "3.3.0", @@ -1990,9 +1963,9 @@ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==" }, "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" }, "type-fest": { "version": "0.21.3", @@ -2049,11 +2022,6 @@ "strip-ansi": "^6.0.0" } }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", diff --git a/package.json b/package.json index db198dad..725653c9 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@openapitools/openapi-generator-cli": "^2.13.9" + "@openapitools/openapi-generator-cli": "^2.13.13" } } diff --git a/src/VRChat.API/Api/AuthenticationApi.cs b/src/VRChat.API/Api/AuthenticationApi.cs index f52f2700..4ef252ee 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 f851056b..95697acf 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 c8d8c7a4..bf318c8d 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 ef65f46c..d3c02659 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 b454de55..d9356e3d 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 74436916..35e9d70e 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 660c64a5..2a86982e 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 37a89d58..6acaff29 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -151,31 +151,6 @@ public interface IInstancesApiSync : IApiAccessor /// Index associated with the operation. /// ApiResponse of InstanceShortNameResponse ApiResponse GetShortNameWithHttpInfo(string worldId, string instanceId, int operationIndex = 0); - /// - /// Send Self Invite - /// - /// - /// Sends an invite to the instance to yourself. - /// - /// Thrown when fails to make API call - /// Must be a valid world ID. - /// Must be a valid instance ID. - /// Index associated with the operation. - /// Success - Success SendSelfInvite(string worldId, string instanceId, int operationIndex = 0); - - /// - /// Send Self Invite - /// - /// - /// Sends an invite to the instance to yourself. - /// - /// Thrown when fails to make API call - /// Must be a valid world ID. - /// Must be a valid instance ID. - /// Index associated with the operation. - /// ApiResponse of Success - ApiResponse SendSelfInviteWithHttpInfo(string worldId, string instanceId, int operationIndex = 0); #endregion Synchronous Operations } @@ -320,33 +295,6 @@ public interface IInstancesApiAsync : IApiAccessor /// Cancellation Token to cancel the request. /// Task of ApiResponse (InstanceShortNameResponse) System.Threading.Tasks.Task> GetShortNameWithHttpInfoAsync(string worldId, string instanceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// - /// Send Self Invite - /// - /// - /// Sends an invite to the instance to yourself. - /// - /// Thrown when fails to make API call - /// Must be a valid world ID. - /// Must be a valid instance ID. - /// Index associated with the operation. - /// Cancellation Token to cancel the request. - /// Task of Success - System.Threading.Tasks.Task SendSelfInviteAsync(string worldId, string instanceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - - /// - /// Send Self Invite - /// - /// - /// Sends an invite to the instance to yourself. - /// - /// Thrown when fails to make API call - /// Must be a valid world ID. - /// Must be a valid instance ID. - /// Index associated with the operation. - /// Cancellation Token to cancel the request. - /// Task of ApiResponse (Success) - System.Threading.Tasks.Task> SendSelfInviteWithHttpInfoAsync(string worldId, string instanceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -1196,7 +1144,6 @@ public VRChat.API.Client.ApiResponse GetShortNameWith // to determine the Accept header string[] _accepts = new string[] { - "text/plain", "application/json" }; @@ -1285,7 +1232,6 @@ public VRChat.API.Client.ApiResponse GetShortNameWith // to determine the Accept header string[] _accepts = new string[] { - "text/plain", "application/json" }; @@ -1329,179 +1275,5 @@ public VRChat.API.Client.ApiResponse GetShortNameWith return localVarResponse; } - /// - /// Send Self Invite Sends an invite to the instance to yourself. - /// - /// Thrown when fails to make API call - /// Must be a valid world ID. - /// Must be a valid instance ID. - /// Index associated with the operation. - /// Success - public Success SendSelfInvite(string worldId, string instanceId, int operationIndex = 0) - { - VRChat.API.Client.ApiResponse localVarResponse = SendSelfInviteWithHttpInfo(worldId, instanceId); - return localVarResponse.Data; - } - - /// - /// Send Self Invite Sends an invite to the instance to yourself. - /// - /// Thrown when fails to make API call - /// Must be a valid world ID. - /// Must be a valid instance ID. - /// Index associated with the operation. - /// ApiResponse of Success - public VRChat.API.Client.ApiResponse SendSelfInviteWithHttpInfo(string worldId, string instanceId, int operationIndex = 0) - { - // verify the required parameter 'worldId' is set - if (worldId == null) - { - throw new VRChat.API.Client.ApiException(400, "Missing required parameter 'worldId' when calling InstancesApi->SendSelfInvite"); - } - - // verify the required parameter 'instanceId' is set - if (instanceId == null) - { - throw new VRChat.API.Client.ApiException(400, "Missing required parameter 'instanceId' when calling InstancesApi->SendSelfInvite"); - } - - VRChat.API.Client.RequestOptions localVarRequestOptions = new VRChat.API.Client.RequestOptions(); - - string[] _contentTypes = new string[] { - }; - - // to determine the Accept header - string[] _accepts = new string[] { - "application/json" - }; - - var localVarContentType = VRChat.API.Client.ClientUtils.SelectHeaderContentType(_contentTypes); - if (localVarContentType != null) - { - localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - } - - var localVarAccept = VRChat.API.Client.ClientUtils.SelectHeaderAccept(_accepts); - if (localVarAccept != null) - { - localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - } - - localVarRequestOptions.PathParameters.Add("worldId", VRChat.API.Client.ClientUtils.ParameterToString(worldId)); // path parameter - localVarRequestOptions.PathParameters.Add("instanceId", VRChat.API.Client.ClientUtils.ParameterToString(instanceId)); // path parameter - - localVarRequestOptions.Operation = "InstancesApi.SendSelfInvite"; - localVarRequestOptions.OperationIndex = operationIndex; - - // authentication (authCookie) required - // cookie parameter support - if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth"))) - { - localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "vrchat.com")); - } - - // make the HTTP request - var localVarResponse = this.Client.Post("/instances/{worldId}:{instanceId}/invite", localVarRequestOptions, this.Configuration); - if (this.ExceptionFactory != null) - { - Exception _exception = this.ExceptionFactory("SendSelfInvite", localVarResponse); - if (_exception != null) - { - throw _exception; - } - } - - return localVarResponse; - } - - /// - /// Send Self Invite Sends an invite to the instance to yourself. - /// - /// Thrown when fails to make API call - /// Must be a valid world ID. - /// Must be a valid instance ID. - /// Index associated with the operation. - /// Cancellation Token to cancel the request. - /// Task of Success - public async System.Threading.Tasks.Task SendSelfInviteAsync(string worldId, string instanceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - VRChat.API.Client.ApiResponse localVarResponse = await SendSelfInviteWithHttpInfoAsync(worldId, instanceId, operationIndex, cancellationToken).ConfigureAwait(false); - return localVarResponse.Data; - } - - /// - /// Send Self Invite Sends an invite to the instance to yourself. - /// - /// Thrown when fails to make API call - /// Must be a valid world ID. - /// Must be a valid instance ID. - /// Index associated with the operation. - /// Cancellation Token to cancel the request. - /// Task of ApiResponse (Success) - public async System.Threading.Tasks.Task> SendSelfInviteWithHttpInfoAsync(string worldId, string instanceId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - // verify the required parameter 'worldId' is set - if (worldId == null) - { - throw new VRChat.API.Client.ApiException(400, "Missing required parameter 'worldId' when calling InstancesApi->SendSelfInvite"); - } - - // verify the required parameter 'instanceId' is set - if (instanceId == null) - { - throw new VRChat.API.Client.ApiException(400, "Missing required parameter 'instanceId' when calling InstancesApi->SendSelfInvite"); - } - - - VRChat.API.Client.RequestOptions localVarRequestOptions = new VRChat.API.Client.RequestOptions(); - - string[] _contentTypes = new string[] { - }; - - // to determine the Accept header - string[] _accepts = new string[] { - "application/json" - }; - - var localVarContentType = VRChat.API.Client.ClientUtils.SelectHeaderContentType(_contentTypes); - if (localVarContentType != null) - { - localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - } - - var localVarAccept = VRChat.API.Client.ClientUtils.SelectHeaderAccept(_accepts); - if (localVarAccept != null) - { - localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - } - - localVarRequestOptions.PathParameters.Add("worldId", VRChat.API.Client.ClientUtils.ParameterToString(worldId)); // path parameter - localVarRequestOptions.PathParameters.Add("instanceId", VRChat.API.Client.ClientUtils.ParameterToString(instanceId)); // path parameter - - localVarRequestOptions.Operation = "InstancesApi.SendSelfInvite"; - localVarRequestOptions.OperationIndex = operationIndex; - - // authentication (authCookie) required - // cookie parameter support - if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth"))) - { - localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "vrchat.com")); - } - - // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/instances/{worldId}:{instanceId}/invite", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); - - if (this.ExceptionFactory != null) - { - Exception _exception = this.ExceptionFactory("SendSelfInvite", localVarResponse); - if (_exception != null) - { - throw _exception; - } - } - - return localVarResponse; - } - } } diff --git a/src/VRChat.API/Api/InviteApi.cs b/src/VRChat.API/Api/InviteApi.cs index 5ed419bf..3ab6bcc3 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 d581e76b..4783030f 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 6db9b63b..46188488 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 2c10eb92..c53e4298 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 bdf18d3f..e2b3ab01 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 82e49c0f..7f20237f 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 e4db9113..1b82c2a7 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 89bfd84a..74b7d50f 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 cd307a86..cd18eba5 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 adff5e0a..e0a728a4 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 f5e617f1..16d4453a 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 fc90cdca..1f3226c1 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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.18.4"; + public const string Version = "1.18.5"; /// /// 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.18.4\n"; - report += " SDK Package Version: 1.18.4\n"; + report += " Version of the API: 1.18.5\n"; + report += " SDK Package Version: 1.18.5\n"; return report; } diff --git a/src/VRChat.API/Client/ExceptionFactory.cs b/src/VRChat.API/Client/ExceptionFactory.cs index f40bf9cd..a781dc81 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 9f2c6ff4..a0be6220 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 e47b48a8..a6bfa422 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 0adef02e..c4a05f12 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 e89d1225..0ec065ee 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 03305e3f..4978e3e3 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 fa80bb62..1ab38374 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 6966456d..775df52a 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 d8bb11d2..1897e720 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 52f42fc1..e3b695a3 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 5f8ed7fd..3957d943 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 316fc307..0fb3d058 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -49,14 +49,18 @@ protected APIConfig() { } /// Unknown, probably voice optimization testing (required) (default to true). /// VRChat's office address (required). /// Public Announcements (required). + /// Unknown (required). + /// Unknown (required). /// Game name (required) (default to "VrChat"). /// List of supported Languages (required). /// List of supported Languages (required). /// Build tag of the API server (required). + /// Unknown (required) (default to 40). /// apiKey to be used for all other requests (required). /// Unknown (required) (default to 18432). /// Unknown (required) (default to 30000). /// Unknown (default to false). + /// Unknown (required) (default to true). /// Unknown (default to false). /// Unknown (default to false). /// Unknown (default to false). @@ -68,6 +72,7 @@ protected APIConfig() { } /// Unknown (default to 1). /// Unknown (required) (default to 7168). /// Unknown (required) (default to 15). + /// constants (required). /// VRChat's contact email (required). /// VRChat's copyright-issues-related email (required). /// Current version number of the Privacy Agreement (default to 1). @@ -102,13 +107,24 @@ protected APIConfig() { } /// Unknown. /// Unknown (default to 1). /// events (required). + /// Unknown (required) (default to true). + /// Unknown (required) (default to "827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com"). /// WorldID be \"offline\" on User profiles if you are not friends with that user. (required). /// Redirect target if you try to open the base API domain in your browser (required) (default to "https://hello.vrchat.com"). /// WorldID be \"offline\" on User profiles if you are not friends with that user. (required). /// A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage). (required). /// VRChat's job application email (required). + /// minSupportedClientBuildNumber (required). + /// Minimum Unity version required for uploading assets (required) (default to "2019.0.0f1"). /// VRChat's moderation related email (required). /// Used in-game to notify a user they aren't allowed to select avatars in private worlds (required). + /// offlineAnalysis (required). + /// Unknown (required). + /// Unknown (required). + /// reportCategories (required). + /// URL to the report form (required) (default to "https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}"). + /// Options for reporting content (required). + /// reportReasons (required). /// Link to the developer FAQ (required). /// Link to the official VRChat Discord (required). /// Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet (required). @@ -116,6 +132,7 @@ protected APIConfig() { } /// Server name of the API server currently responding (required). /// A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). (required). /// VRChat's support email (required). + /// Unknown (required) (default to true). /// WorldID be \"offline\" on User profiles if you are not friends with that user. (required). /// WorldID be \"offline\" on User profiles if you are not friends with that user. (required). /// Unknown (required). @@ -129,7 +146,10 @@ protected APIConfig() { } /// List of allowed URLs that are allowed to host avatar assets (required). /// Currently used youtube-dl.exe version (required). /// Currently used youtube-dl.exe hash in SHA1-delimited format (required). - public APIConfig(bool voiceEnableDegradation = false, bool voiceEnableReceiverLimiting = true, string address = default(string), List announcements = default(List), string appName = "VrChat", List availableLanguageCodes = default(List), List availableLanguages = default(List), string buildVersionTag = default(string), string clientApiKey = default(string), int clientBPSCeiling = 18432, int clientDisconnectTimeout = 30000, bool clientNetDispatchThread = false, bool clientNetInThread = false, bool clientNetInThread2 = false, bool clientNetInThreadMobile = false, bool clientNetInThreadMobile2 = false, bool clientNetOutThread = false, bool clientNetOutThread2 = false, bool clientNetOutThreadMobile = false, bool clientNetOutThreadMobile2 = false, int clientQR = 1, int clientReservedPlayerBPS = 7168, int clientSentCountAllowance = 15, string contactEmail = default(string), string copyrightEmail = default(string), int currentPrivacyVersion = 1, int currentTOSVersion = default(int), string defaultAvatar = default(string), DeploymentGroup deploymentGroup = default(DeploymentGroup), List devLanguageCodes = default(List), string devSdkUrl = default(string), string devSdkVersion = default(string), DateTime disCountdown = default(DateTime), bool disableAVProInProton = false, bool disableAvatarCopying = false, bool disableAvatarGating = false, bool disableCommunityLabs = false, bool disableCommunityLabsPromotion = false, bool disableEmail = false, bool disableCaptcha = true, bool disableEventStream = false, bool disableFeedbackGating = false, bool disableFrontendBuilds = false, bool disableHello = false, bool disableOculusSubs = false, bool disableRegistration = false, bool disableSteamNetworking = true, bool disableTwoFactorAuth = false, bool disableUdon = false, bool disableUpgradeAccount = false, string downloadLinkWindows = default(string), APIConfigDownloadURLList downloadUrls = default(APIConfigDownloadURLList), List dynamicWorldRows = default(List), string economyPauseEnd = default(string), string economyPauseStart = default(string), int economyState = 1, APIConfigEvents events = default(APIConfigEvents), string homeWorldId = default(string), string homepageRedirectTarget = "https://hello.vrchat.com", string hubWorldId = default(string), List imageHostUrlList = default(List), string jobsEmail = default(string), string moderationEmail = default(string), string notAllowedToSelectAvatarInPrivateWorldMessage = default(string), string sdkDeveloperFaqUrl = default(string), string sdkDiscordUrl = default(string), string sdkNotAllowedToPublishMessage = default(string), string sdkUnityVersion = default(string), string serverName = default(string), List stringHostUrlList = default(List), string supportEmail = default(string), string timeOutWorldId = default(string), string tutorialWorldId = default(string), int updateRateMsMaximum = default(int), int updateRateMsMinimum = default(int), int updateRateMsNormal = default(int), int updateRateMsUdonManual = default(int), int uploadAnalysisPercent = default(int), List urlList = default(List), bool useReliableUdpForVoice = false, string viveWindowsUrl = default(string), List whiteListedAssetUrls = default(List), string playerUrlResolverVersion = default(string), string playerUrlResolverSha1 = default(string)) + /// Unknown (required) (default to 900). + /// Unknown (required) (default to 2). + /// Unknown (required) (default to 2). + public APIConfig(bool voiceEnableDegradation = false, bool voiceEnableReceiverLimiting = true, string address = default(string), List announcements = default(List), int analyticsSegmentNewUIPctOfUsers = default(int), string analyticsSegmentNewUISalt = default(string), string appName = "VrChat", List availableLanguageCodes = default(List), List availableLanguages = default(List), string buildVersionTag = default(string), int chatboxLogBufferSeconds = 40, string clientApiKey = default(string), int clientBPSCeiling = 18432, int clientDisconnectTimeout = 30000, bool clientNetDispatchThread = false, bool clientNetDispatchThreadMobile = true, bool clientNetInThread = false, bool clientNetInThread2 = false, bool clientNetInThreadMobile = false, bool clientNetInThreadMobile2 = false, bool clientNetOutThread = false, bool clientNetOutThread2 = false, bool clientNetOutThreadMobile = false, bool clientNetOutThreadMobile2 = false, int clientQR = 1, int clientReservedPlayerBPS = 7168, int clientSentCountAllowance = 15, APIConfigConstants constants = default(APIConfigConstants), string contactEmail = default(string), string copyrightEmail = default(string), int currentPrivacyVersion = 1, int currentTOSVersion = default(int), string defaultAvatar = default(string), DeploymentGroup deploymentGroup = default(DeploymentGroup), List devLanguageCodes = default(List), string devSdkUrl = default(string), string devSdkVersion = default(string), DateTime disCountdown = default(DateTime), bool disableAVProInProton = false, bool disableAvatarCopying = false, bool disableAvatarGating = false, bool disableCommunityLabs = false, bool disableCommunityLabsPromotion = false, bool disableEmail = false, bool disableCaptcha = true, bool disableEventStream = false, bool disableFeedbackGating = false, bool disableFrontendBuilds = false, bool disableHello = false, bool disableOculusSubs = false, bool disableRegistration = false, bool disableSteamNetworking = true, bool disableTwoFactorAuth = false, bool disableUdon = false, bool disableUpgradeAccount = false, string downloadLinkWindows = default(string), APIConfigDownloadURLList downloadUrls = default(APIConfigDownloadURLList), List dynamicWorldRows = default(List), string economyPauseEnd = default(string), string economyPauseStart = default(string), int economyState = 1, APIConfigEvents events = default(APIConfigEvents), bool forceUseLatestWorld = true, string googleApiClientId = "827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com", string homeWorldId = default(string), string homepageRedirectTarget = "https://hello.vrchat.com", string hubWorldId = default(string), List imageHostUrlList = default(List), string jobsEmail = default(string), APIConfigMinSupportedClientBuildNumber minSupportedClientBuildNumber = default(APIConfigMinSupportedClientBuildNumber), string minimumUnityVersionForUploads = "2019.0.0f1", string moderationEmail = default(string), string notAllowedToSelectAvatarInPrivateWorldMessage = default(string), APIConfigOfflineAnalysis offlineAnalysis = default(APIConfigOfflineAnalysis), List photonNameserverOverrides = default(List), List photonPublicKeys = default(List), APIConfigReportCategories reportCategories = default(APIConfigReportCategories), string reportFormUrl = "https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}", Object reportOptions = default(Object), APIConfigReportReasons reportReasons = default(APIConfigReportReasons), string sdkDeveloperFaqUrl = default(string), string sdkDiscordUrl = default(string), string sdkNotAllowedToPublishMessage = default(string), string sdkUnityVersion = default(string), string serverName = default(string), List stringHostUrlList = default(List), string supportEmail = default(string), bool timekeeping = true, string timeOutWorldId = default(string), string tutorialWorldId = default(string), int updateRateMsMaximum = default(int), int updateRateMsMinimum = default(int), int updateRateMsNormal = default(int), int updateRateMsUdonManual = default(int), int uploadAnalysisPercent = default(int), List urlList = default(List), bool useReliableUdpForVoice = false, string viveWindowsUrl = default(string), List whiteListedAssetUrls = default(List), string playerUrlResolverVersion = default(string), string playerUrlResolverSha1 = default(string), int websocketMaxFriendsRefreshDelay = 900, int websocketQuickReconnectTime = 2, int websocketReconnectMaxDelay = 2) { this.VoiceEnableDegradation = voiceEnableDegradation; this.VoiceEnableReceiverLimiting = voiceEnableReceiverLimiting; @@ -145,6 +165,13 @@ protected APIConfig() { } throw new ArgumentNullException("announcements is a required property for APIConfig and cannot be null"); } this.Announcements = announcements; + this.AnalyticsSegmentNewUIPctOfUsers = analyticsSegmentNewUIPctOfUsers; + // to ensure "analyticsSegmentNewUISalt" is required (not null) + if (analyticsSegmentNewUISalt == null) + { + throw new ArgumentNullException("analyticsSegmentNewUISalt is a required property for APIConfig and cannot be null"); + } + this.AnalyticsSegmentNewUISalt = analyticsSegmentNewUISalt; // to ensure "appName" is required (not null) if (appName == null) { @@ -169,6 +196,7 @@ protected APIConfig() { } throw new ArgumentNullException("buildVersionTag is a required property for APIConfig and cannot be null"); } this.BuildVersionTag = buildVersionTag; + this.ChatboxLogBufferSeconds = chatboxLogBufferSeconds; // to ensure "clientApiKey" is required (not null) if (clientApiKey == null) { @@ -177,8 +205,15 @@ protected APIConfig() { } this.ClientApiKey = clientApiKey; this.ClientBPSCeiling = clientBPSCeiling; this.ClientDisconnectTimeout = clientDisconnectTimeout; + this.ClientNetDispatchThreadMobile = clientNetDispatchThreadMobile; this.ClientReservedPlayerBPS = clientReservedPlayerBPS; this.ClientSentCountAllowance = clientSentCountAllowance; + // to ensure "constants" is required (not null) + if (constants == null) + { + throw new ArgumentNullException("constants is a required property for APIConfig and cannot be null"); + } + this.Constants = constants; // to ensure "contactEmail" is required (not null) if (contactEmail == null) { @@ -251,6 +286,13 @@ protected APIConfig() { } throw new ArgumentNullException("events is a required property for APIConfig and cannot be null"); } this.Events = events; + this.ForceUseLatestWorld = forceUseLatestWorld; + // to ensure "googleApiClientId" is required (not null) + if (googleApiClientId == null) + { + throw new ArgumentNullException("googleApiClientId is a required property for APIConfig and cannot be null"); + } + this.GoogleApiClientId = googleApiClientId; // to ensure "homeWorldId" is required (not null) if (homeWorldId == null) { @@ -281,6 +323,18 @@ protected APIConfig() { } throw new ArgumentNullException("jobsEmail is a required property for APIConfig and cannot be null"); } this.JobsEmail = jobsEmail; + // to ensure "minSupportedClientBuildNumber" is required (not null) + if (minSupportedClientBuildNumber == null) + { + throw new ArgumentNullException("minSupportedClientBuildNumber is a required property for APIConfig and cannot be null"); + } + this.MinSupportedClientBuildNumber = minSupportedClientBuildNumber; + // to ensure "minimumUnityVersionForUploads" is required (not null) + if (minimumUnityVersionForUploads == null) + { + throw new ArgumentNullException("minimumUnityVersionForUploads is a required property for APIConfig and cannot be null"); + } + this.MinimumUnityVersionForUploads = minimumUnityVersionForUploads; // to ensure "moderationEmail" is required (not null) if (moderationEmail == null) { @@ -293,6 +347,48 @@ protected APIConfig() { } throw new ArgumentNullException("notAllowedToSelectAvatarInPrivateWorldMessage is a required property for APIConfig and cannot be null"); } this.NotAllowedToSelectAvatarInPrivateWorldMessage = notAllowedToSelectAvatarInPrivateWorldMessage; + // to ensure "offlineAnalysis" is required (not null) + if (offlineAnalysis == null) + { + throw new ArgumentNullException("offlineAnalysis is a required property for APIConfig and cannot be null"); + } + this.OfflineAnalysis = offlineAnalysis; + // to ensure "photonNameserverOverrides" is required (not null) + if (photonNameserverOverrides == null) + { + throw new ArgumentNullException("photonNameserverOverrides is a required property for APIConfig and cannot be null"); + } + this.PhotonNameserverOverrides = photonNameserverOverrides; + // to ensure "photonPublicKeys" is required (not null) + if (photonPublicKeys == null) + { + throw new ArgumentNullException("photonPublicKeys is a required property for APIConfig and cannot be null"); + } + this.PhotonPublicKeys = photonPublicKeys; + // to ensure "reportCategories" is required (not null) + if (reportCategories == null) + { + throw new ArgumentNullException("reportCategories is a required property for APIConfig and cannot be null"); + } + this.ReportCategories = reportCategories; + // to ensure "reportFormUrl" is required (not null) + if (reportFormUrl == null) + { + throw new ArgumentNullException("reportFormUrl is a required property for APIConfig and cannot be null"); + } + this.ReportFormUrl = reportFormUrl; + // to ensure "reportOptions" is required (not null) + if (reportOptions == null) + { + throw new ArgumentNullException("reportOptions is a required property for APIConfig and cannot be null"); + } + this.ReportOptions = reportOptions; + // to ensure "reportReasons" is required (not null) + if (reportReasons == null) + { + throw new ArgumentNullException("reportReasons is a required property for APIConfig and cannot be null"); + } + this.ReportReasons = reportReasons; // to ensure "sdkDeveloperFaqUrl" is required (not null) if (sdkDeveloperFaqUrl == null) { @@ -335,6 +431,7 @@ protected APIConfig() { } throw new ArgumentNullException("supportEmail is a required property for APIConfig and cannot be null"); } this.SupportEmail = supportEmail; + this.Timekeeping = timekeeping; // to ensure "timeOutWorldId" is required (not null) if (timeOutWorldId == null) { @@ -383,6 +480,9 @@ protected APIConfig() { } throw new ArgumentNullException("playerUrlResolverSha1 is a required property for APIConfig and cannot be null"); } this.PlayerUrlResolverSha1 = playerUrlResolverSha1; + this.WebsocketMaxFriendsRefreshDelay = websocketMaxFriendsRefreshDelay; + this.WebsocketQuickReconnectTime = websocketQuickReconnectTime; + this.WebsocketReconnectMaxDelay = websocketReconnectMaxDelay; this.ClientNetDispatchThread = clientNetDispatchThread; this.ClientNetInThread = clientNetInThread; this.ClientNetInThread2 = clientNetInThread2; @@ -430,6 +530,20 @@ protected APIConfig() { } [DataMember(Name = "announcements", IsRequired = true, EmitDefaultValue = true)] public List Announcements { get; set; } + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "analyticsSegment_NewUI_PctOfUsers", IsRequired = true, EmitDefaultValue = true)] + public int AnalyticsSegmentNewUIPctOfUsers { get; set; } + + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "analyticsSegment_NewUI_Salt", IsRequired = true, EmitDefaultValue = true)] + public string AnalyticsSegmentNewUISalt { get; set; } + /// /// Game name /// @@ -459,6 +573,13 @@ protected APIConfig() { } [DataMember(Name = "buildVersionTag", IsRequired = true, EmitDefaultValue = true)] public string BuildVersionTag { get; set; } + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "chatboxLogBufferSeconds", IsRequired = true, EmitDefaultValue = true)] + public int ChatboxLogBufferSeconds { get; set; } + /// /// apiKey to be used for all other requests /// @@ -487,6 +608,13 @@ protected APIConfig() { } [DataMember(Name = "clientNetDispatchThread", EmitDefaultValue = true)] public bool ClientNetDispatchThread { get; set; } + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "clientNetDispatchThreadMobile", IsRequired = true, EmitDefaultValue = true)] + public bool ClientNetDispatchThreadMobile { get; set; } + /// /// Unknown /// @@ -564,6 +692,12 @@ protected APIConfig() { } [DataMember(Name = "clientSentCountAllowance", IsRequired = true, EmitDefaultValue = true)] public int ClientSentCountAllowance { get; set; } + /// + /// Gets or Sets Constants + /// + [DataMember(Name = "constants", IsRequired = true, EmitDefaultValue = true)] + public APIConfigConstants Constants { get; set; } + /// /// VRChat's contact email /// @@ -795,6 +929,20 @@ protected APIConfig() { } [DataMember(Name = "events", IsRequired = true, EmitDefaultValue = true)] public APIConfigEvents Events { get; set; } + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "forceUseLatestWorld", IsRequired = true, EmitDefaultValue = true)] + public bool ForceUseLatestWorld { get; set; } + + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "googleApiClientId", IsRequired = true, EmitDefaultValue = true)] + public string GoogleApiClientId { get; set; } + /// /// WorldID be \"offline\" on User profiles if you are not friends with that user. /// @@ -830,6 +978,19 @@ protected APIConfig() { } [DataMember(Name = "jobsEmail", IsRequired = true, EmitDefaultValue = true)] public string JobsEmail { get; set; } + /// + /// Gets or Sets MinSupportedClientBuildNumber + /// + [DataMember(Name = "minSupportedClientBuildNumber", IsRequired = true, EmitDefaultValue = true)] + public APIConfigMinSupportedClientBuildNumber MinSupportedClientBuildNumber { get; set; } + + /// + /// Minimum Unity version required for uploading assets + /// + /// Minimum Unity version required for uploading assets + [DataMember(Name = "minimumUnityVersionForUploads", IsRequired = true, EmitDefaultValue = true)] + public string MinimumUnityVersionForUploads { get; set; } + /// /// VRChat's moderation related email /// @@ -844,6 +1005,52 @@ protected APIConfig() { } [DataMember(Name = "notAllowedToSelectAvatarInPrivateWorldMessage", IsRequired = true, EmitDefaultValue = true)] public string NotAllowedToSelectAvatarInPrivateWorldMessage { get; set; } + /// + /// Gets or Sets OfflineAnalysis + /// + [DataMember(Name = "offlineAnalysis", IsRequired = true, EmitDefaultValue = true)] + public APIConfigOfflineAnalysis OfflineAnalysis { get; set; } + + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "photonNameserverOverrides", IsRequired = true, EmitDefaultValue = true)] + public List PhotonNameserverOverrides { get; set; } + + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "photonPublicKeys", IsRequired = true, EmitDefaultValue = true)] + public List PhotonPublicKeys { get; set; } + + /// + /// Gets or Sets ReportCategories + /// + [DataMember(Name = "reportCategories", IsRequired = true, EmitDefaultValue = true)] + public APIConfigReportCategories ReportCategories { get; set; } + + /// + /// URL to the report form + /// + /// URL to the report form + [DataMember(Name = "reportFormUrl", IsRequired = true, EmitDefaultValue = true)] + public string ReportFormUrl { get; set; } + + /// + /// Options for reporting content + /// + /// Options for reporting content + [DataMember(Name = "reportOptions", IsRequired = true, EmitDefaultValue = true)] + public Object ReportOptions { get; set; } + + /// + /// Gets or Sets ReportReasons + /// + [DataMember(Name = "reportReasons", IsRequired = true, EmitDefaultValue = true)] + public APIConfigReportReasons ReportReasons { get; set; } + /// /// Link to the developer FAQ /// @@ -893,6 +1100,13 @@ protected APIConfig() { } [DataMember(Name = "supportEmail", IsRequired = true, EmitDefaultValue = true)] public string SupportEmail { get; set; } + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "timekeeping", IsRequired = true, EmitDefaultValue = true)] + public bool Timekeeping { get; set; } + /// /// WorldID be \"offline\" on User profiles if you are not friends with that user. /// @@ -984,6 +1198,27 @@ protected APIConfig() { } [DataMember(Name = "player-url-resolver-sha1", IsRequired = true, EmitDefaultValue = true)] public string PlayerUrlResolverSha1 { get; set; } + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "websocketMaxFriendsRefreshDelay", IsRequired = true, EmitDefaultValue = true)] + public int WebsocketMaxFriendsRefreshDelay { get; set; } + + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "websocketQuickReconnectTime", IsRequired = true, EmitDefaultValue = true)] + public int WebsocketQuickReconnectTime { get; set; } + + /// + /// Unknown + /// + /// Unknown + [DataMember(Name = "websocketReconnectMaxDelay", IsRequired = true, EmitDefaultValue = true)] + public int WebsocketReconnectMaxDelay { get; set; } + /// /// Returns the string presentation of the object /// @@ -996,14 +1231,18 @@ public override string ToString() sb.Append(" VoiceEnableReceiverLimiting: ").Append(VoiceEnableReceiverLimiting).Append("\n"); sb.Append(" Address: ").Append(Address).Append("\n"); sb.Append(" Announcements: ").Append(Announcements).Append("\n"); + sb.Append(" AnalyticsSegmentNewUIPctOfUsers: ").Append(AnalyticsSegmentNewUIPctOfUsers).Append("\n"); + sb.Append(" AnalyticsSegmentNewUISalt: ").Append(AnalyticsSegmentNewUISalt).Append("\n"); sb.Append(" AppName: ").Append(AppName).Append("\n"); sb.Append(" AvailableLanguageCodes: ").Append(AvailableLanguageCodes).Append("\n"); sb.Append(" AvailableLanguages: ").Append(AvailableLanguages).Append("\n"); sb.Append(" BuildVersionTag: ").Append(BuildVersionTag).Append("\n"); + sb.Append(" ChatboxLogBufferSeconds: ").Append(ChatboxLogBufferSeconds).Append("\n"); sb.Append(" ClientApiKey: ").Append(ClientApiKey).Append("\n"); sb.Append(" ClientBPSCeiling: ").Append(ClientBPSCeiling).Append("\n"); sb.Append(" ClientDisconnectTimeout: ").Append(ClientDisconnectTimeout).Append("\n"); sb.Append(" ClientNetDispatchThread: ").Append(ClientNetDispatchThread).Append("\n"); + sb.Append(" ClientNetDispatchThreadMobile: ").Append(ClientNetDispatchThreadMobile).Append("\n"); sb.Append(" ClientNetInThread: ").Append(ClientNetInThread).Append("\n"); sb.Append(" ClientNetInThread2: ").Append(ClientNetInThread2).Append("\n"); sb.Append(" ClientNetInThreadMobile: ").Append(ClientNetInThreadMobile).Append("\n"); @@ -1015,6 +1254,7 @@ public override string ToString() sb.Append(" ClientQR: ").Append(ClientQR).Append("\n"); sb.Append(" ClientReservedPlayerBPS: ").Append(ClientReservedPlayerBPS).Append("\n"); sb.Append(" ClientSentCountAllowance: ").Append(ClientSentCountAllowance).Append("\n"); + sb.Append(" Constants: ").Append(Constants).Append("\n"); sb.Append(" ContactEmail: ").Append(ContactEmail).Append("\n"); sb.Append(" CopyrightEmail: ").Append(CopyrightEmail).Append("\n"); sb.Append(" CurrentPrivacyVersion: ").Append(CurrentPrivacyVersion).Append("\n"); @@ -1049,13 +1289,24 @@ public override string ToString() sb.Append(" EconomyPauseStart: ").Append(EconomyPauseStart).Append("\n"); sb.Append(" EconomyState: ").Append(EconomyState).Append("\n"); sb.Append(" Events: ").Append(Events).Append("\n"); + sb.Append(" ForceUseLatestWorld: ").Append(ForceUseLatestWorld).Append("\n"); + sb.Append(" GoogleApiClientId: ").Append(GoogleApiClientId).Append("\n"); sb.Append(" HomeWorldId: ").Append(HomeWorldId).Append("\n"); sb.Append(" HomepageRedirectTarget: ").Append(HomepageRedirectTarget).Append("\n"); sb.Append(" HubWorldId: ").Append(HubWorldId).Append("\n"); sb.Append(" ImageHostUrlList: ").Append(ImageHostUrlList).Append("\n"); sb.Append(" JobsEmail: ").Append(JobsEmail).Append("\n"); + sb.Append(" MinSupportedClientBuildNumber: ").Append(MinSupportedClientBuildNumber).Append("\n"); + sb.Append(" MinimumUnityVersionForUploads: ").Append(MinimumUnityVersionForUploads).Append("\n"); sb.Append(" ModerationEmail: ").Append(ModerationEmail).Append("\n"); sb.Append(" NotAllowedToSelectAvatarInPrivateWorldMessage: ").Append(NotAllowedToSelectAvatarInPrivateWorldMessage).Append("\n"); + sb.Append(" OfflineAnalysis: ").Append(OfflineAnalysis).Append("\n"); + sb.Append(" PhotonNameserverOverrides: ").Append(PhotonNameserverOverrides).Append("\n"); + sb.Append(" PhotonPublicKeys: ").Append(PhotonPublicKeys).Append("\n"); + sb.Append(" ReportCategories: ").Append(ReportCategories).Append("\n"); + sb.Append(" ReportFormUrl: ").Append(ReportFormUrl).Append("\n"); + sb.Append(" ReportOptions: ").Append(ReportOptions).Append("\n"); + sb.Append(" ReportReasons: ").Append(ReportReasons).Append("\n"); sb.Append(" SdkDeveloperFaqUrl: ").Append(SdkDeveloperFaqUrl).Append("\n"); sb.Append(" SdkDiscordUrl: ").Append(SdkDiscordUrl).Append("\n"); sb.Append(" SdkNotAllowedToPublishMessage: ").Append(SdkNotAllowedToPublishMessage).Append("\n"); @@ -1063,6 +1314,7 @@ public override string ToString() sb.Append(" ServerName: ").Append(ServerName).Append("\n"); sb.Append(" StringHostUrlList: ").Append(StringHostUrlList).Append("\n"); sb.Append(" SupportEmail: ").Append(SupportEmail).Append("\n"); + sb.Append(" Timekeeping: ").Append(Timekeeping).Append("\n"); sb.Append(" TimeOutWorldId: ").Append(TimeOutWorldId).Append("\n"); sb.Append(" TutorialWorldId: ").Append(TutorialWorldId).Append("\n"); sb.Append(" UpdateRateMsMaximum: ").Append(UpdateRateMsMaximum).Append("\n"); @@ -1076,6 +1328,9 @@ public override string ToString() sb.Append(" WhiteListedAssetUrls: ").Append(WhiteListedAssetUrls).Append("\n"); sb.Append(" PlayerUrlResolverVersion: ").Append(PlayerUrlResolverVersion).Append("\n"); sb.Append(" PlayerUrlResolverSha1: ").Append(PlayerUrlResolverSha1).Append("\n"); + sb.Append(" WebsocketMaxFriendsRefreshDelay: ").Append(WebsocketMaxFriendsRefreshDelay).Append("\n"); + sb.Append(" WebsocketQuickReconnectTime: ").Append(WebsocketQuickReconnectTime).Append("\n"); + sb.Append(" WebsocketReconnectMaxDelay: ").Append(WebsocketReconnectMaxDelay).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -1130,6 +1385,15 @@ public bool Equals(APIConfig input) input.Announcements != null && this.Announcements.SequenceEqual(input.Announcements) ) && + ( + this.AnalyticsSegmentNewUIPctOfUsers == input.AnalyticsSegmentNewUIPctOfUsers || + this.AnalyticsSegmentNewUIPctOfUsers.Equals(input.AnalyticsSegmentNewUIPctOfUsers) + ) && + ( + this.AnalyticsSegmentNewUISalt == input.AnalyticsSegmentNewUISalt || + (this.AnalyticsSegmentNewUISalt != null && + this.AnalyticsSegmentNewUISalt.Equals(input.AnalyticsSegmentNewUISalt)) + ) && ( this.AppName == input.AppName || (this.AppName != null && @@ -1152,6 +1416,10 @@ public bool Equals(APIConfig input) (this.BuildVersionTag != null && this.BuildVersionTag.Equals(input.BuildVersionTag)) ) && + ( + this.ChatboxLogBufferSeconds == input.ChatboxLogBufferSeconds || + this.ChatboxLogBufferSeconds.Equals(input.ChatboxLogBufferSeconds) + ) && ( this.ClientApiKey == input.ClientApiKey || (this.ClientApiKey != null && @@ -1169,6 +1437,10 @@ public bool Equals(APIConfig input) this.ClientNetDispatchThread == input.ClientNetDispatchThread || this.ClientNetDispatchThread.Equals(input.ClientNetDispatchThread) ) && + ( + this.ClientNetDispatchThreadMobile == input.ClientNetDispatchThreadMobile || + this.ClientNetDispatchThreadMobile.Equals(input.ClientNetDispatchThreadMobile) + ) && ( this.ClientNetInThread == input.ClientNetInThread || this.ClientNetInThread.Equals(input.ClientNetInThread) @@ -1213,6 +1485,11 @@ public bool Equals(APIConfig input) this.ClientSentCountAllowance == input.ClientSentCountAllowance || this.ClientSentCountAllowance.Equals(input.ClientSentCountAllowance) ) && + ( + this.Constants == input.Constants || + (this.Constants != null && + this.Constants.Equals(input.Constants)) + ) && ( this.ContactEmail == input.ContactEmail || (this.ContactEmail != null && @@ -1364,6 +1641,15 @@ public bool Equals(APIConfig input) (this.Events != null && this.Events.Equals(input.Events)) ) && + ( + this.ForceUseLatestWorld == input.ForceUseLatestWorld || + this.ForceUseLatestWorld.Equals(input.ForceUseLatestWorld) + ) && + ( + this.GoogleApiClientId == input.GoogleApiClientId || + (this.GoogleApiClientId != null && + this.GoogleApiClientId.Equals(input.GoogleApiClientId)) + ) && ( this.HomeWorldId == input.HomeWorldId || (this.HomeWorldId != null && @@ -1390,6 +1676,16 @@ public bool Equals(APIConfig input) (this.JobsEmail != null && this.JobsEmail.Equals(input.JobsEmail)) ) && + ( + this.MinSupportedClientBuildNumber == input.MinSupportedClientBuildNumber || + (this.MinSupportedClientBuildNumber != null && + this.MinSupportedClientBuildNumber.Equals(input.MinSupportedClientBuildNumber)) + ) && + ( + this.MinimumUnityVersionForUploads == input.MinimumUnityVersionForUploads || + (this.MinimumUnityVersionForUploads != null && + this.MinimumUnityVersionForUploads.Equals(input.MinimumUnityVersionForUploads)) + ) && ( this.ModerationEmail == input.ModerationEmail || (this.ModerationEmail != null && @@ -1400,6 +1696,43 @@ public bool Equals(APIConfig input) (this.NotAllowedToSelectAvatarInPrivateWorldMessage != null && this.NotAllowedToSelectAvatarInPrivateWorldMessage.Equals(input.NotAllowedToSelectAvatarInPrivateWorldMessage)) ) && + ( + this.OfflineAnalysis == input.OfflineAnalysis || + (this.OfflineAnalysis != null && + this.OfflineAnalysis.Equals(input.OfflineAnalysis)) + ) && + ( + this.PhotonNameserverOverrides == input.PhotonNameserverOverrides || + this.PhotonNameserverOverrides != null && + input.PhotonNameserverOverrides != null && + this.PhotonNameserverOverrides.SequenceEqual(input.PhotonNameserverOverrides) + ) && + ( + this.PhotonPublicKeys == input.PhotonPublicKeys || + this.PhotonPublicKeys != null && + input.PhotonPublicKeys != null && + this.PhotonPublicKeys.SequenceEqual(input.PhotonPublicKeys) + ) && + ( + this.ReportCategories == input.ReportCategories || + (this.ReportCategories != null && + this.ReportCategories.Equals(input.ReportCategories)) + ) && + ( + this.ReportFormUrl == input.ReportFormUrl || + (this.ReportFormUrl != null && + this.ReportFormUrl.Equals(input.ReportFormUrl)) + ) && + ( + this.ReportOptions == input.ReportOptions || + (this.ReportOptions != null && + this.ReportOptions.Equals(input.ReportOptions)) + ) && + ( + this.ReportReasons == input.ReportReasons || + (this.ReportReasons != null && + this.ReportReasons.Equals(input.ReportReasons)) + ) && ( this.SdkDeveloperFaqUrl == input.SdkDeveloperFaqUrl || (this.SdkDeveloperFaqUrl != null && @@ -1436,6 +1769,10 @@ public bool Equals(APIConfig input) (this.SupportEmail != null && this.SupportEmail.Equals(input.SupportEmail)) ) && + ( + this.Timekeeping == input.Timekeeping || + this.Timekeeping.Equals(input.Timekeeping) + ) && ( this.TimeOutWorldId == input.TimeOutWorldId || (this.TimeOutWorldId != null && @@ -1496,6 +1833,18 @@ public bool Equals(APIConfig input) this.PlayerUrlResolverSha1 == input.PlayerUrlResolverSha1 || (this.PlayerUrlResolverSha1 != null && this.PlayerUrlResolverSha1.Equals(input.PlayerUrlResolverSha1)) + ) && + ( + this.WebsocketMaxFriendsRefreshDelay == input.WebsocketMaxFriendsRefreshDelay || + this.WebsocketMaxFriendsRefreshDelay.Equals(input.WebsocketMaxFriendsRefreshDelay) + ) && + ( + this.WebsocketQuickReconnectTime == input.WebsocketQuickReconnectTime || + this.WebsocketQuickReconnectTime.Equals(input.WebsocketQuickReconnectTime) + ) && + ( + this.WebsocketReconnectMaxDelay == input.WebsocketReconnectMaxDelay || + this.WebsocketReconnectMaxDelay.Equals(input.WebsocketReconnectMaxDelay) ); } @@ -1518,6 +1867,11 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Announcements.GetHashCode(); } + hashCode = (hashCode * 59) + this.AnalyticsSegmentNewUIPctOfUsers.GetHashCode(); + if (this.AnalyticsSegmentNewUISalt != null) + { + hashCode = (hashCode * 59) + this.AnalyticsSegmentNewUISalt.GetHashCode(); + } if (this.AppName != null) { hashCode = (hashCode * 59) + this.AppName.GetHashCode(); @@ -1534,6 +1888,7 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.BuildVersionTag.GetHashCode(); } + hashCode = (hashCode * 59) + this.ChatboxLogBufferSeconds.GetHashCode(); if (this.ClientApiKey != null) { hashCode = (hashCode * 59) + this.ClientApiKey.GetHashCode(); @@ -1541,6 +1896,7 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.ClientBPSCeiling.GetHashCode(); hashCode = (hashCode * 59) + this.ClientDisconnectTimeout.GetHashCode(); hashCode = (hashCode * 59) + this.ClientNetDispatchThread.GetHashCode(); + hashCode = (hashCode * 59) + this.ClientNetDispatchThreadMobile.GetHashCode(); hashCode = (hashCode * 59) + this.ClientNetInThread.GetHashCode(); hashCode = (hashCode * 59) + this.ClientNetInThread2.GetHashCode(); hashCode = (hashCode * 59) + this.ClientNetInThreadMobile.GetHashCode(); @@ -1552,6 +1908,10 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.ClientQR.GetHashCode(); hashCode = (hashCode * 59) + this.ClientReservedPlayerBPS.GetHashCode(); hashCode = (hashCode * 59) + this.ClientSentCountAllowance.GetHashCode(); + if (this.Constants != null) + { + hashCode = (hashCode * 59) + this.Constants.GetHashCode(); + } if (this.ContactEmail != null) { hashCode = (hashCode * 59) + this.ContactEmail.GetHashCode(); @@ -1625,6 +1985,11 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Events.GetHashCode(); } + hashCode = (hashCode * 59) + this.ForceUseLatestWorld.GetHashCode(); + if (this.GoogleApiClientId != null) + { + hashCode = (hashCode * 59) + this.GoogleApiClientId.GetHashCode(); + } if (this.HomeWorldId != null) { hashCode = (hashCode * 59) + this.HomeWorldId.GetHashCode(); @@ -1645,6 +2010,14 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.JobsEmail.GetHashCode(); } + if (this.MinSupportedClientBuildNumber != null) + { + hashCode = (hashCode * 59) + this.MinSupportedClientBuildNumber.GetHashCode(); + } + if (this.MinimumUnityVersionForUploads != null) + { + hashCode = (hashCode * 59) + this.MinimumUnityVersionForUploads.GetHashCode(); + } if (this.ModerationEmail != null) { hashCode = (hashCode * 59) + this.ModerationEmail.GetHashCode(); @@ -1653,6 +2026,34 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.NotAllowedToSelectAvatarInPrivateWorldMessage.GetHashCode(); } + if (this.OfflineAnalysis != null) + { + hashCode = (hashCode * 59) + this.OfflineAnalysis.GetHashCode(); + } + if (this.PhotonNameserverOverrides != null) + { + hashCode = (hashCode * 59) + this.PhotonNameserverOverrides.GetHashCode(); + } + if (this.PhotonPublicKeys != null) + { + hashCode = (hashCode * 59) + this.PhotonPublicKeys.GetHashCode(); + } + if (this.ReportCategories != null) + { + hashCode = (hashCode * 59) + this.ReportCategories.GetHashCode(); + } + if (this.ReportFormUrl != null) + { + hashCode = (hashCode * 59) + this.ReportFormUrl.GetHashCode(); + } + if (this.ReportOptions != null) + { + hashCode = (hashCode * 59) + this.ReportOptions.GetHashCode(); + } + if (this.ReportReasons != null) + { + hashCode = (hashCode * 59) + this.ReportReasons.GetHashCode(); + } if (this.SdkDeveloperFaqUrl != null) { hashCode = (hashCode * 59) + this.SdkDeveloperFaqUrl.GetHashCode(); @@ -1681,6 +2082,7 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.SupportEmail.GetHashCode(); } + hashCode = (hashCode * 59) + this.Timekeeping.GetHashCode(); if (this.TimeOutWorldId != null) { hashCode = (hashCode * 59) + this.TimeOutWorldId.GetHashCode(); @@ -1715,6 +2117,9 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.PlayerUrlResolverSha1.GetHashCode(); } + hashCode = (hashCode * 59) + this.WebsocketMaxFriendsRefreshDelay.GetHashCode(); + hashCode = (hashCode * 59) + this.WebsocketQuickReconnectTime.GetHashCode(); + hashCode = (hashCode * 59) + this.WebsocketReconnectMaxDelay.GetHashCode(); return hashCode; } } diff --git a/src/VRChat.API/Model/APIConfigAnnouncement.cs b/src/VRChat.API/Model/APIConfigAnnouncement.cs index 6e49d35b..ddbbff9a 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/APIConfigConstants.cs b/src/VRChat.API/Model/APIConfigConstants.cs new file mode 100644 index 00000000..a15c8601 --- /dev/null +++ b/src/VRChat.API/Model/APIConfigConstants.cs @@ -0,0 +1,184 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Constants + /// + [DataContract(Name = "APIConfigConstants")] + public partial class APIConfigConstants : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected APIConfigConstants() { } + /// + /// Initializes a new instance of the class. + /// + /// gROUPS (required). + /// iNSTANCE (required). + /// lANGUAGE (required). + public APIConfigConstants(APIConfigConstantsGROUPS gROUPS = default(APIConfigConstantsGROUPS), APIConfigConstantsINSTANCE iNSTANCE = default(APIConfigConstantsINSTANCE), APIConfigConstantsLANGUAGE lANGUAGE = default(APIConfigConstantsLANGUAGE)) + { + // to ensure "gROUPS" is required (not null) + if (gROUPS == null) + { + throw new ArgumentNullException("gROUPS is a required property for APIConfigConstants and cannot be null"); + } + this.GROUPS = gROUPS; + // to ensure "iNSTANCE" is required (not null) + if (iNSTANCE == null) + { + throw new ArgumentNullException("iNSTANCE is a required property for APIConfigConstants and cannot be null"); + } + this.INSTANCE = iNSTANCE; + // to ensure "lANGUAGE" is required (not null) + if (lANGUAGE == null) + { + throw new ArgumentNullException("lANGUAGE is a required property for APIConfigConstants and cannot be null"); + } + this.LANGUAGE = lANGUAGE; + } + + /// + /// Gets or Sets GROUPS + /// + [DataMember(Name = "GROUPS", IsRequired = true, EmitDefaultValue = true)] + public APIConfigConstantsGROUPS GROUPS { get; set; } + + /// + /// Gets or Sets INSTANCE + /// + [DataMember(Name = "INSTANCE", IsRequired = true, EmitDefaultValue = true)] + public APIConfigConstantsINSTANCE INSTANCE { get; set; } + + /// + /// Gets or Sets LANGUAGE + /// + [DataMember(Name = "LANGUAGE", IsRequired = true, EmitDefaultValue = true)] + public APIConfigConstantsLANGUAGE LANGUAGE { 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 APIConfigConstants {\n"); + sb.Append(" GROUPS: ").Append(GROUPS).Append("\n"); + sb.Append(" INSTANCE: ").Append(INSTANCE).Append("\n"); + sb.Append(" LANGUAGE: ").Append(LANGUAGE).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 APIConfigConstants); + } + + /// + /// Returns true if APIConfigConstants instances are equal + /// + /// Instance of APIConfigConstants to be compared + /// Boolean + public bool Equals(APIConfigConstants input) + { + if (input == null) + { + return false; + } + return + ( + this.GROUPS == input.GROUPS || + (this.GROUPS != null && + this.GROUPS.Equals(input.GROUPS)) + ) && + ( + this.INSTANCE == input.INSTANCE || + (this.INSTANCE != null && + this.INSTANCE.Equals(input.INSTANCE)) + ) && + ( + this.LANGUAGE == input.LANGUAGE || + (this.LANGUAGE != null && + this.LANGUAGE.Equals(input.LANGUAGE)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.GROUPS != null) + { + hashCode = (hashCode * 59) + this.GROUPS.GetHashCode(); + } + if (this.INSTANCE != null) + { + hashCode = (hashCode * 59) + this.INSTANCE.GetHashCode(); + } + if (this.LANGUAGE != null) + { + hashCode = (hashCode * 59) + this.LANGUAGE.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/APIConfigConstantsGROUPS.cs b/src/VRChat.API/Model/APIConfigConstantsGROUPS.cs new file mode 100644 index 00000000..eb7a7ff9 --- /dev/null +++ b/src/VRChat.API/Model/APIConfigConstantsGROUPS.cs @@ -0,0 +1,265 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Group-related constants + /// + [DataContract(Name = "APIConfigConstants_GROUPS")] + public partial class APIConfigConstantsGROUPS : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Maximum group capacity (default to 100000). + /// Requirements for transferring group ownership. + /// Maximum number of invite requests (default to 50). + /// Maximum number of joined groups (default to 100). + /// Maximum number of joined groups for VRChat Plus members (default to 200). + /// Maximum number of supported languages (default to 10). + /// Maximum number of group links (default to 3). + /// Maximum number of management roles in a group (default to 5). + /// Maximum number of groups a user can own (default to 5). + /// Maximum number of roles in a group (default to 50). + public APIConfigConstantsGROUPS(int cAPACITY = 100000, List gROUPTRANSFERREQUIREMENTS = default(List), int mAXINVITESREQUESTS = 50, int mAXJOINED = 100, int mAXJOINEDPLUS = 200, int mAXLANGUAGES = 10, int mAXLINKS = 3, int mAXMANAGEMENTROLES = 5, int mAXOWNED = 5, int mAXROLES = 50) + { + this.CAPACITY = cAPACITY; + this.GROUP_TRANSFER_REQUIREMENTS = gROUPTRANSFERREQUIREMENTS; + this.MAX_INVITES_REQUESTS = mAXINVITESREQUESTS; + this.MAX_JOINED = mAXJOINED; + this.MAX_JOINED_PLUS = mAXJOINEDPLUS; + this.MAX_LANGUAGES = mAXLANGUAGES; + this.MAX_LINKS = mAXLINKS; + this.MAX_MANAGEMENT_ROLES = mAXMANAGEMENTROLES; + this.MAX_OWNED = mAXOWNED; + this.MAX_ROLES = mAXROLES; + } + + /// + /// Maximum group capacity + /// + /// Maximum group capacity + [DataMember(Name = "CAPACITY", EmitDefaultValue = false)] + public int CAPACITY { get; set; } + + /// + /// Requirements for transferring group ownership + /// + /// Requirements for transferring group ownership + [DataMember(Name = "GROUP_TRANSFER_REQUIREMENTS", EmitDefaultValue = false)] + public List GROUP_TRANSFER_REQUIREMENTS { get; set; } + + /// + /// Maximum number of invite requests + /// + /// Maximum number of invite requests + [DataMember(Name = "MAX_INVITES_REQUESTS", EmitDefaultValue = false)] + public int MAX_INVITES_REQUESTS { get; set; } + + /// + /// Maximum number of joined groups + /// + /// Maximum number of joined groups + [DataMember(Name = "MAX_JOINED", EmitDefaultValue = false)] + public int MAX_JOINED { get; set; } + + /// + /// Maximum number of joined groups for VRChat Plus members + /// + /// Maximum number of joined groups for VRChat Plus members + [DataMember(Name = "MAX_JOINED_PLUS", EmitDefaultValue = false)] + public int MAX_JOINED_PLUS { get; set; } + + /// + /// Maximum number of supported languages + /// + /// Maximum number of supported languages + [DataMember(Name = "MAX_LANGUAGES", EmitDefaultValue = false)] + public int MAX_LANGUAGES { get; set; } + + /// + /// Maximum number of group links + /// + /// Maximum number of group links + [DataMember(Name = "MAX_LINKS", EmitDefaultValue = false)] + public int MAX_LINKS { get; set; } + + /// + /// Maximum number of management roles in a group + /// + /// Maximum number of management roles in a group + [DataMember(Name = "MAX_MANAGEMENT_ROLES", EmitDefaultValue = false)] + public int MAX_MANAGEMENT_ROLES { get; set; } + + /// + /// Maximum number of groups a user can own + /// + /// Maximum number of groups a user can own + [DataMember(Name = "MAX_OWNED", EmitDefaultValue = false)] + public int MAX_OWNED { get; set; } + + /// + /// Maximum number of roles in a group + /// + /// Maximum number of roles in a group + [DataMember(Name = "MAX_ROLES", EmitDefaultValue = false)] + public int MAX_ROLES { 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 APIConfigConstantsGROUPS {\n"); + sb.Append(" CAPACITY: ").Append(CAPACITY).Append("\n"); + sb.Append(" GROUP_TRANSFER_REQUIREMENTS: ").Append(GROUP_TRANSFER_REQUIREMENTS).Append("\n"); + sb.Append(" MAX_INVITES_REQUESTS: ").Append(MAX_INVITES_REQUESTS).Append("\n"); + sb.Append(" MAX_JOINED: ").Append(MAX_JOINED).Append("\n"); + sb.Append(" MAX_JOINED_PLUS: ").Append(MAX_JOINED_PLUS).Append("\n"); + sb.Append(" MAX_LANGUAGES: ").Append(MAX_LANGUAGES).Append("\n"); + sb.Append(" MAX_LINKS: ").Append(MAX_LINKS).Append("\n"); + sb.Append(" MAX_MANAGEMENT_ROLES: ").Append(MAX_MANAGEMENT_ROLES).Append("\n"); + sb.Append(" MAX_OWNED: ").Append(MAX_OWNED).Append("\n"); + sb.Append(" MAX_ROLES: ").Append(MAX_ROLES).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 APIConfigConstantsGROUPS); + } + + /// + /// Returns true if APIConfigConstantsGROUPS instances are equal + /// + /// Instance of APIConfigConstantsGROUPS to be compared + /// Boolean + public bool Equals(APIConfigConstantsGROUPS input) + { + if (input == null) + { + return false; + } + return + ( + this.CAPACITY == input.CAPACITY || + this.CAPACITY.Equals(input.CAPACITY) + ) && + ( + this.GROUP_TRANSFER_REQUIREMENTS == input.GROUP_TRANSFER_REQUIREMENTS || + this.GROUP_TRANSFER_REQUIREMENTS != null && + input.GROUP_TRANSFER_REQUIREMENTS != null && + this.GROUP_TRANSFER_REQUIREMENTS.SequenceEqual(input.GROUP_TRANSFER_REQUIREMENTS) + ) && + ( + this.MAX_INVITES_REQUESTS == input.MAX_INVITES_REQUESTS || + this.MAX_INVITES_REQUESTS.Equals(input.MAX_INVITES_REQUESTS) + ) && + ( + this.MAX_JOINED == input.MAX_JOINED || + this.MAX_JOINED.Equals(input.MAX_JOINED) + ) && + ( + this.MAX_JOINED_PLUS == input.MAX_JOINED_PLUS || + this.MAX_JOINED_PLUS.Equals(input.MAX_JOINED_PLUS) + ) && + ( + this.MAX_LANGUAGES == input.MAX_LANGUAGES || + this.MAX_LANGUAGES.Equals(input.MAX_LANGUAGES) + ) && + ( + this.MAX_LINKS == input.MAX_LINKS || + this.MAX_LINKS.Equals(input.MAX_LINKS) + ) && + ( + this.MAX_MANAGEMENT_ROLES == input.MAX_MANAGEMENT_ROLES || + this.MAX_MANAGEMENT_ROLES.Equals(input.MAX_MANAGEMENT_ROLES) + ) && + ( + this.MAX_OWNED == input.MAX_OWNED || + this.MAX_OWNED.Equals(input.MAX_OWNED) + ) && + ( + this.MAX_ROLES == input.MAX_ROLES || + this.MAX_ROLES.Equals(input.MAX_ROLES) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.CAPACITY.GetHashCode(); + if (this.GROUP_TRANSFER_REQUIREMENTS != null) + { + hashCode = (hashCode * 59) + this.GROUP_TRANSFER_REQUIREMENTS.GetHashCode(); + } + hashCode = (hashCode * 59) + this.MAX_INVITES_REQUESTS.GetHashCode(); + hashCode = (hashCode * 59) + this.MAX_JOINED.GetHashCode(); + hashCode = (hashCode * 59) + this.MAX_JOINED_PLUS.GetHashCode(); + hashCode = (hashCode * 59) + this.MAX_LANGUAGES.GetHashCode(); + hashCode = (hashCode * 59) + this.MAX_LINKS.GetHashCode(); + hashCode = (hashCode * 59) + this.MAX_MANAGEMENT_ROLES.GetHashCode(); + hashCode = (hashCode * 59) + this.MAX_OWNED.GetHashCode(); + hashCode = (hashCode * 59) + this.MAX_ROLES.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/APIConfigConstantsINSTANCE.cs b/src/VRChat.API/Model/APIConfigConstantsINSTANCE.cs new file mode 100644 index 00000000..734820a6 --- /dev/null +++ b/src/VRChat.API/Model/APIConfigConstantsINSTANCE.cs @@ -0,0 +1,128 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Instance-related constants + /// + [DataContract(Name = "APIConfigConstants_INSTANCE")] + public partial class APIConfigConstantsINSTANCE : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// pOPULATIONBRACKETS. + public APIConfigConstantsINSTANCE(APIConfigConstantsINSTANCEPOPULATIONBRACKETS pOPULATIONBRACKETS = default(APIConfigConstantsINSTANCEPOPULATIONBRACKETS)) + { + this.POPULATION_BRACKETS = pOPULATIONBRACKETS; + } + + /// + /// Gets or Sets POPULATION_BRACKETS + /// + [DataMember(Name = "POPULATION_BRACKETS", EmitDefaultValue = false)] + public APIConfigConstantsINSTANCEPOPULATIONBRACKETS POPULATION_BRACKETS { 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 APIConfigConstantsINSTANCE {\n"); + sb.Append(" POPULATION_BRACKETS: ").Append(POPULATION_BRACKETS).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 APIConfigConstantsINSTANCE); + } + + /// + /// Returns true if APIConfigConstantsINSTANCE instances are equal + /// + /// Instance of APIConfigConstantsINSTANCE to be compared + /// Boolean + public bool Equals(APIConfigConstantsINSTANCE input) + { + if (input == null) + { + return false; + } + return + ( + this.POPULATION_BRACKETS == input.POPULATION_BRACKETS || + (this.POPULATION_BRACKETS != null && + this.POPULATION_BRACKETS.Equals(input.POPULATION_BRACKETS)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.POPULATION_BRACKETS != null) + { + hashCode = (hashCode * 59) + this.POPULATION_BRACKETS.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/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.cs b/src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.cs new file mode 100644 index 00000000..264c7d0e --- /dev/null +++ b/src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.cs @@ -0,0 +1,164 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Population brackets based on instance population + /// + [DataContract(Name = "APIConfigConstants_INSTANCE_POPULATION_BRACKETS")] + public partial class APIConfigConstantsINSTANCEPOPULATIONBRACKETS : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// cROWDED. + /// fEW. + /// mANY. + public APIConfigConstantsINSTANCEPOPULATIONBRACKETS(APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED cROWDED = default(APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED), APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW fEW = default(APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW), APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY mANY = default(APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY)) + { + this.CROWDED = cROWDED; + this.FEW = fEW; + this.MANY = mANY; + } + + /// + /// Gets or Sets CROWDED + /// + [DataMember(Name = "CROWDED", EmitDefaultValue = false)] + public APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED CROWDED { get; set; } + + /// + /// Gets or Sets FEW + /// + [DataMember(Name = "FEW", EmitDefaultValue = false)] + public APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW FEW { get; set; } + + /// + /// Gets or Sets MANY + /// + [DataMember(Name = "MANY", EmitDefaultValue = false)] + public APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY MANY { 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 APIConfigConstantsINSTANCEPOPULATIONBRACKETS {\n"); + sb.Append(" CROWDED: ").Append(CROWDED).Append("\n"); + sb.Append(" FEW: ").Append(FEW).Append("\n"); + sb.Append(" MANY: ").Append(MANY).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 APIConfigConstantsINSTANCEPOPULATIONBRACKETS); + } + + /// + /// Returns true if APIConfigConstantsINSTANCEPOPULATIONBRACKETS instances are equal + /// + /// Instance of APIConfigConstantsINSTANCEPOPULATIONBRACKETS to be compared + /// Boolean + public bool Equals(APIConfigConstantsINSTANCEPOPULATIONBRACKETS input) + { + if (input == null) + { + return false; + } + return + ( + this.CROWDED == input.CROWDED || + (this.CROWDED != null && + this.CROWDED.Equals(input.CROWDED)) + ) && + ( + this.FEW == input.FEW || + (this.FEW != null && + this.FEW.Equals(input.FEW)) + ) && + ( + this.MANY == input.MANY || + (this.MANY != null && + this.MANY.Equals(input.MANY)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CROWDED != null) + { + hashCode = (hashCode * 59) + this.CROWDED.GetHashCode(); + } + if (this.FEW != null) + { + hashCode = (hashCode * 59) + this.FEW.GetHashCode(); + } + if (this.MANY != null) + { + hashCode = (hashCode * 59) + this.MANY.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/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.cs b/src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.cs new file mode 100644 index 00000000..950be04f --- /dev/null +++ b/src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.cs @@ -0,0 +1,140 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Crowded population range + /// + [DataContract(Name = "APIConfigConstants_INSTANCE_POPULATION_BRACKETS_CROWDED")] + public partial class APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Maximum population for a crowded instance. + /// Minimum population for a crowded instance. + public APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED(int max = default(int), int min = default(int)) + { + this.Max = max; + this.Min = min; + } + + /// + /// Maximum population for a crowded instance + /// + /// Maximum population for a crowded instance + [DataMember(Name = "max", EmitDefaultValue = false)] + public int Max { get; set; } + + /// + /// Minimum population for a crowded instance + /// + /// Minimum population for a crowded instance + [DataMember(Name = "min", EmitDefaultValue = false)] + public int Min { 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 APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED {\n"); + sb.Append(" Max: ").Append(Max).Append("\n"); + sb.Append(" Min: ").Append(Min).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 APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED); + } + + /// + /// Returns true if APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED instances are equal + /// + /// Instance of APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED to be compared + /// Boolean + public bool Equals(APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED input) + { + if (input == null) + { + return false; + } + return + ( + this.Max == input.Max || + this.Max.Equals(input.Max) + ) && + ( + this.Min == input.Min || + this.Min.Equals(input.Min) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.Max.GetHashCode(); + hashCode = (hashCode * 59) + this.Min.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/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.cs b/src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.cs new file mode 100644 index 00000000..43ab97d1 --- /dev/null +++ b/src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.cs @@ -0,0 +1,140 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Few population range + /// + [DataContract(Name = "APIConfigConstants_INSTANCE_POPULATION_BRACKETS_FEW")] + public partial class APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Maximum population for a few instance. + /// Minimum population for a few instance. + public APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW(int max = default(int), int min = default(int)) + { + this.Max = max; + this.Min = min; + } + + /// + /// Maximum population for a few instance + /// + /// Maximum population for a few instance + [DataMember(Name = "max", EmitDefaultValue = false)] + public int Max { get; set; } + + /// + /// Minimum population for a few instance + /// + /// Minimum population for a few instance + [DataMember(Name = "min", EmitDefaultValue = false)] + public int Min { 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 APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW {\n"); + sb.Append(" Max: ").Append(Max).Append("\n"); + sb.Append(" Min: ").Append(Min).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 APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW); + } + + /// + /// Returns true if APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW instances are equal + /// + /// Instance of APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW to be compared + /// Boolean + public bool Equals(APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW input) + { + if (input == null) + { + return false; + } + return + ( + this.Max == input.Max || + this.Max.Equals(input.Max) + ) && + ( + this.Min == input.Min || + this.Min.Equals(input.Min) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.Max.GetHashCode(); + hashCode = (hashCode * 59) + this.Min.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/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.cs b/src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.cs new file mode 100644 index 00000000..d03d392f --- /dev/null +++ b/src/VRChat.API/Model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.cs @@ -0,0 +1,140 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Many population range + /// + [DataContract(Name = "APIConfigConstants_INSTANCE_POPULATION_BRACKETS_MANY")] + public partial class APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Maximum population for a many instance. + /// Minimum population for a many instance. + public APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY(int max = default(int), int min = default(int)) + { + this.Max = max; + this.Min = min; + } + + /// + /// Maximum population for a many instance + /// + /// Maximum population for a many instance + [DataMember(Name = "max", EmitDefaultValue = false)] + public int Max { get; set; } + + /// + /// Minimum population for a many instance + /// + /// Minimum population for a many instance + [DataMember(Name = "min", EmitDefaultValue = false)] + public int Min { 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 APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY {\n"); + sb.Append(" Max: ").Append(Max).Append("\n"); + sb.Append(" Min: ").Append(Min).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 APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY); + } + + /// + /// Returns true if APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY instances are equal + /// + /// Instance of APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY to be compared + /// Boolean + public bool Equals(APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY input) + { + if (input == null) + { + return false; + } + return + ( + this.Max == input.Max || + this.Max.Equals(input.Max) + ) && + ( + this.Min == input.Min || + this.Min.Equals(input.Min) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.Max.GetHashCode(); + hashCode = (hashCode * 59) + this.Min.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/APIConfigConstantsLANGUAGE.cs b/src/VRChat.API/Model/APIConfigConstantsLANGUAGE.cs new file mode 100644 index 00000000..0c9b9d4b --- /dev/null +++ b/src/VRChat.API/Model/APIConfigConstantsLANGUAGE.cs @@ -0,0 +1,130 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Language-related constants + /// + [DataContract(Name = "APIConfigConstants_LANGUAGE")] + public partial class APIConfigConstantsLANGUAGE : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Supported spoken language options. + public APIConfigConstantsLANGUAGE(Dictionary sPOKENLANGUAGEOPTIONS = default(Dictionary)) + { + this.SPOKEN_LANGUAGE_OPTIONS = sPOKENLANGUAGEOPTIONS; + } + + /// + /// Supported spoken language options + /// + /// Supported spoken language options + [DataMember(Name = "SPOKEN_LANGUAGE_OPTIONS", EmitDefaultValue = false)] + public Dictionary SPOKEN_LANGUAGE_OPTIONS { 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 APIConfigConstantsLANGUAGE {\n"); + sb.Append(" SPOKEN_LANGUAGE_OPTIONS: ").Append(SPOKEN_LANGUAGE_OPTIONS).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 APIConfigConstantsLANGUAGE); + } + + /// + /// Returns true if APIConfigConstantsLANGUAGE instances are equal + /// + /// Instance of APIConfigConstantsLANGUAGE to be compared + /// Boolean + public bool Equals(APIConfigConstantsLANGUAGE input) + { + if (input == null) + { + return false; + } + return + ( + this.SPOKEN_LANGUAGE_OPTIONS == input.SPOKEN_LANGUAGE_OPTIONS || + this.SPOKEN_LANGUAGE_OPTIONS != null && + input.SPOKEN_LANGUAGE_OPTIONS != null && + this.SPOKEN_LANGUAGE_OPTIONS.SequenceEqual(input.SPOKEN_LANGUAGE_OPTIONS) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SPOKEN_LANGUAGE_OPTIONS != null) + { + hashCode = (hashCode * 59) + this.SPOKEN_LANGUAGE_OPTIONS.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/APIConfigDownloadURLList.cs b/src/VRChat.API/Model/APIConfigDownloadURLList.cs index 7e6d327a..230d7b38 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 c4b7446c..78f2b839 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/APIConfigMinSupportedClientBuildNumber.cs b/src/VRChat.API/Model/APIConfigMinSupportedClientBuildNumber.cs new file mode 100644 index 00000000..9424ed4b --- /dev/null +++ b/src/VRChat.API/Model/APIConfigMinSupportedClientBuildNumber.cs @@ -0,0 +1,368 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Minimum supported client build number for various platforms + /// + [DataContract(Name = "APIConfig_minSupportedClientBuildNumber")] + public partial class APIConfigMinSupportedClientBuildNumber : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected APIConfigMinSupportedClientBuildNumber() { } + /// + /// Initializes a new instance of the class. + /// + /// appStore (required). + /// _default (required). + /// firebase (required). + /// firebaseiOS (required). + /// googlePlay (required). + /// pC (required). + /// picoStore (required). + /// questAppLab (required). + /// questStore (required). + /// testFlight (required). + /// xRElite (required). + public APIConfigMinSupportedClientBuildNumber(PlatformBuildInfo appStore = default(PlatformBuildInfo), PlatformBuildInfo _default = default(PlatformBuildInfo), PlatformBuildInfo firebase = default(PlatformBuildInfo), PlatformBuildInfo firebaseiOS = default(PlatformBuildInfo), PlatformBuildInfo googlePlay = default(PlatformBuildInfo), PlatformBuildInfo pC = default(PlatformBuildInfo), PlatformBuildInfo picoStore = default(PlatformBuildInfo), PlatformBuildInfo questAppLab = default(PlatformBuildInfo), PlatformBuildInfo questStore = default(PlatformBuildInfo), PlatformBuildInfo testFlight = default(PlatformBuildInfo), PlatformBuildInfo xRElite = default(PlatformBuildInfo)) + { + // to ensure "appStore" is required (not null) + if (appStore == null) + { + throw new ArgumentNullException("appStore is a required property for APIConfigMinSupportedClientBuildNumber and cannot be null"); + } + this.AppStore = appStore; + // to ensure "_default" is required (not null) + if (_default == null) + { + throw new ArgumentNullException("_default is a required property for APIConfigMinSupportedClientBuildNumber and cannot be null"); + } + this.Default = _default; + // to ensure "firebase" is required (not null) + if (firebase == null) + { + throw new ArgumentNullException("firebase is a required property for APIConfigMinSupportedClientBuildNumber and cannot be null"); + } + this.Firebase = firebase; + // to ensure "firebaseiOS" is required (not null) + if (firebaseiOS == null) + { + throw new ArgumentNullException("firebaseiOS is a required property for APIConfigMinSupportedClientBuildNumber and cannot be null"); + } + this.FirebaseiOS = firebaseiOS; + // to ensure "googlePlay" is required (not null) + if (googlePlay == null) + { + throw new ArgumentNullException("googlePlay is a required property for APIConfigMinSupportedClientBuildNumber and cannot be null"); + } + this.GooglePlay = googlePlay; + // to ensure "pC" is required (not null) + if (pC == null) + { + throw new ArgumentNullException("pC is a required property for APIConfigMinSupportedClientBuildNumber and cannot be null"); + } + this.PC = pC; + // to ensure "picoStore" is required (not null) + if (picoStore == null) + { + throw new ArgumentNullException("picoStore is a required property for APIConfigMinSupportedClientBuildNumber and cannot be null"); + } + this.PicoStore = picoStore; + // to ensure "questAppLab" is required (not null) + if (questAppLab == null) + { + throw new ArgumentNullException("questAppLab is a required property for APIConfigMinSupportedClientBuildNumber and cannot be null"); + } + this.QuestAppLab = questAppLab; + // to ensure "questStore" is required (not null) + if (questStore == null) + { + throw new ArgumentNullException("questStore is a required property for APIConfigMinSupportedClientBuildNumber and cannot be null"); + } + this.QuestStore = questStore; + // to ensure "testFlight" is required (not null) + if (testFlight == null) + { + throw new ArgumentNullException("testFlight is a required property for APIConfigMinSupportedClientBuildNumber and cannot be null"); + } + this.TestFlight = testFlight; + // to ensure "xRElite" is required (not null) + if (xRElite == null) + { + throw new ArgumentNullException("xRElite is a required property for APIConfigMinSupportedClientBuildNumber and cannot be null"); + } + this.XRElite = xRElite; + } + + /// + /// Gets or Sets AppStore + /// + [DataMember(Name = "AppStore", IsRequired = true, EmitDefaultValue = true)] + public PlatformBuildInfo AppStore { get; set; } + + /// + /// Gets or Sets Default + /// + [DataMember(Name = "Default", IsRequired = true, EmitDefaultValue = true)] + public PlatformBuildInfo Default { get; set; } + + /// + /// Gets or Sets Firebase + /// + [DataMember(Name = "Firebase", IsRequired = true, EmitDefaultValue = true)] + public PlatformBuildInfo Firebase { get; set; } + + /// + /// Gets or Sets FirebaseiOS + /// + [DataMember(Name = "FirebaseiOS", IsRequired = true, EmitDefaultValue = true)] + public PlatformBuildInfo FirebaseiOS { get; set; } + + /// + /// Gets or Sets GooglePlay + /// + [DataMember(Name = "GooglePlay", IsRequired = true, EmitDefaultValue = true)] + public PlatformBuildInfo GooglePlay { get; set; } + + /// + /// Gets or Sets PC + /// + [DataMember(Name = "PC", IsRequired = true, EmitDefaultValue = true)] + public PlatformBuildInfo PC { get; set; } + + /// + /// Gets or Sets PicoStore + /// + [DataMember(Name = "PicoStore", IsRequired = true, EmitDefaultValue = true)] + public PlatformBuildInfo PicoStore { get; set; } + + /// + /// Gets or Sets QuestAppLab + /// + [DataMember(Name = "QuestAppLab", IsRequired = true, EmitDefaultValue = true)] + public PlatformBuildInfo QuestAppLab { get; set; } + + /// + /// Gets or Sets QuestStore + /// + [DataMember(Name = "QuestStore", IsRequired = true, EmitDefaultValue = true)] + public PlatformBuildInfo QuestStore { get; set; } + + /// + /// Gets or Sets TestFlight + /// + [DataMember(Name = "TestFlight", IsRequired = true, EmitDefaultValue = true)] + public PlatformBuildInfo TestFlight { get; set; } + + /// + /// Gets or Sets XRElite + /// + [DataMember(Name = "XRElite", IsRequired = true, EmitDefaultValue = true)] + public PlatformBuildInfo XRElite { 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 APIConfigMinSupportedClientBuildNumber {\n"); + sb.Append(" AppStore: ").Append(AppStore).Append("\n"); + sb.Append(" Default: ").Append(Default).Append("\n"); + sb.Append(" Firebase: ").Append(Firebase).Append("\n"); + sb.Append(" FirebaseiOS: ").Append(FirebaseiOS).Append("\n"); + sb.Append(" GooglePlay: ").Append(GooglePlay).Append("\n"); + sb.Append(" PC: ").Append(PC).Append("\n"); + sb.Append(" PicoStore: ").Append(PicoStore).Append("\n"); + sb.Append(" QuestAppLab: ").Append(QuestAppLab).Append("\n"); + sb.Append(" QuestStore: ").Append(QuestStore).Append("\n"); + sb.Append(" TestFlight: ").Append(TestFlight).Append("\n"); + sb.Append(" XRElite: ").Append(XRElite).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 APIConfigMinSupportedClientBuildNumber); + } + + /// + /// Returns true if APIConfigMinSupportedClientBuildNumber instances are equal + /// + /// Instance of APIConfigMinSupportedClientBuildNumber to be compared + /// Boolean + public bool Equals(APIConfigMinSupportedClientBuildNumber input) + { + if (input == null) + { + return false; + } + return + ( + this.AppStore == input.AppStore || + (this.AppStore != null && + this.AppStore.Equals(input.AppStore)) + ) && + ( + this.Default == input.Default || + (this.Default != null && + this.Default.Equals(input.Default)) + ) && + ( + this.Firebase == input.Firebase || + (this.Firebase != null && + this.Firebase.Equals(input.Firebase)) + ) && + ( + this.FirebaseiOS == input.FirebaseiOS || + (this.FirebaseiOS != null && + this.FirebaseiOS.Equals(input.FirebaseiOS)) + ) && + ( + this.GooglePlay == input.GooglePlay || + (this.GooglePlay != null && + this.GooglePlay.Equals(input.GooglePlay)) + ) && + ( + this.PC == input.PC || + (this.PC != null && + this.PC.Equals(input.PC)) + ) && + ( + this.PicoStore == input.PicoStore || + (this.PicoStore != null && + this.PicoStore.Equals(input.PicoStore)) + ) && + ( + this.QuestAppLab == input.QuestAppLab || + (this.QuestAppLab != null && + this.QuestAppLab.Equals(input.QuestAppLab)) + ) && + ( + this.QuestStore == input.QuestStore || + (this.QuestStore != null && + this.QuestStore.Equals(input.QuestStore)) + ) && + ( + this.TestFlight == input.TestFlight || + (this.TestFlight != null && + this.TestFlight.Equals(input.TestFlight)) + ) && + ( + this.XRElite == input.XRElite || + (this.XRElite != null && + this.XRElite.Equals(input.XRElite)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AppStore != null) + { + hashCode = (hashCode * 59) + this.AppStore.GetHashCode(); + } + if (this.Default != null) + { + hashCode = (hashCode * 59) + this.Default.GetHashCode(); + } + if (this.Firebase != null) + { + hashCode = (hashCode * 59) + this.Firebase.GetHashCode(); + } + if (this.FirebaseiOS != null) + { + hashCode = (hashCode * 59) + this.FirebaseiOS.GetHashCode(); + } + if (this.GooglePlay != null) + { + hashCode = (hashCode * 59) + this.GooglePlay.GetHashCode(); + } + if (this.PC != null) + { + hashCode = (hashCode * 59) + this.PC.GetHashCode(); + } + if (this.PicoStore != null) + { + hashCode = (hashCode * 59) + this.PicoStore.GetHashCode(); + } + if (this.QuestAppLab != null) + { + hashCode = (hashCode * 59) + this.QuestAppLab.GetHashCode(); + } + if (this.QuestStore != null) + { + hashCode = (hashCode * 59) + this.QuestStore.GetHashCode(); + } + if (this.TestFlight != null) + { + hashCode = (hashCode * 59) + this.TestFlight.GetHashCode(); + } + if (this.XRElite != null) + { + hashCode = (hashCode * 59) + this.XRElite.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/APIConfigOfflineAnalysis.cs b/src/VRChat.API/Model/APIConfigOfflineAnalysis.cs new file mode 100644 index 00000000..6280e1ef --- /dev/null +++ b/src/VRChat.API/Model/APIConfigOfflineAnalysis.cs @@ -0,0 +1,140 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Whether to allow offline analysis + /// + [DataContract(Name = "APIConfig_offlineAnalysis")] + public partial class APIConfigOfflineAnalysis : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Whether to allow offline analysis (default to true). + /// Whether to allow offline analysis (default to true). + public APIConfigOfflineAnalysis(bool android = true, bool standalonewindows = true) + { + this.Android = android; + this.Standalonewindows = standalonewindows; + } + + /// + /// Whether to allow offline analysis + /// + /// Whether to allow offline analysis + [DataMember(Name = "android", EmitDefaultValue = true)] + public bool Android { get; set; } + + /// + /// Whether to allow offline analysis + /// + /// Whether to allow offline analysis + [DataMember(Name = "standalonewindows", EmitDefaultValue = true)] + public bool Standalonewindows { 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 APIConfigOfflineAnalysis {\n"); + sb.Append(" Android: ").Append(Android).Append("\n"); + sb.Append(" Standalonewindows: ").Append(Standalonewindows).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 APIConfigOfflineAnalysis); + } + + /// + /// Returns true if APIConfigOfflineAnalysis instances are equal + /// + /// Instance of APIConfigOfflineAnalysis to be compared + /// Boolean + public bool Equals(APIConfigOfflineAnalysis input) + { + if (input == null) + { + return false; + } + return + ( + this.Android == input.Android || + this.Android.Equals(input.Android) + ) && + ( + this.Standalonewindows == input.Standalonewindows || + this.Standalonewindows.Equals(input.Standalonewindows) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.Android.GetHashCode(); + hashCode = (hashCode * 59) + this.Standalonewindows.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/APIConfigReportCategories.cs b/src/VRChat.API/Model/APIConfigReportCategories.cs new file mode 100644 index 00000000..bf1ef9c5 --- /dev/null +++ b/src/VRChat.API/Model/APIConfigReportCategories.cs @@ -0,0 +1,345 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Categories available for reporting objectionable content + /// + [DataContract(Name = "APIConfig_reportCategories")] + public partial class APIConfigReportCategories : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected APIConfigReportCategories() { } + /// + /// Initializes a new instance of the class. + /// + /// avatar (required). + /// behavior (required). + /// chat (required). + /// environment (required). + /// groupstore (required). + /// image (required). + /// text (required). + /// warnings (required). + /// worldimage (required). + /// worldstore (required). + public APIConfigReportCategories(ReportCategory avatar = default(ReportCategory), ReportCategory behavior = default(ReportCategory), ReportCategory chat = default(ReportCategory), ReportCategory environment = default(ReportCategory), ReportCategory groupstore = default(ReportCategory), ReportCategory image = default(ReportCategory), ReportCategory text = default(ReportCategory), ReportCategory warnings = default(ReportCategory), ReportCategory worldimage = default(ReportCategory), ReportCategory worldstore = default(ReportCategory)) + { + // to ensure "avatar" is required (not null) + if (avatar == null) + { + throw new ArgumentNullException("avatar is a required property for APIConfigReportCategories and cannot be null"); + } + this.Avatar = avatar; + // to ensure "behavior" is required (not null) + if (behavior == null) + { + throw new ArgumentNullException("behavior is a required property for APIConfigReportCategories and cannot be null"); + } + this.Behavior = behavior; + // to ensure "chat" is required (not null) + if (chat == null) + { + throw new ArgumentNullException("chat is a required property for APIConfigReportCategories and cannot be null"); + } + this.Chat = chat; + // to ensure "environment" is required (not null) + if (environment == null) + { + throw new ArgumentNullException("environment is a required property for APIConfigReportCategories and cannot be null"); + } + this.Environment = environment; + // to ensure "groupstore" is required (not null) + if (groupstore == null) + { + throw new ArgumentNullException("groupstore is a required property for APIConfigReportCategories and cannot be null"); + } + this.Groupstore = groupstore; + // to ensure "image" is required (not null) + if (image == null) + { + throw new ArgumentNullException("image is a required property for APIConfigReportCategories and cannot be null"); + } + this.Image = image; + // to ensure "text" is required (not null) + if (text == null) + { + throw new ArgumentNullException("text is a required property for APIConfigReportCategories and cannot be null"); + } + this.Text = text; + // to ensure "warnings" is required (not null) + if (warnings == null) + { + throw new ArgumentNullException("warnings is a required property for APIConfigReportCategories and cannot be null"); + } + this.Warnings = warnings; + // to ensure "worldimage" is required (not null) + if (worldimage == null) + { + throw new ArgumentNullException("worldimage is a required property for APIConfigReportCategories and cannot be null"); + } + this.Worldimage = worldimage; + // to ensure "worldstore" is required (not null) + if (worldstore == null) + { + throw new ArgumentNullException("worldstore is a required property for APIConfigReportCategories and cannot be null"); + } + this.Worldstore = worldstore; + } + + /// + /// Gets or Sets Avatar + /// + [DataMember(Name = "avatar", IsRequired = true, EmitDefaultValue = true)] + public ReportCategory Avatar { get; set; } + + /// + /// Gets or Sets Behavior + /// + [DataMember(Name = "behavior", IsRequired = true, EmitDefaultValue = true)] + public ReportCategory Behavior { get; set; } + + /// + /// Gets or Sets Chat + /// + [DataMember(Name = "chat", IsRequired = true, EmitDefaultValue = true)] + public ReportCategory Chat { get; set; } + + /// + /// Gets or Sets Environment + /// + [DataMember(Name = "environment", IsRequired = true, EmitDefaultValue = true)] + public ReportCategory Environment { get; set; } + + /// + /// Gets or Sets Groupstore + /// + [DataMember(Name = "groupstore", IsRequired = true, EmitDefaultValue = true)] + public ReportCategory Groupstore { get; set; } + + /// + /// Gets or Sets Image + /// + [DataMember(Name = "image", IsRequired = true, EmitDefaultValue = true)] + public ReportCategory Image { get; set; } + + /// + /// Gets or Sets Text + /// + [DataMember(Name = "text", IsRequired = true, EmitDefaultValue = true)] + public ReportCategory Text { get; set; } + + /// + /// Gets or Sets Warnings + /// + [DataMember(Name = "warnings", IsRequired = true, EmitDefaultValue = true)] + public ReportCategory Warnings { get; set; } + + /// + /// Gets or Sets Worldimage + /// + [DataMember(Name = "worldimage", IsRequired = true, EmitDefaultValue = true)] + public ReportCategory Worldimage { get; set; } + + /// + /// Gets or Sets Worldstore + /// + [DataMember(Name = "worldstore", IsRequired = true, EmitDefaultValue = true)] + public ReportCategory Worldstore { 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 APIConfigReportCategories {\n"); + sb.Append(" Avatar: ").Append(Avatar).Append("\n"); + sb.Append(" Behavior: ").Append(Behavior).Append("\n"); + sb.Append(" Chat: ").Append(Chat).Append("\n"); + sb.Append(" Environment: ").Append(Environment).Append("\n"); + sb.Append(" Groupstore: ").Append(Groupstore).Append("\n"); + sb.Append(" Image: ").Append(Image).Append("\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" Warnings: ").Append(Warnings).Append("\n"); + sb.Append(" Worldimage: ").Append(Worldimage).Append("\n"); + sb.Append(" Worldstore: ").Append(Worldstore).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 APIConfigReportCategories); + } + + /// + /// Returns true if APIConfigReportCategories instances are equal + /// + /// Instance of APIConfigReportCategories to be compared + /// Boolean + public bool Equals(APIConfigReportCategories input) + { + if (input == null) + { + return false; + } + return + ( + this.Avatar == input.Avatar || + (this.Avatar != null && + this.Avatar.Equals(input.Avatar)) + ) && + ( + this.Behavior == input.Behavior || + (this.Behavior != null && + this.Behavior.Equals(input.Behavior)) + ) && + ( + this.Chat == input.Chat || + (this.Chat != null && + this.Chat.Equals(input.Chat)) + ) && + ( + this.Environment == input.Environment || + (this.Environment != null && + this.Environment.Equals(input.Environment)) + ) && + ( + this.Groupstore == input.Groupstore || + (this.Groupstore != null && + this.Groupstore.Equals(input.Groupstore)) + ) && + ( + this.Image == input.Image || + (this.Image != null && + this.Image.Equals(input.Image)) + ) && + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.Warnings == input.Warnings || + (this.Warnings != null && + this.Warnings.Equals(input.Warnings)) + ) && + ( + this.Worldimage == input.Worldimage || + (this.Worldimage != null && + this.Worldimage.Equals(input.Worldimage)) + ) && + ( + this.Worldstore == input.Worldstore || + (this.Worldstore != null && + this.Worldstore.Equals(input.Worldstore)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Avatar != null) + { + hashCode = (hashCode * 59) + this.Avatar.GetHashCode(); + } + if (this.Behavior != null) + { + hashCode = (hashCode * 59) + this.Behavior.GetHashCode(); + } + if (this.Chat != null) + { + hashCode = (hashCode * 59) + this.Chat.GetHashCode(); + } + if (this.Environment != null) + { + hashCode = (hashCode * 59) + this.Environment.GetHashCode(); + } + if (this.Groupstore != null) + { + hashCode = (hashCode * 59) + this.Groupstore.GetHashCode(); + } + if (this.Image != null) + { + hashCode = (hashCode * 59) + this.Image.GetHashCode(); + } + if (this.Text != null) + { + hashCode = (hashCode * 59) + this.Text.GetHashCode(); + } + if (this.Warnings != null) + { + hashCode = (hashCode * 59) + this.Warnings.GetHashCode(); + } + if (this.Worldimage != null) + { + hashCode = (hashCode * 59) + this.Worldimage.GetHashCode(); + } + if (this.Worldstore != null) + { + hashCode = (hashCode * 59) + this.Worldstore.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/APIConfigReportReasons.cs b/src/VRChat.API/Model/APIConfigReportReasons.cs new file mode 100644 index 00000000..c2e26416 --- /dev/null +++ b/src/VRChat.API/Model/APIConfigReportReasons.cs @@ -0,0 +1,552 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Reasons available for reporting users + /// + [DataContract(Name = "APIConfig_reportReasons")] + public partial class APIConfigReportReasons : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected APIConfigReportReasons() { } + /// + /// Initializes a new instance of the class. + /// + /// billing (required). + /// botting (required). + /// cancellation (required). + /// gore (required). + /// hacking (required). + /// harassing (required). + /// hateful (required). + /// impersonation (required). + /// inappropriate (required). + /// leaking (required). + /// malicious (required). + /// missing (required). + /// nudity (required). + /// renewal (required). + /// security (required). + /// service (required). + /// sexual (required). + /// threatening (required). + /// visuals (required). + public APIConfigReportReasons(ReportReason billing = default(ReportReason), ReportReason botting = default(ReportReason), ReportReason cancellation = default(ReportReason), ReportReason gore = default(ReportReason), ReportReason hacking = default(ReportReason), ReportReason harassing = default(ReportReason), ReportReason hateful = default(ReportReason), ReportReason impersonation = default(ReportReason), ReportReason inappropriate = default(ReportReason), ReportReason leaking = default(ReportReason), ReportReason malicious = default(ReportReason), ReportReason missing = default(ReportReason), ReportReason nudity = default(ReportReason), ReportReason renewal = default(ReportReason), ReportReason security = default(ReportReason), ReportReason service = default(ReportReason), ReportReason sexual = default(ReportReason), ReportReason threatening = default(ReportReason), ReportReason visuals = default(ReportReason)) + { + // to ensure "billing" is required (not null) + if (billing == null) + { + throw new ArgumentNullException("billing is a required property for APIConfigReportReasons and cannot be null"); + } + this.Billing = billing; + // to ensure "botting" is required (not null) + if (botting == null) + { + throw new ArgumentNullException("botting is a required property for APIConfigReportReasons and cannot be null"); + } + this.Botting = botting; + // to ensure "cancellation" is required (not null) + if (cancellation == null) + { + throw new ArgumentNullException("cancellation is a required property for APIConfigReportReasons and cannot be null"); + } + this.Cancellation = cancellation; + // to ensure "gore" is required (not null) + if (gore == null) + { + throw new ArgumentNullException("gore is a required property for APIConfigReportReasons and cannot be null"); + } + this.Gore = gore; + // to ensure "hacking" is required (not null) + if (hacking == null) + { + throw new ArgumentNullException("hacking is a required property for APIConfigReportReasons and cannot be null"); + } + this.Hacking = hacking; + // to ensure "harassing" is required (not null) + if (harassing == null) + { + throw new ArgumentNullException("harassing is a required property for APIConfigReportReasons and cannot be null"); + } + this.Harassing = harassing; + // to ensure "hateful" is required (not null) + if (hateful == null) + { + throw new ArgumentNullException("hateful is a required property for APIConfigReportReasons and cannot be null"); + } + this.Hateful = hateful; + // to ensure "impersonation" is required (not null) + if (impersonation == null) + { + throw new ArgumentNullException("impersonation is a required property for APIConfigReportReasons and cannot be null"); + } + this.Impersonation = impersonation; + // to ensure "inappropriate" is required (not null) + if (inappropriate == null) + { + throw new ArgumentNullException("inappropriate is a required property for APIConfigReportReasons and cannot be null"); + } + this.Inappropriate = inappropriate; + // to ensure "leaking" is required (not null) + if (leaking == null) + { + throw new ArgumentNullException("leaking is a required property for APIConfigReportReasons and cannot be null"); + } + this.Leaking = leaking; + // to ensure "malicious" is required (not null) + if (malicious == null) + { + throw new ArgumentNullException("malicious is a required property for APIConfigReportReasons and cannot be null"); + } + this.Malicious = malicious; + // to ensure "missing" is required (not null) + if (missing == null) + { + throw new ArgumentNullException("missing is a required property for APIConfigReportReasons and cannot be null"); + } + this.Missing = missing; + // to ensure "nudity" is required (not null) + if (nudity == null) + { + throw new ArgumentNullException("nudity is a required property for APIConfigReportReasons and cannot be null"); + } + this.Nudity = nudity; + // to ensure "renewal" is required (not null) + if (renewal == null) + { + throw new ArgumentNullException("renewal is a required property for APIConfigReportReasons and cannot be null"); + } + this.Renewal = renewal; + // to ensure "security" is required (not null) + if (security == null) + { + throw new ArgumentNullException("security is a required property for APIConfigReportReasons and cannot be null"); + } + this.Security = security; + // to ensure "service" is required (not null) + if (service == null) + { + throw new ArgumentNullException("service is a required property for APIConfigReportReasons and cannot be null"); + } + this.Service = service; + // to ensure "sexual" is required (not null) + if (sexual == null) + { + throw new ArgumentNullException("sexual is a required property for APIConfigReportReasons and cannot be null"); + } + this.Sexual = sexual; + // to ensure "threatening" is required (not null) + if (threatening == null) + { + throw new ArgumentNullException("threatening is a required property for APIConfigReportReasons and cannot be null"); + } + this.Threatening = threatening; + // to ensure "visuals" is required (not null) + if (visuals == null) + { + throw new ArgumentNullException("visuals is a required property for APIConfigReportReasons and cannot be null"); + } + this.Visuals = visuals; + } + + /// + /// Gets or Sets Billing + /// + [DataMember(Name = "billing", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Billing { get; set; } + + /// + /// Gets or Sets Botting + /// + [DataMember(Name = "botting", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Botting { get; set; } + + /// + /// Gets or Sets Cancellation + /// + [DataMember(Name = "cancellation", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Cancellation { get; set; } + + /// + /// Gets or Sets Gore + /// + [DataMember(Name = "gore", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Gore { get; set; } + + /// + /// Gets or Sets Hacking + /// + [DataMember(Name = "hacking", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Hacking { get; set; } + + /// + /// Gets or Sets Harassing + /// + [DataMember(Name = "harassing", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Harassing { get; set; } + + /// + /// Gets or Sets Hateful + /// + [DataMember(Name = "hateful", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Hateful { get; set; } + + /// + /// Gets or Sets Impersonation + /// + [DataMember(Name = "impersonation", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Impersonation { get; set; } + + /// + /// Gets or Sets Inappropriate + /// + [DataMember(Name = "inappropriate", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Inappropriate { get; set; } + + /// + /// Gets or Sets Leaking + /// + [DataMember(Name = "leaking", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Leaking { get; set; } + + /// + /// Gets or Sets Malicious + /// + [DataMember(Name = "malicious", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Malicious { get; set; } + + /// + /// Gets or Sets Missing + /// + [DataMember(Name = "missing", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Missing { get; set; } + + /// + /// Gets or Sets Nudity + /// + [DataMember(Name = "nudity", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Nudity { get; set; } + + /// + /// Gets or Sets Renewal + /// + [DataMember(Name = "renewal", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Renewal { get; set; } + + /// + /// Gets or Sets Security + /// + [DataMember(Name = "security", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Security { get; set; } + + /// + /// Gets or Sets Service + /// + [DataMember(Name = "service", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Service { get; set; } + + /// + /// Gets or Sets Sexual + /// + [DataMember(Name = "sexual", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Sexual { get; set; } + + /// + /// Gets or Sets Threatening + /// + [DataMember(Name = "threatening", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Threatening { get; set; } + + /// + /// Gets or Sets Visuals + /// + [DataMember(Name = "visuals", IsRequired = true, EmitDefaultValue = true)] + public ReportReason Visuals { 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 APIConfigReportReasons {\n"); + sb.Append(" Billing: ").Append(Billing).Append("\n"); + sb.Append(" Botting: ").Append(Botting).Append("\n"); + sb.Append(" Cancellation: ").Append(Cancellation).Append("\n"); + sb.Append(" Gore: ").Append(Gore).Append("\n"); + sb.Append(" Hacking: ").Append(Hacking).Append("\n"); + sb.Append(" Harassing: ").Append(Harassing).Append("\n"); + sb.Append(" Hateful: ").Append(Hateful).Append("\n"); + sb.Append(" Impersonation: ").Append(Impersonation).Append("\n"); + sb.Append(" Inappropriate: ").Append(Inappropriate).Append("\n"); + sb.Append(" Leaking: ").Append(Leaking).Append("\n"); + sb.Append(" Malicious: ").Append(Malicious).Append("\n"); + sb.Append(" Missing: ").Append(Missing).Append("\n"); + sb.Append(" Nudity: ").Append(Nudity).Append("\n"); + sb.Append(" Renewal: ").Append(Renewal).Append("\n"); + sb.Append(" Security: ").Append(Security).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" Sexual: ").Append(Sexual).Append("\n"); + sb.Append(" Threatening: ").Append(Threatening).Append("\n"); + sb.Append(" Visuals: ").Append(Visuals).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 APIConfigReportReasons); + } + + /// + /// Returns true if APIConfigReportReasons instances are equal + /// + /// Instance of APIConfigReportReasons to be compared + /// Boolean + public bool Equals(APIConfigReportReasons input) + { + if (input == null) + { + return false; + } + return + ( + this.Billing == input.Billing || + (this.Billing != null && + this.Billing.Equals(input.Billing)) + ) && + ( + this.Botting == input.Botting || + (this.Botting != null && + this.Botting.Equals(input.Botting)) + ) && + ( + this.Cancellation == input.Cancellation || + (this.Cancellation != null && + this.Cancellation.Equals(input.Cancellation)) + ) && + ( + this.Gore == input.Gore || + (this.Gore != null && + this.Gore.Equals(input.Gore)) + ) && + ( + this.Hacking == input.Hacking || + (this.Hacking != null && + this.Hacking.Equals(input.Hacking)) + ) && + ( + this.Harassing == input.Harassing || + (this.Harassing != null && + this.Harassing.Equals(input.Harassing)) + ) && + ( + this.Hateful == input.Hateful || + (this.Hateful != null && + this.Hateful.Equals(input.Hateful)) + ) && + ( + this.Impersonation == input.Impersonation || + (this.Impersonation != null && + this.Impersonation.Equals(input.Impersonation)) + ) && + ( + this.Inappropriate == input.Inappropriate || + (this.Inappropriate != null && + this.Inappropriate.Equals(input.Inappropriate)) + ) && + ( + this.Leaking == input.Leaking || + (this.Leaking != null && + this.Leaking.Equals(input.Leaking)) + ) && + ( + this.Malicious == input.Malicious || + (this.Malicious != null && + this.Malicious.Equals(input.Malicious)) + ) && + ( + this.Missing == input.Missing || + (this.Missing != null && + this.Missing.Equals(input.Missing)) + ) && + ( + this.Nudity == input.Nudity || + (this.Nudity != null && + this.Nudity.Equals(input.Nudity)) + ) && + ( + this.Renewal == input.Renewal || + (this.Renewal != null && + this.Renewal.Equals(input.Renewal)) + ) && + ( + this.Security == input.Security || + (this.Security != null && + this.Security.Equals(input.Security)) + ) && + ( + this.Service == input.Service || + (this.Service != null && + this.Service.Equals(input.Service)) + ) && + ( + this.Sexual == input.Sexual || + (this.Sexual != null && + this.Sexual.Equals(input.Sexual)) + ) && + ( + this.Threatening == input.Threatening || + (this.Threatening != null && + this.Threatening.Equals(input.Threatening)) + ) && + ( + this.Visuals == input.Visuals || + (this.Visuals != null && + this.Visuals.Equals(input.Visuals)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Billing != null) + { + hashCode = (hashCode * 59) + this.Billing.GetHashCode(); + } + if (this.Botting != null) + { + hashCode = (hashCode * 59) + this.Botting.GetHashCode(); + } + if (this.Cancellation != null) + { + hashCode = (hashCode * 59) + this.Cancellation.GetHashCode(); + } + if (this.Gore != null) + { + hashCode = (hashCode * 59) + this.Gore.GetHashCode(); + } + if (this.Hacking != null) + { + hashCode = (hashCode * 59) + this.Hacking.GetHashCode(); + } + if (this.Harassing != null) + { + hashCode = (hashCode * 59) + this.Harassing.GetHashCode(); + } + if (this.Hateful != null) + { + hashCode = (hashCode * 59) + this.Hateful.GetHashCode(); + } + if (this.Impersonation != null) + { + hashCode = (hashCode * 59) + this.Impersonation.GetHashCode(); + } + if (this.Inappropriate != null) + { + hashCode = (hashCode * 59) + this.Inappropriate.GetHashCode(); + } + if (this.Leaking != null) + { + hashCode = (hashCode * 59) + this.Leaking.GetHashCode(); + } + if (this.Malicious != null) + { + hashCode = (hashCode * 59) + this.Malicious.GetHashCode(); + } + if (this.Missing != null) + { + hashCode = (hashCode * 59) + this.Missing.GetHashCode(); + } + if (this.Nudity != null) + { + hashCode = (hashCode * 59) + this.Nudity.GetHashCode(); + } + if (this.Renewal != null) + { + hashCode = (hashCode * 59) + this.Renewal.GetHashCode(); + } + if (this.Security != null) + { + hashCode = (hashCode * 59) + this.Security.GetHashCode(); + } + if (this.Service != null) + { + hashCode = (hashCode * 59) + this.Service.GetHashCode(); + } + if (this.Sexual != null) + { + hashCode = (hashCode * 59) + this.Sexual.GetHashCode(); + } + if (this.Threatening != null) + { + hashCode = (hashCode * 59) + this.Threatening.GetHashCode(); + } + if (this.Visuals != null) + { + hashCode = (hashCode * 59) + this.Visuals.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/APIHealth.cs b/src/VRChat.API/Model/APIHealth.cs index ec5ff2f0..916f6736 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 d2427524..5e2e1263 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 e2b92c89..2fbad592 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 58832c89..0e15e0a0 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 40aafb42..44b11c22 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 6d8dce00..f1ea2fcd 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 0faebfe4..1416aedc 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 index f656fc3f..0e2bb586 100644 --- a/src/VRChat.API/Model/Badge.cs +++ b/src/VRChat.API/Model/Badge.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/BanGroupMemberRequest.cs b/src/VRChat.API/Model/BanGroupMemberRequest.cs index 2811f487..4c00cd12 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 64e156d1..1d07ff0c 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 2fbbed42..0b9ce132 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 813af11e..0110aff7 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 4c446812..2f9f02f4 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 b648dc28..01a472ae 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 d1a359e6..811af3f8 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 b7aad21a..a57361e8 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 560b9176..0093f0c9 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 782b9ffc..930a41e6 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 0169663c..cabf929e 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 7d6f024a..00dce459 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 46a89a70..aeae6cf2 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/CurrentUserPresence.cs b/src/VRChat.API/Model/CurrentUserPresence.cs index 364a8e81..04f6f396 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 0d5f3e19..e3ffc874 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 7df43792..eb81be3e 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 b124f561..c5f7ea00 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 eb7961e5..6277c7a8 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 ebb8c7af..f39ba90a 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 bc81c49d..67850797 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 d2643ead..551f180b 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 7292e5e1..c25e2fd7 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 9cf43400..d69b5b72 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 8bbd696c..b7edf541 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 58a346ee..384ff8a2 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 c17f1e49..18a8829b 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 44de47c3..540760e5 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 16685a26..9237d520 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 ec30e5d3..6dfe2742 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 ebef9a8b..35565ac5 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 6baa3f4d..473222ce 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -52,6 +52,7 @@ public partial class Group : IEquatable, IValidatableObject /// /// Initializes a new instance of the class. /// + /// badges. /// id. /// name. /// shortCode. @@ -80,8 +81,9 @@ public partial class Group : IEquatable, IValidatableObject /// membershipStatus. /// myMember. /// Only returned if ?includeRoles=true is specified.. - public Group(string id = default(string), string name = default(string), string shortCode = default(string), string discriminator = default(string), string description = default(string), string iconUrl = default(string), string bannerUrl = default(string), GroupPrivacy? privacy = default(GroupPrivacy?), string ownerId = default(string), string rules = default(string), List links = default(List), List languages = default(List), string iconId = default(string), string bannerId = default(string), int memberCount = default(int), DateTime memberCountSyncedAt = default(DateTime), bool isVerified = false, GroupJoinState? joinState = default(GroupJoinState?), List tags = default(List), string transferTargetId = default(string), List galleries = default(List), DateTime createdAt = default(DateTime), DateTime updatedAt = default(DateTime), DateTime? lastPostCreatedAt = default(DateTime?), int onlineMemberCount = default(int), GroupMemberStatus? membershipStatus = default(GroupMemberStatus?), GroupMyMember myMember = default(GroupMyMember), List roles = default(List)) + public Group(List badges = default(List), string id = default(string), string name = default(string), string shortCode = default(string), string discriminator = default(string), string description = default(string), string iconUrl = default(string), string bannerUrl = default(string), GroupPrivacy? privacy = default(GroupPrivacy?), string ownerId = default(string), string rules = default(string), List links = default(List), List languages = default(List), string iconId = default(string), string bannerId = default(string), int memberCount = default(int), DateTime memberCountSyncedAt = default(DateTime), bool isVerified = false, GroupJoinState? joinState = default(GroupJoinState?), List tags = default(List), string transferTargetId = default(string), List galleries = default(List), DateTime createdAt = default(DateTime), DateTime updatedAt = default(DateTime), DateTime? lastPostCreatedAt = default(DateTime?), int onlineMemberCount = default(int), GroupMemberStatus? membershipStatus = default(GroupMemberStatus?), GroupMyMember myMember = default(GroupMyMember), List roles = default(List)) { + this.Badges = badges; this.Id = id; this.Name = name; this.ShortCode = shortCode; @@ -112,6 +114,12 @@ public partial class Group : IEquatable, IValidatableObject this.Roles = roles; } + /// + /// Gets or Sets Badges + /// + [DataMember(Name = "badges", EmitDefaultValue = false)] + public List Badges { get; set; } + /// /// Gets or Sets Id /// @@ -273,6 +281,7 @@ public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("class Group {\n"); + sb.Append(" Badges: ").Append(Badges).Append("\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" ShortCode: ").Append(ShortCode).Append("\n"); @@ -336,6 +345,12 @@ public bool Equals(Group input) return false; } return + ( + this.Badges == input.Badges || + this.Badges != null && + input.Badges != null && + this.Badges.SequenceEqual(input.Badges) + ) && ( this.Id == input.Id || (this.Id != null && @@ -486,6 +501,10 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; + if (this.Badges != null) + { + hashCode = (hashCode * 59) + this.Badges.GetHashCode(); + } if (this.Id != null) { hashCode = (hashCode * 59) + this.Id.GetHashCode(); diff --git a/src/VRChat.API/Model/GroupAccessType.cs b/src/VRChat.API/Model/GroupAccessType.cs index e6520e2b..d9cb9488 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 e5adddfe..03e9e9ac 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 593022d1..3da3720e 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 b5a1acd6..6a07e08a 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 0dbc27b0..2dc56387 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 0f03897c..10c2f8bc 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 2c07b628..06321326 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 238249f1..06d08523 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 f1174b9e..ce1f83c7 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 34ef0044..701532e0 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -40,6 +40,8 @@ public partial class GroupMember : IEquatable, IValidatableObject /// /// Initializes a new instance of the class. /// + /// acceptedByDisplayName. + /// 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.. /// id. /// groupId. /// 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.. @@ -56,8 +58,10 @@ public partial class GroupMember : IEquatable, IValidatableObject /// Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user.. /// lastPostReadAt. /// hasJoinedFromPurchase. - public GroupMember(string id = default(string), string groupId = default(string), string userId = default(string), bool isRepresenting = false, GroupMemberLimitedUser user = default(GroupMemberLimitedUser), List roleIds = default(List), List mRoleIds = default(List), DateTime? joinedAt = default(DateTime?), GroupMemberStatus? membershipStatus = default(GroupMemberStatus?), string visibility = default(string), bool isSubscribedToAnnouncements = false, DateTime? createdAt = default(DateTime?), DateTime? bannedAt = default(DateTime?), string managerNotes = default(string), DateTime? lastPostReadAt = default(DateTime?), bool hasJoinedFromPurchase = default(bool)) + public GroupMember(string acceptedByDisplayName = default(string), string acceptedById = default(string), string id = default(string), string groupId = default(string), string userId = default(string), bool isRepresenting = false, GroupMemberLimitedUser user = default(GroupMemberLimitedUser), List roleIds = default(List), List mRoleIds = default(List), DateTime? joinedAt = default(DateTime?), GroupMemberStatus? membershipStatus = default(GroupMemberStatus?), string visibility = default(string), bool isSubscribedToAnnouncements = false, DateTime? createdAt = default(DateTime?), DateTime? bannedAt = default(DateTime?), string managerNotes = default(string), DateTime? lastPostReadAt = default(DateTime?), bool hasJoinedFromPurchase = default(bool)) { + this.AcceptedByDisplayName = acceptedByDisplayName; + this.AcceptedById = acceptedById; this.Id = id; this.GroupId = groupId; this.UserId = userId; @@ -76,6 +80,19 @@ public partial class GroupMember : IEquatable, IValidatableObject this.HasJoinedFromPurchase = hasJoinedFromPurchase; } + /// + /// Gets or Sets AcceptedByDisplayName + /// + [DataMember(Name = "acceptedByDisplayName", EmitDefaultValue = false)] + public string AcceptedByDisplayName { 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 = "acceptedById", EmitDefaultValue = false)] + public string AcceptedById { get; set; } + /// /// Gets or Sets Id /// @@ -179,6 +196,8 @@ public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("class GroupMember {\n"); + sb.Append(" AcceptedByDisplayName: ").Append(AcceptedByDisplayName).Append("\n"); + sb.Append(" AcceptedById: ").Append(AcceptedById).Append("\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" GroupId: ").Append(GroupId).Append("\n"); sb.Append(" UserId: ").Append(UserId).Append("\n"); @@ -230,6 +249,16 @@ public bool Equals(GroupMember input) return false; } return + ( + this.AcceptedByDisplayName == input.AcceptedByDisplayName || + (this.AcceptedByDisplayName != null && + this.AcceptedByDisplayName.Equals(input.AcceptedByDisplayName)) + ) && + ( + this.AcceptedById == input.AcceptedById || + (this.AcceptedById != null && + this.AcceptedById.Equals(input.AcceptedById)) + ) && ( this.Id == input.Id || (this.Id != null && @@ -319,6 +348,14 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; + if (this.AcceptedByDisplayName != null) + { + hashCode = (hashCode * 59) + this.AcceptedByDisplayName.GetHashCode(); + } + if (this.AcceptedById != null) + { + hashCode = (hashCode * 59) + this.AcceptedById.GetHashCode(); + } if (this.Id != null) { hashCode = (hashCode * 59) + this.Id.GetHashCode(); diff --git a/src/VRChat.API/Model/GroupMemberLimitedUser.cs b/src/VRChat.API/Model/GroupMemberLimitedUser.cs index 8ca5e5d8..676ddca1 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 fac8f24d..8542b0b2 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 d148d670..f545d62a 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 b56edadb..ef9935c2 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 b2b45666..b17692d8 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 99ba98f5..082db7df 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 ca136107..5efbf456 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 1ee9a068..4393a4cf 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 989da091..8503d174 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 6bcd05b4..99a1dd0c 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 65885d05..ff549bb9 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 842f8f67..00dc2f59 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 b350b51d..2200f119 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 36287a7d..850e8a7b 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 2ab397e7..459c1db3 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 27630d2b..b146f077 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 4a7b89f4..b2297b66 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -67,9 +67,12 @@ protected Instance() { } /// canRequestInvite (required) (default to true). /// capacity (required). /// Always returns \"unknown\". (required). + /// displayName (required). /// full (required) (default to false). + /// gameServerVersion (required). /// InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. (required). /// instanceId (required). + /// instancePersistenceEnabled (required). /// InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. (required). /// nUsers (required). /// name (required). @@ -77,6 +80,7 @@ protected Instance() { } /// permanent (required) (default to false). /// photonRegion (required). /// platforms (required). + /// playerPersistenceEnabled (required). /// region (required). /// secureName (required). /// shortName. @@ -99,7 +103,7 @@ protected Instance() { } /// nonce. /// closedAt. /// hardClose. - public Instance(bool active = true, bool canRequestInvite = true, int capacity = default(int), string clientNumber = default(string), bool full = false, string id = default(string), string instanceId = default(string), string location = default(string), int nUsers = default(int), string name = default(string), string ownerId = default(string), bool permanent = false, Region photonRegion = default(Region), InstancePlatforms platforms = default(InstancePlatforms), InstanceRegion region = default(InstanceRegion), string secureName = default(string), string shortName = default(string), List tags = default(List), InstanceType type = default(InstanceType), string worldId = default(string), string hidden = default(string), string friends = default(string), string _private = default(string), bool queueEnabled = default(bool), int queueSize = default(int), int recommendedCapacity = default(int), bool roleRestricted = default(bool), bool strict = default(bool), int userCount = default(int), World world = default(World), List users = default(List), GroupAccessType? groupAccessType = default(GroupAccessType?), bool hasCapacityForYou = default(bool), string nonce = default(string), DateTime? closedAt = default(DateTime?), bool? hardClose = default(bool?)) + public Instance(bool active = true, bool canRequestInvite = true, int capacity = default(int), string clientNumber = default(string), string displayName = default(string), bool full = false, int gameServerVersion = default(int), string id = default(string), string instanceId = default(string), string instancePersistenceEnabled = default(string), string location = default(string), int nUsers = default(int), string name = default(string), string ownerId = default(string), bool permanent = false, Region photonRegion = default(Region), InstancePlatforms platforms = default(InstancePlatforms), string playerPersistenceEnabled = default(string), InstanceRegion region = default(InstanceRegion), string secureName = default(string), string shortName = default(string), List tags = default(List), InstanceType type = default(InstanceType), string worldId = default(string), string hidden = default(string), string friends = default(string), string _private = default(string), bool queueEnabled = default(bool), int queueSize = default(int), int recommendedCapacity = default(int), bool roleRestricted = default(bool), bool strict = default(bool), int userCount = default(int), World world = default(World), List users = default(List), GroupAccessType? groupAccessType = default(GroupAccessType?), bool hasCapacityForYou = default(bool), string nonce = default(string), DateTime? closedAt = default(DateTime?), bool? hardClose = default(bool?)) { this.Active = active; this.CanRequestInvite = canRequestInvite; @@ -110,7 +114,14 @@ protected Instance() { } throw new ArgumentNullException("clientNumber is a required property for Instance and cannot be null"); } this.ClientNumber = clientNumber; + // to ensure "displayName" is required (not null) + if (displayName == null) + { + throw new ArgumentNullException("displayName is a required property for Instance and cannot be null"); + } + this.DisplayName = displayName; this.Full = full; + this.GameServerVersion = gameServerVersion; // to ensure "id" is required (not null) if (id == null) { @@ -123,6 +134,12 @@ protected Instance() { } throw new ArgumentNullException("instanceId is a required property for Instance and cannot be null"); } this.InstanceId = instanceId; + // to ensure "instancePersistenceEnabled" is required (not null) + if (instancePersistenceEnabled == null) + { + throw new ArgumentNullException("instancePersistenceEnabled is a required property for Instance and cannot be null"); + } + this.InstancePersistenceEnabled = instancePersistenceEnabled; // to ensure "location" is required (not null) if (location == null) { @@ -144,6 +161,12 @@ protected Instance() { } throw new ArgumentNullException("platforms is a required property for Instance and cannot be null"); } this.Platforms = platforms; + // to ensure "playerPersistenceEnabled" is required (not null) + if (playerPersistenceEnabled == null) + { + throw new ArgumentNullException("playerPersistenceEnabled is a required property for Instance and cannot be null"); + } + this.PlayerPersistenceEnabled = playerPersistenceEnabled; this.Region = region; // to ensure "secureName" is required (not null) if (secureName == null) @@ -215,12 +238,24 @@ protected Instance() { } [Obsolete] public string ClientNumber { get; set; } + /// + /// Gets or Sets DisplayName + /// + [DataMember(Name = "displayName", IsRequired = true, EmitDefaultValue = true)] + public string DisplayName { get; set; } + /// /// Gets or Sets Full /// [DataMember(Name = "full", IsRequired = true, EmitDefaultValue = true)] public bool Full { get; set; } + /// + /// Gets or Sets GameServerVersion + /// + [DataMember(Name = "gameServerVersion", IsRequired = true, EmitDefaultValue = true)] + public int GameServerVersion { get; set; } + /// /// InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. /// @@ -234,6 +269,12 @@ protected Instance() { } [DataMember(Name = "instanceId", IsRequired = true, EmitDefaultValue = true)] public string InstanceId { get; set; } + /// + /// Gets or Sets InstancePersistenceEnabled + /// + [DataMember(Name = "instancePersistenceEnabled", IsRequired = true, EmitDefaultValue = true)] + public string InstancePersistenceEnabled { get; set; } + /// /// InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. /// @@ -272,6 +313,12 @@ protected Instance() { } [DataMember(Name = "platforms", IsRequired = true, EmitDefaultValue = true)] public InstancePlatforms Platforms { get; set; } + /// + /// Gets or Sets PlayerPersistenceEnabled + /// + [DataMember(Name = "playerPersistenceEnabled", IsRequired = true, EmitDefaultValue = true)] + public string PlayerPersistenceEnabled { get; set; } + /// /// Gets or Sets SecureName /// @@ -404,9 +451,12 @@ public override string ToString() sb.Append(" CanRequestInvite: ").Append(CanRequestInvite).Append("\n"); sb.Append(" Capacity: ").Append(Capacity).Append("\n"); sb.Append(" ClientNumber: ").Append(ClientNumber).Append("\n"); + sb.Append(" DisplayName: ").Append(DisplayName).Append("\n"); sb.Append(" Full: ").Append(Full).Append("\n"); + sb.Append(" GameServerVersion: ").Append(GameServerVersion).Append("\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" InstanceId: ").Append(InstanceId).Append("\n"); + sb.Append(" InstancePersistenceEnabled: ").Append(InstancePersistenceEnabled).Append("\n"); sb.Append(" Location: ").Append(Location).Append("\n"); sb.Append(" NUsers: ").Append(NUsers).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); @@ -414,6 +464,7 @@ public override string ToString() sb.Append(" Permanent: ").Append(Permanent).Append("\n"); sb.Append(" PhotonRegion: ").Append(PhotonRegion).Append("\n"); sb.Append(" Platforms: ").Append(Platforms).Append("\n"); + sb.Append(" PlayerPersistenceEnabled: ").Append(PlayerPersistenceEnabled).Append("\n"); sb.Append(" Region: ").Append(Region).Append("\n"); sb.Append(" SecureName: ").Append(SecureName).Append("\n"); sb.Append(" ShortName: ").Append(ShortName).Append("\n"); @@ -488,10 +539,19 @@ public bool Equals(Instance input) (this.ClientNumber != null && this.ClientNumber.Equals(input.ClientNumber)) ) && + ( + this.DisplayName == input.DisplayName || + (this.DisplayName != null && + this.DisplayName.Equals(input.DisplayName)) + ) && ( this.Full == input.Full || this.Full.Equals(input.Full) ) && + ( + this.GameServerVersion == input.GameServerVersion || + this.GameServerVersion.Equals(input.GameServerVersion) + ) && ( this.Id == input.Id || (this.Id != null && @@ -502,6 +562,11 @@ public bool Equals(Instance input) (this.InstanceId != null && this.InstanceId.Equals(input.InstanceId)) ) && + ( + this.InstancePersistenceEnabled == input.InstancePersistenceEnabled || + (this.InstancePersistenceEnabled != null && + this.InstancePersistenceEnabled.Equals(input.InstancePersistenceEnabled)) + ) && ( this.Location == input.Location || (this.Location != null && @@ -534,6 +599,11 @@ public bool Equals(Instance input) (this.Platforms != null && this.Platforms.Equals(input.Platforms)) ) && + ( + this.PlayerPersistenceEnabled == input.PlayerPersistenceEnabled || + (this.PlayerPersistenceEnabled != null && + this.PlayerPersistenceEnabled.Equals(input.PlayerPersistenceEnabled)) + ) && ( this.Region == input.Region || this.Region.Equals(input.Region) @@ -654,7 +724,12 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.ClientNumber.GetHashCode(); } + if (this.DisplayName != null) + { + hashCode = (hashCode * 59) + this.DisplayName.GetHashCode(); + } hashCode = (hashCode * 59) + this.Full.GetHashCode(); + hashCode = (hashCode * 59) + this.GameServerVersion.GetHashCode(); if (this.Id != null) { hashCode = (hashCode * 59) + this.Id.GetHashCode(); @@ -663,6 +738,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.InstanceId.GetHashCode(); } + if (this.InstancePersistenceEnabled != null) + { + hashCode = (hashCode * 59) + this.InstancePersistenceEnabled.GetHashCode(); + } if (this.Location != null) { hashCode = (hashCode * 59) + this.Location.GetHashCode(); @@ -682,6 +761,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Platforms.GetHashCode(); } + if (this.PlayerPersistenceEnabled != null) + { + hashCode = (hashCode * 59) + this.PlayerPersistenceEnabled.GetHashCode(); + } hashCode = (hashCode * 59) + this.Region.GetHashCode(); if (this.SecureName != null) { diff --git a/src/VRChat.API/Model/InstancePlatforms.cs b/src/VRChat.API/Model/InstancePlatforms.cs index 20828af2..84b1b65d 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -40,11 +40,13 @@ protected InstancePlatforms() { } /// Initializes a new instance of the class. /// /// android (required). + /// ios. /// standalonewindows (required). - public InstancePlatforms(int android = default(int), int standalonewindows = default(int)) + public InstancePlatforms(int android = default(int), int ios = default(int), int standalonewindows = default(int)) { this.Android = android; this.Standalonewindows = standalonewindows; + this.Ios = ios; } /// @@ -53,6 +55,12 @@ protected InstancePlatforms() { } [DataMember(Name = "android", IsRequired = true, EmitDefaultValue = true)] public int Android { get; set; } + /// + /// Gets or Sets Ios + /// + [DataMember(Name = "ios", EmitDefaultValue = false)] + public int Ios { get; set; } + /// /// Gets or Sets Standalonewindows /// @@ -68,6 +76,7 @@ public override string ToString() StringBuilder sb = new StringBuilder(); sb.Append("class InstancePlatforms {\n"); sb.Append(" Android: ").Append(Android).Append("\n"); + sb.Append(" Ios: ").Append(Ios).Append("\n"); sb.Append(" Standalonewindows: ").Append(Standalonewindows).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -108,6 +117,10 @@ public bool Equals(InstancePlatforms input) this.Android == input.Android || this.Android.Equals(input.Android) ) && + ( + this.Ios == input.Ios || + this.Ios.Equals(input.Ios) + ) && ( this.Standalonewindows == input.Standalonewindows || this.Standalonewindows.Equals(input.Standalonewindows) @@ -124,6 +137,7 @@ public override int GetHashCode() { int hashCode = 41; hashCode = (hashCode * 59) + this.Android.GetHashCode(); + hashCode = (hashCode * 59) + this.Ios.GetHashCode(); hashCode = (hashCode * 59) + this.Standalonewindows.GetHashCode(); return hashCode; } @@ -142,6 +156,12 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Android, must be a value greater than or equal to 0.", new [] { "Android" }); } + // Ios (int) minimum + if (this.Ios < (int)0) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Ios, must be a value greater than or equal to 0.", new [] { "Ios" }); + } + // Standalonewindows (int) minimum if (this.Standalonewindows < (int)0) { diff --git a/src/VRChat.API/Model/InstanceRegion.cs b/src/VRChat.API/Model/InstanceRegion.cs index 0d02c6f2..f3d3068d 100644 --- a/src/VRChat.API/Model/InstanceRegion.cs +++ b/src/VRChat.API/Model/InstanceRegion.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 de0176c0..a70873d6 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -61,7 +61,7 @@ protected InstanceShortNameResponse() { } /// /// Gets or Sets ShortName /// - [DataMember(Name = "shortName", EmitDefaultValue = false)] + [DataMember(Name = "shortName", EmitDefaultValue = true)] public string ShortName { get; set; } /// diff --git a/src/VRChat.API/Model/InstanceType.cs b/src/VRChat.API/Model/InstanceType.cs index 7e170654..44a2f885 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 4a935dfe..56c4d566 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 5fcd7e62..bab23a1a 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 7df9a197..27ff1682 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 ea8874be..1d0e60c5 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 cb1aac9e..a64d5b42 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 4031d58b..1491ddac 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 ed41e626..384f7431 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 2b8659f8..cd27e2d8 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 7327b28f..fd8a68c8 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 73be3990..de0891b5 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 fc227e56..f8e7962b 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -62,6 +62,7 @@ protected LimitedUser() { } /// 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. (required). /// 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). + /// lastLogin. /// profilePicOverride. /// pronouns. /// status (required). @@ -71,7 +72,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), List bioLinks = default(List), string currentAvatarImageUrl = default(string), string currentAvatarThumbnailImageUrl = default(string), List currentAvatarTags = default(List), 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)) + public LimitedUser(string bio = default(string), List bioLinks = default(List), string currentAvatarImageUrl = default(string), string currentAvatarThumbnailImageUrl = default(string), List currentAvatarTags = default(List), DeveloperType developerType = default(DeveloperType), string displayName = default(string), string fallbackAvatar = default(string), string id = default(string), bool isFriend = default(bool), string lastPlatform = default(string), DateTime? lastLogin = default(DateTime?), 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) @@ -112,6 +113,7 @@ protected LimitedUser() { } this.CurrentAvatarThumbnailImageUrl = currentAvatarThumbnailImageUrl; this.CurrentAvatarTags = currentAvatarTags; this.FallbackAvatar = fallbackAvatar; + this.LastLogin = lastLogin; this.ProfilePicOverride = profilePicOverride; this.Pronouns = pronouns; this.UserIcon = userIcon; @@ -185,6 +187,12 @@ protected LimitedUser() { } [DataMember(Name = "last_platform", IsRequired = true, EmitDefaultValue = true)] public string LastPlatform { get; set; } + /// + /// Gets or Sets LastLogin + /// + [DataMember(Name = "last_login", EmitDefaultValue = true)] + public DateTime? LastLogin { get; set; } + /// /// Gets or Sets ProfilePicOverride /// @@ -255,6 +263,7 @@ public override string ToString() sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" IsFriend: ").Append(IsFriend).Append("\n"); sb.Append(" LastPlatform: ").Append(LastPlatform).Append("\n"); + sb.Append(" LastLogin: ").Append(LastLogin).Append("\n"); sb.Append(" ProfilePicOverride: ").Append(ProfilePicOverride).Append("\n"); sb.Append(" Pronouns: ").Append(Pronouns).Append("\n"); sb.Append(" Status: ").Append(Status).Append("\n"); @@ -354,6 +363,11 @@ public bool Equals(LimitedUser input) (this.LastPlatform != null && this.LastPlatform.Equals(input.LastPlatform)) ) && + ( + this.LastLogin == input.LastLogin || + (this.LastLogin != null && + this.LastLogin.Equals(input.LastLogin)) + ) && ( this.ProfilePicOverride == input.ProfilePicOverride || (this.ProfilePicOverride != null && @@ -448,6 +462,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.LastPlatform.GetHashCode(); } + if (this.LastLogin != null) + { + hashCode = (hashCode * 59) + this.LastLogin.GetHashCode(); + } if (this.ProfilePicOverride != null) { hashCode = (hashCode * 59) + this.ProfilePicOverride.GetHashCode(); diff --git a/src/VRChat.API/Model/LimitedUserGroups.cs b/src/VRChat.API/Model/LimitedUserGroups.cs index 939719be..e02edfe0 100644 --- a/src/VRChat.API/Model/LimitedUserGroups.cs +++ b/src/VRChat.API/Model/LimitedUserGroups.cs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * The version of the OpenAPI document: 1.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/LimitedWorld.cs b/src/VRChat.API/Model/LimitedWorld.cs index ea9c7737..4bb0ba23 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -63,12 +63,13 @@ protected LimitedWorld() { } /// previewYoutubeId. /// publicationDate (required). /// releaseStatus (required). + /// storeId (required). /// (required). /// thumbnailImageUrl (required). /// (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 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)) + 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), string storeId = default(string), 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) @@ -125,6 +126,12 @@ protected LimitedWorld() { } } this.PublicationDate = publicationDate; this.ReleaseStatus = releaseStatus; + // to ensure "storeId" is required (not null) + if (storeId == null) + { + throw new ArgumentNullException("storeId is a required property for LimitedWorld and cannot be null"); + } + this.StoreId = storeId; // to ensure "tags" is required (not null) if (tags == null) { @@ -254,6 +261,12 @@ protected LimitedWorld() { } [DataMember(Name = "publicationDate", IsRequired = true, EmitDefaultValue = true)] public string PublicationDate { get; set; } + /// + /// Gets or Sets StoreId + /// + [DataMember(Name = "storeId", IsRequired = true, EmitDefaultValue = true)] + public string StoreId { get; set; } + /// /// /// @@ -312,6 +325,7 @@ public override string ToString() sb.Append(" PreviewYoutubeId: ").Append(PreviewYoutubeId).Append("\n"); sb.Append(" PublicationDate: ").Append(PublicationDate).Append("\n"); sb.Append(" ReleaseStatus: ").Append(ReleaseStatus).Append("\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); sb.Append(" ThumbnailImageUrl: ").Append(ThumbnailImageUrl).Append("\n"); sb.Append(" UnityPackages: ").Append(UnityPackages).Append("\n"); @@ -434,6 +448,11 @@ public bool Equals(LimitedWorld input) this.ReleaseStatus == input.ReleaseStatus || this.ReleaseStatus.Equals(input.ReleaseStatus) ) && + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && ( this.Tags == input.Tags || this.Tags != null && @@ -521,6 +540,10 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.PublicationDate.GetHashCode(); } hashCode = (hashCode * 59) + this.ReleaseStatus.GetHashCode(); + if (this.StoreId != null) + { + hashCode = (hashCode * 59) + this.StoreId.GetHashCode(); + } if (this.Tags != null) { hashCode = (hashCode * 59) + this.Tags.GetHashCode(); diff --git a/src/VRChat.API/Model/MIMEType.cs b/src/VRChat.API/Model/MIMEType.cs index b6614a99..6eb6a1e6 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 396299b5..6b7ee52d 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 74ea58fb..2c06d309 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 715d8b89..edb2b542 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 c6faacf8..061e58f4 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 86614831..07b76977 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 4c40cfe7..c2f24fed 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 e5ea1cde..5e5248f7 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 01410fc5..fc028312 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 db5aa2e4..bb9b374e 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 ccac0d67..c3e3d660 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 f398c876..2bbfdb60 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/PerformanceRatings.cs b/src/VRChat.API/Model/PerformanceRatings.cs new file mode 100644 index 00000000..a0ee973c --- /dev/null +++ b/src/VRChat.API/Model/PerformanceRatings.cs @@ -0,0 +1,73 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Avatar Performance ratings. + /// + /// Avatar Performance ratings. + [JsonConverter(typeof(StringEnumConverter))] + public enum PerformanceRatings + { + /// + /// Enum None for value: None + /// + [EnumMember(Value = "None")] + None = 1, + + /// + /// Enum Excellent for value: Excellent + /// + [EnumMember(Value = "Excellent")] + Excellent = 2, + + /// + /// Enum Good for value: Good + /// + [EnumMember(Value = "Good")] + Good = 3, + + /// + /// Enum Medium for value: Medium + /// + [EnumMember(Value = "Medium")] + Medium = 4, + + /// + /// Enum Poor for value: Poor + /// + [EnumMember(Value = "Poor")] + Poor = 5, + + /// + /// Enum VeryPoor for value: VeryPoor + /// + [EnumMember(Value = "VeryPoor")] + VeryPoor = 6 + + } + +} diff --git a/src/VRChat.API/Model/Permission.cs b/src/VRChat.API/Model/Permission.cs index b6c9bed0..1fa4ed13 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -39,12 +39,15 @@ protected Permission() { } /// /// Initializes a new instance of the class. /// + /// displayName. + /// description. /// id (required). /// ownerDisplayName (required). /// name (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. (required). + /// type. /// data. - public Permission(string id = default(string), string ownerDisplayName = default(string), string name = default(string), string ownerId = default(string), Object data = default(Object)) + public Permission(string displayName = default(string), string description = default(string), string id = default(string), string ownerDisplayName = default(string), string name = default(string), string ownerId = default(string), string type = default(string), Object data = default(Object)) { // to ensure "id" is required (not null) if (id == null) @@ -70,9 +73,24 @@ protected Permission() { } throw new ArgumentNullException("ownerId is a required property for Permission and cannot be null"); } this.OwnerId = ownerId; + this.DisplayName = displayName; + this.Description = description; + this.Type = type; this.Data = data; } + /// + /// Gets or Sets DisplayName + /// + [DataMember(Name = "displayName", EmitDefaultValue = false)] + public string DisplayName { get; set; } + + /// + /// Gets or Sets Description + /// + [DataMember(Name = "description", EmitDefaultValue = false)] + public string Description { get; set; } + /// /// Gets or Sets Id /// @@ -98,6 +116,12 @@ protected Permission() { } [DataMember(Name = "ownerId", IsRequired = true, EmitDefaultValue = true)] public string OwnerId { get; set; } + /// + /// Gets or Sets Type + /// + [DataMember(Name = "type", EmitDefaultValue = false)] + public string Type { get; set; } + /// /// Gets or Sets Data /// @@ -112,10 +136,13 @@ public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("class Permission {\n"); + sb.Append(" DisplayName: ").Append(DisplayName).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" OwnerDisplayName: ").Append(OwnerDisplayName).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" OwnerId: ").Append(OwnerId).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -152,6 +179,16 @@ public bool Equals(Permission input) return false; } return + ( + this.DisplayName == input.DisplayName || + (this.DisplayName != null && + this.DisplayName.Equals(input.DisplayName)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && ( this.Id == input.Id || (this.Id != null && @@ -172,6 +209,11 @@ public bool Equals(Permission input) (this.OwnerId != null && this.OwnerId.Equals(input.OwnerId)) ) && + ( + this.Type == input.Type || + (this.Type != null && + this.Type.Equals(input.Type)) + ) && ( this.Data == input.Data || (this.Data != null && @@ -188,6 +230,14 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; + if (this.DisplayName != null) + { + hashCode = (hashCode * 59) + this.DisplayName.GetHashCode(); + } + if (this.Description != null) + { + hashCode = (hashCode * 59) + this.Description.GetHashCode(); + } if (this.Id != null) { hashCode = (hashCode * 59) + this.Id.GetHashCode(); @@ -204,6 +254,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.OwnerId.GetHashCode(); } + if (this.Type != null) + { + hashCode = (hashCode * 59) + this.Type.GetHashCode(); + } if (this.Data != null) { hashCode = (hashCode * 59) + this.Data.GetHashCode(); diff --git a/src/VRChat.API/Model/PlatformBuildInfo.cs b/src/VRChat.API/Model/PlatformBuildInfo.cs new file mode 100644 index 00000000..cdfde243 --- /dev/null +++ b/src/VRChat.API/Model/PlatformBuildInfo.cs @@ -0,0 +1,154 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// Build information for a platform + /// + [DataContract(Name = "PlatformBuildInfo")] + public partial class PlatformBuildInfo : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected PlatformBuildInfo() { } + /// + /// Initializes a new instance of the class. + /// + /// Minimum build number required for the platform (required). + /// Redirection URL for updating the app (required). + public PlatformBuildInfo(int minBuildNumber = default(int), string redirectionAddress = default(string)) + { + this.MinBuildNumber = minBuildNumber; + // to ensure "redirectionAddress" is required (not null) + if (redirectionAddress == null) + { + throw new ArgumentNullException("redirectionAddress is a required property for PlatformBuildInfo and cannot be null"); + } + this.RedirectionAddress = redirectionAddress; + } + + /// + /// Minimum build number required for the platform + /// + /// Minimum build number required for the platform + [DataMember(Name = "minBuildNumber", IsRequired = true, EmitDefaultValue = true)] + public int MinBuildNumber { get; set; } + + /// + /// Redirection URL for updating the app + /// + /// Redirection URL for updating the app + [DataMember(Name = "redirectionAddress", IsRequired = true, EmitDefaultValue = true)] + public string RedirectionAddress { 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 PlatformBuildInfo {\n"); + sb.Append(" MinBuildNumber: ").Append(MinBuildNumber).Append("\n"); + sb.Append(" RedirectionAddress: ").Append(RedirectionAddress).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 PlatformBuildInfo); + } + + /// + /// Returns true if PlatformBuildInfo instances are equal + /// + /// Instance of PlatformBuildInfo to be compared + /// Boolean + public bool Equals(PlatformBuildInfo input) + { + if (input == null) + { + return false; + } + return + ( + this.MinBuildNumber == input.MinBuildNumber || + this.MinBuildNumber.Equals(input.MinBuildNumber) + ) && + ( + this.RedirectionAddress == input.RedirectionAddress || + (this.RedirectionAddress != null && + this.RedirectionAddress.Equals(input.RedirectionAddress)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.MinBuildNumber.GetHashCode(); + if (this.RedirectionAddress != null) + { + hashCode = (hashCode * 59) + this.RedirectionAddress.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/PlayerModeration.cs b/src/VRChat.API/Model/PlayerModeration.cs index 0b6b8ecb..9dc7d4fb 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 a994ef14..14282008 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 d21da4a4..6591dafd 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 8b55abf7..cdb86829 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/ReportCategory.cs b/src/VRChat.API/Model/ReportCategory.cs new file mode 100644 index 00000000..1437b62d --- /dev/null +++ b/src/VRChat.API/Model/ReportCategory.cs @@ -0,0 +1,163 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// A category used for reporting content + /// + [DataContract(Name = "ReportCategory")] + public partial class ReportCategory : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ReportCategory() { } + /// + /// Initializes a new instance of the class. + /// + /// The label of the report category (required). + /// The tooltip that describes the category (required). + public ReportCategory(string text = default(string), string tooltip = default(string)) + { + // to ensure "text" is required (not null) + if (text == null) + { + throw new ArgumentNullException("text is a required property for ReportCategory and cannot be null"); + } + this.Text = text; + // to ensure "tooltip" is required (not null) + if (tooltip == null) + { + throw new ArgumentNullException("tooltip is a required property for ReportCategory and cannot be null"); + } + this.Tooltip = tooltip; + } + + /// + /// The label of the report category + /// + /// The label of the report category + [DataMember(Name = "text", IsRequired = true, EmitDefaultValue = true)] + public string Text { get; set; } + + /// + /// The tooltip that describes the category + /// + /// The tooltip that describes the category + [DataMember(Name = "tooltip", IsRequired = true, EmitDefaultValue = true)] + public string Tooltip { 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 ReportCategory {\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" Tooltip: ").Append(Tooltip).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 ReportCategory); + } + + /// + /// Returns true if ReportCategory instances are equal + /// + /// Instance of ReportCategory to be compared + /// Boolean + public bool Equals(ReportCategory input) + { + if (input == null) + { + return false; + } + return + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.Tooltip == input.Tooltip || + (this.Tooltip != null && + this.Tooltip.Equals(input.Tooltip)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Text != null) + { + hashCode = (hashCode * 59) + this.Text.GetHashCode(); + } + if (this.Tooltip != null) + { + hashCode = (hashCode * 59) + this.Tooltip.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/ReportReason.cs b/src/VRChat.API/Model/ReportReason.cs new file mode 100644 index 00000000..a072a1df --- /dev/null +++ b/src/VRChat.API/Model/ReportReason.cs @@ -0,0 +1,163 @@ +/* + * VRChat API Documentation + * + * + * The version of the OpenAPI document: 1.18.5 + * 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 +{ + /// + /// A reason used for reporting users + /// + [DataContract(Name = "ReportReason")] + public partial class ReportReason : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ReportReason() { } + /// + /// Initializes a new instance of the class. + /// + /// The label or name of the report reason (required). + /// A brief explanation of what this reason entails (required). + public ReportReason(string text = default(string), string tooltip = default(string)) + { + // to ensure "text" is required (not null) + if (text == null) + { + throw new ArgumentNullException("text is a required property for ReportReason and cannot be null"); + } + this.Text = text; + // to ensure "tooltip" is required (not null) + if (tooltip == null) + { + throw new ArgumentNullException("tooltip is a required property for ReportReason and cannot be null"); + } + this.Tooltip = tooltip; + } + + /// + /// The label or name of the report reason + /// + /// The label or name of the report reason + [DataMember(Name = "text", IsRequired = true, EmitDefaultValue = true)] + public string Text { get; set; } + + /// + /// A brief explanation of what this reason entails + /// + /// A brief explanation of what this reason entails + [DataMember(Name = "tooltip", IsRequired = true, EmitDefaultValue = true)] + public string Tooltip { 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 ReportReason {\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" Tooltip: ").Append(Tooltip).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 ReportReason); + } + + /// + /// Returns true if ReportReason instances are equal + /// + /// Instance of ReportReason to be compared + /// Boolean + public bool Equals(ReportReason input) + { + if (input == null) + { + return false; + } + return + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.Tooltip == input.Tooltip || + (this.Tooltip != null && + this.Tooltip.Equals(input.Tooltip)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Text != null) + { + hashCode = (hashCode * 59) + this.Text.GetHashCode(); + } + if (this.Tooltip != null) + { + hashCode = (hashCode * 59) + this.Tooltip.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/RepresentedGroup.cs b/src/VRChat.API/Model/RepresentedGroup.cs index c47c22fa..fc11919d 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 12913316..25e0b958 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 1d8a516d..de6276c7 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 7a90bed5..b5f9fe6f 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 3f10cb62..984b5ef8 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 6c83a8f6..78f35b4c 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 153d616c..82e012e1 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/SubscriptionPeriod.cs b/src/VRChat.API/Model/SubscriptionPeriod.cs index ef4ed9d2..53b64bb9 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 961f6aee..c1e2b121 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 65f84510..cfde8f9d 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/TransactionAgreement.cs b/src/VRChat.API/Model/TransactionAgreement.cs index 2ab15517..6b9f7cf8 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 84820f9f..2fde8322 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 923c69f6..a387f17e 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 42556dab..4060ebd9 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 65458c97..27b091d7 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 6ed8b003..a07f4d97 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 84d8abf4..821c5265 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -31,6 +31,12 @@ namespace VRChat.API.Model [DataContract(Name = "UnityPackage")] public partial class UnityPackage : IEquatable, IValidatableObject { + + /// + /// Gets or Sets PerformanceRating + /// + [DataMember(Name = "performanceRating", EmitDefaultValue = false)] + public PerformanceRatings? PerformanceRating { get; set; } /// /// Initializes a new instance of the class. /// @@ -45,15 +51,17 @@ protected UnityPackage() { } /// assetVersion (required). /// createdAt. /// impostorizerVersion. + /// performanceRating. /// 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). /// pluginUrl. /// pluginUrlObject. /// unitySortNumber. /// unityVersion (required) (default to "5.3.4p1"). + /// worldSignature. /// impostorUrl. /// scanStatus. /// variant. - public UnityPackage(string id = default(string), string assetUrl = default(string), Object assetUrlObject = default(Object), int assetVersion = default(int), DateTime createdAt = default(DateTime), string impostorizerVersion = default(string), 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)) + public UnityPackage(string id = default(string), string assetUrl = default(string), Object assetUrlObject = default(Object), int assetVersion = default(int), DateTime createdAt = default(DateTime), string impostorizerVersion = default(string), PerformanceRatings? performanceRating = default(PerformanceRatings?), string platform = default(string), string pluginUrl = default(string), Object pluginUrlObject = default(Object), long unitySortNumber = default(long), string unityVersion = "5.3.4p1", string worldSignature = default(string), string impostorUrl = default(string), string scanStatus = default(string), string variant = default(string)) { // to ensure "id" is required (not null) if (id == null) @@ -78,9 +86,11 @@ protected UnityPackage() { } this.AssetUrlObject = assetUrlObject; this.CreatedAt = createdAt; this.ImpostorizerVersion = impostorizerVersion; + this.PerformanceRating = performanceRating; this.PluginUrl = pluginUrl; this.PluginUrlObject = pluginUrlObject; this.UnitySortNumber = unitySortNumber; + this.WorldSignature = worldSignature; this.ImpostorUrl = impostorUrl; this.ScanStatus = scanStatus; this.Variant = variant; @@ -153,6 +163,12 @@ protected UnityPackage() { } [DataMember(Name = "unityVersion", IsRequired = true, EmitDefaultValue = true)] public string UnityVersion { get; set; } + /// + /// Gets or Sets WorldSignature + /// + [DataMember(Name = "worldSignature", EmitDefaultValue = true)] + public string WorldSignature { get; set; } + /// /// Gets or Sets ImpostorUrl /// @@ -185,11 +201,13 @@ public override string ToString() sb.Append(" AssetVersion: ").Append(AssetVersion).Append("\n"); sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); sb.Append(" ImpostorizerVersion: ").Append(ImpostorizerVersion).Append("\n"); + sb.Append(" PerformanceRating: ").Append(PerformanceRating).Append("\n"); sb.Append(" Platform: ").Append(Platform).Append("\n"); sb.Append(" PluginUrl: ").Append(PluginUrl).Append("\n"); sb.Append(" PluginUrlObject: ").Append(PluginUrlObject).Append("\n"); sb.Append(" UnitySortNumber: ").Append(UnitySortNumber).Append("\n"); sb.Append(" UnityVersion: ").Append(UnityVersion).Append("\n"); + sb.Append(" WorldSignature: ").Append(WorldSignature).Append("\n"); sb.Append(" ImpostorUrl: ").Append(ImpostorUrl).Append("\n"); sb.Append(" ScanStatus: ").Append(ScanStatus).Append("\n"); sb.Append(" Variant: ").Append(Variant).Append("\n"); @@ -257,6 +275,10 @@ public bool Equals(UnityPackage input) (this.ImpostorizerVersion != null && this.ImpostorizerVersion.Equals(input.ImpostorizerVersion)) ) && + ( + this.PerformanceRating == input.PerformanceRating || + this.PerformanceRating.Equals(input.PerformanceRating) + ) && ( this.Platform == input.Platform || (this.Platform != null && @@ -281,6 +303,11 @@ public bool Equals(UnityPackage input) (this.UnityVersion != null && this.UnityVersion.Equals(input.UnityVersion)) ) && + ( + this.WorldSignature == input.WorldSignature || + (this.WorldSignature != null && + this.WorldSignature.Equals(input.WorldSignature)) + ) && ( this.ImpostorUrl == input.ImpostorUrl || (this.ImpostorUrl != null && @@ -328,6 +355,7 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.ImpostorizerVersion.GetHashCode(); } + hashCode = (hashCode * 59) + this.PerformanceRating.GetHashCode(); if (this.Platform != null) { hashCode = (hashCode * 59) + this.Platform.GetHashCode(); @@ -345,6 +373,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.UnityVersion.GetHashCode(); } + if (this.WorldSignature != null) + { + hashCode = (hashCode * 59) + this.WorldSignature.GetHashCode(); + } if (this.ImpostorUrl != null) { hashCode = (hashCode * 59) + this.ImpostorUrl.GetHashCode(); diff --git a/src/VRChat.API/Model/UpdateAvatarRequest.cs b/src/VRChat.API/Model/UpdateAvatarRequest.cs index a3739870..b56ff06b 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 58a4b89d..db91870c 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 c780fee7..b4d727bb 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 8dc1dd5a..51d6252f 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 992f9475..37a410d9 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 6f0ee17f..76758dfa 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 9963e514..9c080c97 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 89098bc4..e46b9353 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 638e1c4b..cea482fd 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 7898c65b..3bf52e45 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/Model/UserExists.cs b/src/VRChat.API/Model/UserExists.cs index a50fe7f7..88665af7 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -40,7 +40,7 @@ protected UserExists() { } /// Initializes a new instance of the class. /// /// Status if a user exist with that username or userId. (required) (default to false). - /// Is the username valid? (required) (default to false). + /// Is the username valid? (default to false). public UserExists(bool userExists = false, bool nameOk = false) { this._UserExists = userExists; @@ -58,7 +58,7 @@ public UserExists(bool userExists = false, bool nameOk = false) /// Is the username valid? /// /// Is the username valid? - [DataMember(Name = "nameOk", IsRequired = true, EmitDefaultValue = true)] + [DataMember(Name = "nameOk", EmitDefaultValue = true)] public bool NameOk { get; set; } /// diff --git a/src/VRChat.API/Model/UserState.cs b/src/VRChat.API/Model/UserState.cs index 0cf9d215..a4655df7 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 3a045214..e71f3c18 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 2ca3a9dd..1767cd71 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 9bce669b..759e838a 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 9571af5b..76f5c76c 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 f3ff57a0..3d04590c 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 e2581c8c..a6aaa6c8 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -68,6 +68,7 @@ protected World() { } /// Will always be `0` when unauthenticated. (default to 0). /// publicationDate (required). /// releaseStatus (required). + /// storeId (required). /// (required). /// thumbnailImageUrl (required). /// Empty if unauthenticated.. @@ -75,7 +76,7 @@ protected World() { } /// version (required) (default to 0). /// visits (required) (default to 0). /// udonProducts. - public World(string authorId = default(string), string authorName = default(string), int capacity = default(int), int recommendedCapacity = default(int), DateTime createdAt = default(DateTime), string description = default(string), int favorites = 0, bool featured = false, int heat = 0, string id = default(string), string imageUrl = default(string), List> instances = default(List>), string labsPublicationDate = default(string), string name = default(string), string _namespace = default(string), int occupants = 0, string organization = "vrchat", int popularity = 0, string previewYoutubeId = default(string), int privateOccupants = 0, int publicOccupants = 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), int version = 0, int visits = 0, List udonProducts = default(List)) + public World(string authorId = default(string), string authorName = default(string), int capacity = default(int), int recommendedCapacity = default(int), DateTime createdAt = default(DateTime), string description = default(string), int favorites = 0, bool featured = false, int heat = 0, string id = default(string), string imageUrl = default(string), List> instances = default(List>), string labsPublicationDate = default(string), string name = default(string), string _namespace = default(string), int occupants = 0, string organization = "vrchat", int popularity = 0, string previewYoutubeId = default(string), int privateOccupants = 0, int publicOccupants = 0, string publicationDate = default(string), ReleaseStatus releaseStatus = default(ReleaseStatus), string storeId = default(string), List tags = default(List), string thumbnailImageUrl = default(string), List unityPackages = default(List), DateTime updatedAt = default(DateTime), int version = 0, int visits = 0, List udonProducts = default(List)) { // to ensure "authorId" is required (not null) if (authorId == null) @@ -138,6 +139,12 @@ protected World() { } } this.PublicationDate = publicationDate; this.ReleaseStatus = releaseStatus; + // to ensure "storeId" is required (not null) + if (storeId == null) + { + throw new ArgumentNullException("storeId is a required property for World and cannot be null"); + } + this.StoreId = storeId; // to ensure "tags" is required (not null) if (tags == null) { @@ -302,6 +309,12 @@ protected World() { } [DataMember(Name = "publicationDate", IsRequired = true, EmitDefaultValue = true)] public string PublicationDate { get; set; } + /// + /// Gets or Sets StoreId + /// + [DataMember(Name = "storeId", IsRequired = true, EmitDefaultValue = true)] + public string StoreId { get; set; } + /// /// /// @@ -377,6 +390,7 @@ public override string ToString() sb.Append(" PublicOccupants: ").Append(PublicOccupants).Append("\n"); sb.Append(" PublicationDate: ").Append(PublicationDate).Append("\n"); sb.Append(" ReleaseStatus: ").Append(ReleaseStatus).Append("\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); sb.Append(" ThumbnailImageUrl: ").Append(ThumbnailImageUrl).Append("\n"); sb.Append(" UnityPackages: ").Append(UnityPackages).Append("\n"); @@ -525,6 +539,11 @@ public bool Equals(World input) this.ReleaseStatus == input.ReleaseStatus || this.ReleaseStatus.Equals(input.ReleaseStatus) ) && + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && ( this.Tags == input.Tags || this.Tags != null && @@ -634,6 +653,10 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.PublicationDate.GetHashCode(); } hashCode = (hashCode * 59) + this.ReleaseStatus.GetHashCode(); + if (this.StoreId != null) + { + hashCode = (hashCode * 59) + this.StoreId.GetHashCode(); + } if (this.Tags != null) { hashCode = (hashCode * 59) + this.Tags.GetHashCode(); diff --git a/src/VRChat.API/Model/WorldMetadata.cs b/src/VRChat.API/Model/WorldMetadata.cs index bf6651ae..fb1bd62d 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.18.4 + * The version of the OpenAPI document: 1.18.5 * 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 ff6475f7..3c784407 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.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/VRChat.API/VRChat.API.csproj b/src/VRChat.API/VRChat.API.csproj index 44900561..bb839d62 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.18.4 + 1.18.5 bin\$(Configuration)\$(TargetFramework)\VRChat.API.xml MIT https://github.com/vrchatapi/vrchatapi-csharp.git