From 19f3d064d495053290877c5e8f44850ddd99da4d Mon Sep 17 00:00:00 2001 From: VRCCat Date: Thu, 7 Nov 2024 10:17:11 +0000 Subject: [PATCH] Upgrade Java SDK to spec 1.18.8 --- .openapi-generator/FILES | 4 + build.gradle | 2 +- build.sbt | 2 +- docs/APIConfig.md | 5 + docs/APIConfigAvatarPerfLimiter.md | 18 + docs/APIConfigReportCategories.md | 2 + docs/CurrentUser.md | 3 + docs/FavoritedWorld.md | 1 + docs/Instance.md | 3 +- docs/PerformanceLimiterInfo.md | 15 + docs/User.md | 1 + docs/World.md | 1 + pom.xml | 2 +- .../java/io/github/vrchatapi/ApiCallback.java | 2 +- .../java/io/github/vrchatapi/ApiClient.java | 2 +- .../io/github/vrchatapi/ApiException.java | 2 +- .../java/io/github/vrchatapi/ApiResponse.java | 2 +- .../io/github/vrchatapi/Configuration.java | 2 +- .../vrchatapi/GzipRequestInterceptor.java | 2 +- src/main/java/io/github/vrchatapi/JSON.java | 4 +- src/main/java/io/github/vrchatapi/Pair.java | 2 +- .../github/vrchatapi/ProgressRequestBody.java | 2 +- .../vrchatapi/ProgressResponseBody.java | 2 +- .../java/io/github/vrchatapi/StringUtil.java | 2 +- .../vrchatapi/api/AuthenticationApi.java | 2 +- .../io/github/vrchatapi/api/AvatarsApi.java | 2 +- .../io/github/vrchatapi/api/EconomyApi.java | 2 +- .../io/github/vrchatapi/api/FavoritesApi.java | 2 +- .../io/github/vrchatapi/api/FilesApi.java | 2 +- .../io/github/vrchatapi/api/FriendsApi.java | 2 +- .../io/github/vrchatapi/api/GroupsApi.java | 2 +- .../io/github/vrchatapi/api/InstancesApi.java | 2 +- .../io/github/vrchatapi/api/InviteApi.java | 2 +- .../java/io/github/vrchatapi/api/JamsApi.java | 2 +- .../vrchatapi/api/NotificationsApi.java | 2 +- .../github/vrchatapi/api/PermissionsApi.java | 2 +- .../vrchatapi/api/PlayermoderationApi.java | 2 +- .../io/github/vrchatapi/api/SystemApi.java | 2 +- .../io/github/vrchatapi/api/UsersApi.java | 2 +- .../io/github/vrchatapi/api/WorldsApi.java | 2 +- .../io/github/vrchatapi/auth/ApiKeyAuth.java | 2 +- .../github/vrchatapi/auth/Authentication.java | 2 +- .../github/vrchatapi/auth/HttpBasicAuth.java | 2 +- .../github/vrchatapi/auth/HttpBearerAuth.java | 2 +- .../io/github/vrchatapi/model/APIConfig.java | 168 +++++++- .../model/APIConfigAnnouncement.java | 2 +- .../model/APIConfigAvatarPerfLimiter.java | 380 ++++++++++++++++++ .../vrchatapi/model/APIConfigConstants.java | 2 +- .../model/APIConfigConstantsGROUPS.java | 2 +- .../model/APIConfigConstantsINSTANCE.java | 2 +- ...igConstantsINSTANCEPOPULATIONBRACKETS.java | 2 +- ...antsINSTANCEPOPULATIONBRACKETSCROWDED.java | 2 +- ...onstantsINSTANCEPOPULATIONBRACKETSFEW.java | 2 +- ...nstantsINSTANCEPOPULATIONBRACKETSMANY.java | 2 +- .../model/APIConfigConstantsLANGUAGE.java | 2 +- .../model/APIConfigDownloadURLList.java | 2 +- .../vrchatapi/model/APIConfigEvents.java | 2 +- ...PIConfigMinSupportedClientBuildNumber.java | 2 +- .../model/APIConfigOfflineAnalysis.java | 2 +- .../model/APIConfigReportCategories.java | 72 +++- .../model/APIConfigReportReasons.java | 2 +- .../io/github/vrchatapi/model/APIHealth.java | 2 +- .../model/AbstractOpenApiSchema.java | 2 +- .../vrchatapi/model/AccountDeletionLog.java | 2 +- .../vrchatapi/model/AddFavoriteRequest.java | 2 +- .../model/AddGroupGalleryImageRequest.java | 2 +- .../io/github/vrchatapi/model/Avatar.java | 2 +- .../model/AvatarUnityPackageUrlObject.java | 2 +- .../java/io/github/vrchatapi/model/Badge.java | 2 +- .../model/BanGroupMemberRequest.java | 2 +- .../vrchatapi/model/CreateAvatarRequest.java | 2 +- .../vrchatapi/model/CreateFileRequest.java | 2 +- .../model/CreateFileVersionRequest.java | 2 +- .../model/CreateGroupAnnouncementRequest.java | 2 +- .../model/CreateGroupGalleryRequest.java | 2 +- .../model/CreateGroupInviteRequest.java | 2 +- .../model/CreateGroupPostRequest.java | 2 +- .../vrchatapi/model/CreateGroupRequest.java | 2 +- .../model/CreateGroupRoleRequest.java | 2 +- .../model/CreateInstanceRequest.java | 2 +- .../vrchatapi/model/CreateWorldRequest.java | 2 +- .../github/vrchatapi/model/CurrentUser.java | 100 ++++- .../vrchatapi/model/CurrentUserPresence.java | 2 +- .../vrchatapi/model/DeploymentGroup.java | 2 +- .../github/vrchatapi/model/DeveloperType.java | 2 +- .../vrchatapi/model/DynamicContentRow.java | 2 +- .../java/io/github/vrchatapi/model/Error.java | 2 +- .../io/github/vrchatapi/model/Favorite.java | 2 +- .../github/vrchatapi/model/FavoriteGroup.java | 2 +- .../model/FavoriteGroupVisibility.java | 2 +- .../github/vrchatapi/model/FavoriteType.java | 2 +- .../vrchatapi/model/FavoritedWorld.java | 46 ++- .../io/github/vrchatapi/model/FileData.java | 2 +- .../io/github/vrchatapi/model/FileStatus.java | 2 +- .../github/vrchatapi/model/FileUploadURL.java | 2 +- .../github/vrchatapi/model/FileVersion.java | 2 +- .../model/FileVersionUploadStatus.java | 2 +- .../model/FinishFileDataUploadRequest.java | 2 +- .../github/vrchatapi/model/FriendStatus.java | 2 +- .../java/io/github/vrchatapi/model/Group.java | 2 +- .../vrchatapi/model/GroupAccessType.java | 2 +- .../vrchatapi/model/GroupAnnouncement.java | 2 +- .../vrchatapi/model/GroupAuditLogEntry.java | 2 +- .../github/vrchatapi/model/GroupGallery.java | 2 +- .../vrchatapi/model/GroupGalleryImage.java | 2 +- .../github/vrchatapi/model/GroupInstance.java | 2 +- .../model/GroupJoinRequestAction.java | 2 +- .../vrchatapi/model/GroupJoinState.java | 2 +- .../vrchatapi/model/GroupLimitedMember.java | 2 +- .../github/vrchatapi/model/GroupMember.java | 2 +- .../model/GroupMemberLimitedUser.java | 2 +- .../vrchatapi/model/GroupMemberStatus.java | 2 +- .../github/vrchatapi/model/GroupMyMember.java | 2 +- .../vrchatapi/model/GroupPermission.java | 2 +- .../io/github/vrchatapi/model/GroupPost.java | 2 +- .../vrchatapi/model/GroupPostVisibility.java | 2 +- .../github/vrchatapi/model/GroupPrivacy.java | 2 +- .../io/github/vrchatapi/model/GroupRole.java | 2 +- .../vrchatapi/model/GroupRoleTemplate.java | 2 +- .../vrchatapi/model/GroupSearchSort.java | 2 +- .../vrchatapi/model/GroupUserVisibility.java | 2 +- .../io/github/vrchatapi/model/InfoPush.java | 2 +- .../github/vrchatapi/model/InfoPushData.java | 2 +- .../vrchatapi/model/InfoPushDataArticle.java | 2 +- .../model/InfoPushDataArticleContent.java | 2 +- .../model/InfoPushDataClickable.java | 2 +- .../io/github/vrchatapi/model/Instance.java | 48 ++- .../vrchatapi/model/InstancePlatforms.java | 2 +- .../vrchatapi/model/InstanceRegion.java | 2 +- .../model/InstanceShortNameResponse.java | 2 +- .../github/vrchatapi/model/InstanceType.java | 2 +- .../github/vrchatapi/model/InviteMessage.java | 2 +- .../vrchatapi/model/InviteMessageType.java | 2 +- .../github/vrchatapi/model/InviteRequest.java | 2 +- .../vrchatapi/model/InviteResponse.java | 2 +- .../java/io/github/vrchatapi/model/Jam.java | 2 +- .../vrchatapi/model/JamStateChangeDates.java | 2 +- .../io/github/vrchatapi/model/License.java | 2 +- .../github/vrchatapi/model/LicenseAction.java | 2 +- .../github/vrchatapi/model/LicenseGroup.java | 2 +- .../github/vrchatapi/model/LicenseType.java | 2 +- .../github/vrchatapi/model/LimitedGroup.java | 2 +- .../vrchatapi/model/LimitedUnityPackage.java | 2 +- .../github/vrchatapi/model/LimitedUser.java | 2 +- .../vrchatapi/model/LimitedUserGroups.java | 2 +- .../github/vrchatapi/model/LimitedWorld.java | 2 +- .../io/github/vrchatapi/model/MIMEType.java | 2 +- .../io/github/vrchatapi/model/ModelFile.java | 2 +- .../vrchatapi/model/ModerateUserRequest.java | 2 +- .../github/vrchatapi/model/Notification.java | 2 +- .../model/NotificationDetailInvite.java | 2 +- .../NotificationDetailInviteResponse.java | 2 +- .../NotificationDetailRequestInvite.java | 2 +- ...tificationDetailRequestInviteResponse.java | 2 +- .../model/NotificationDetailVoteToKick.java | 2 +- .../vrchatapi/model/NotificationType.java | 2 +- .../github/vrchatapi/model/OrderOption.java | 2 +- .../PaginatedGroupAuditLogEntryList.java | 2 +- .../vrchatapi/model/PastDisplayName.java | 2 +- .../model/PerformanceLimiterInfo.java | 244 +++++++++++ .../vrchatapi/model/PerformanceRatings.java | 2 +- .../io/github/vrchatapi/model/Permission.java | 2 +- .../vrchatapi/model/PlatformBuildInfo.java | 2 +- .../vrchatapi/model/PlayerModeration.java | 2 +- .../vrchatapi/model/PlayerModerationType.java | 2 +- .../io/github/vrchatapi/model/Region.java | 2 +- .../github/vrchatapi/model/ReleaseStatus.java | 2 +- .../vrchatapi/model/ReportCategory.java | 2 +- .../github/vrchatapi/model/ReportReason.java | 2 +- .../vrchatapi/model/RepresentedGroup.java | 2 +- .../vrchatapi/model/RequestInviteRequest.java | 2 +- .../model/RespondGroupJoinRequest.java | 2 +- .../io/github/vrchatapi/model/Response.java | 2 +- .../vrchatapi/model/SentNotification.java | 2 +- .../io/github/vrchatapi/model/SortOption.java | 2 +- .../io/github/vrchatapi/model/Submission.java | 2 +- .../github/vrchatapi/model/Subscription.java | 2 +- .../vrchatapi/model/SubscriptionPeriod.java | 2 +- .../io/github/vrchatapi/model/Success.java | 2 +- .../github/vrchatapi/model/Transaction.java | 2 +- .../vrchatapi/model/TransactionAgreement.java | 2 +- .../vrchatapi/model/TransactionStatus.java | 2 +- .../vrchatapi/model/TransactionSteamInfo.java | 2 +- .../model/TransactionSteamWalletInfo.java | 2 +- .../vrchatapi/model/TwoFactorAuthCode.java | 2 +- .../vrchatapi/model/TwoFactorEmailCode.java | 2 +- .../github/vrchatapi/model/UnityPackage.java | 2 +- .../vrchatapi/model/UpdateAvatarRequest.java | 2 +- .../model/UpdateFavoriteGroupRequest.java | 2 +- .../model/UpdateGroupGalleryRequest.java | 2 +- .../model/UpdateGroupMemberRequest.java | 2 +- .../vrchatapi/model/UpdateGroupRequest.java | 2 +- .../model/UpdateGroupRoleRequest.java | 2 +- .../model/UpdateInviteMessageRequest.java | 2 +- .../vrchatapi/model/UpdateUserRequest.java | 2 +- .../vrchatapi/model/UpdateWorldRequest.java | 2 +- .../java/io/github/vrchatapi/model/User.java | 40 +- .../io/github/vrchatapi/model/UserExists.java | 2 +- .../io/github/vrchatapi/model/UserState.java | 2 +- .../io/github/vrchatapi/model/UserStatus.java | 2 +- .../vrchatapi/model/UserSubscription.java | 2 +- .../model/Verify2FAEmailCodeResult.java | 2 +- .../vrchatapi/model/Verify2FAResult.java | 2 +- .../model/VerifyAuthTokenResult.java | 2 +- .../java/io/github/vrchatapi/model/World.java | 46 ++- .../github/vrchatapi/model/WorldMetadata.java | 2 +- .../vrchatapi/model/WorldPublishStatus.java | 2 +- 207 files changed, 1364 insertions(+), 211 deletions(-) create mode 100644 docs/APIConfigAvatarPerfLimiter.md create mode 100644 docs/PerformanceLimiterInfo.md create mode 100644 src/main/java/io/github/vrchatapi/model/APIConfigAvatarPerfLimiter.java create mode 100644 src/main/java/io/github/vrchatapi/model/PerformanceLimiterInfo.java diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index cc541250..ec6cca21 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -4,6 +4,7 @@ build.gradle build.sbt docs/APIConfig.md docs/APIConfigAnnouncement.md +docs/APIConfigAvatarPerfLimiter.md docs/APIConfigConstants.md docs/APIConfigConstantsGROUPS.md docs/APIConfigConstantsINSTANCE.md @@ -126,6 +127,7 @@ docs/NotificationsApi.md docs/OrderOption.md docs/PaginatedGroupAuditLogEntryList.md docs/PastDisplayName.md +docs/PerformanceLimiterInfo.md docs/PerformanceRatings.md docs/Permission.md docs/PermissionsApi.md @@ -222,6 +224,7 @@ src/main/java/io/github/vrchatapi/auth/HttpBasicAuth.java src/main/java/io/github/vrchatapi/auth/HttpBearerAuth.java src/main/java/io/github/vrchatapi/model/APIConfig.java src/main/java/io/github/vrchatapi/model/APIConfigAnnouncement.java +src/main/java/io/github/vrchatapi/model/APIConfigAvatarPerfLimiter.java src/main/java/io/github/vrchatapi/model/APIConfigConstants.java src/main/java/io/github/vrchatapi/model/APIConfigConstantsGROUPS.java src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCE.java @@ -334,6 +337,7 @@ src/main/java/io/github/vrchatapi/model/NotificationType.java src/main/java/io/github/vrchatapi/model/OrderOption.java src/main/java/io/github/vrchatapi/model/PaginatedGroupAuditLogEntryList.java src/main/java/io/github/vrchatapi/model/PastDisplayName.java +src/main/java/io/github/vrchatapi/model/PerformanceLimiterInfo.java src/main/java/io/github/vrchatapi/model/PerformanceRatings.java src/main/java/io/github/vrchatapi/model/Permission.java src/main/java/io/github/vrchatapi/model/PlatformBuildInfo.java diff --git a/build.gradle b/build.gradle index acf7adee..129660b4 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'java' apply plugin: 'com.diffplug.spotless' group = 'io.github.vrchatapi' -version = '1.18.7' +version = '1.18.8' buildscript { repositories { diff --git a/build.sbt b/build.sbt index e28575ee..3c9aeab9 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "io.github.vrchatapi", name := "vrchatapi", - version := "1.18.7", + version := "1.18.8", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/docs/APIConfig.md b/docs/APIConfig.md index 47ee76ad..edb983a1 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -11,12 +11,15 @@ |**voiceEnableDegradation** | **Boolean** | Unknown, probably voice optimization testing | | |**voiceEnableReceiverLimiting** | **Boolean** | Unknown, probably voice optimization testing | | |**address** | **String** | VRChat's office address | | +|**ageVerificationP** | **Boolean** | | | +|**ageVerificationStatusVisible** | **Boolean** | | | |**announcements** | [**Set<APIConfigAnnouncement>**](APIConfigAnnouncement.md) | Public Announcements | | |**analyticsSegmentNewUIPctOfUsers** | **Integer** | Unknown | | |**analyticsSegmentNewUISalt** | **String** | Unknown | | |**appName** | **String** | Game name | | |**availableLanguageCodes** | **List<String>** | List of supported Languages | | |**availableLanguages** | **List<String>** | List of supported Languages | | +|**avatarPerfLimiter** | [**APIConfigAvatarPerfLimiter**](APIConfigAvatarPerfLimiter.md) | | | |**buildVersionTag** | **String** | Build tag of the API server | | |**chatboxLogBufferSeconds** | **Integer** | Unknown | | |**clientApiKey** | **String** | apiKey to be used for all other requests | | @@ -41,6 +44,7 @@ |**currentPrivacyVersion** | **Integer** | Current version number of the Privacy Agreement | [optional] | |**currentTOSVersion** | **Integer** | Current version number of the Terms of Service | | |**defaultAvatar** | **String** | | | +|**defaultStickerSet** | **String** | | | |**deploymentGroup** | **DeploymentGroup** | | | |**devLanguageCodes** | **List<String>** | Unknown | [optional] | |**devSdkUrl** | **String** | Link to download the development SDK, use downloadUrls instead | | @@ -95,6 +99,7 @@ |**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 | | +|**supportFormUrl** | **String** | VRChat's support form | | |**timekeeping** | **Boolean** | Unknown | | |**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. | | diff --git a/docs/APIConfigAvatarPerfLimiter.md b/docs/APIConfigAvatarPerfLimiter.md new file mode 100644 index 00000000..92e9cbf6 --- /dev/null +++ b/docs/APIConfigAvatarPerfLimiter.md @@ -0,0 +1,18 @@ + + +# APIConfigAvatarPerfLimiter + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**androidMobile** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | | +|**PC** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | | +|**pico** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | | +|**quest** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | | +|**xrElite** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | | +|**iOSMobile** | [**PerformanceLimiterInfo**](PerformanceLimiterInfo.md) | | | + + + diff --git a/docs/APIConfigReportCategories.md b/docs/APIConfigReportCategories.md index 86496aed..c853c38c 100644 --- a/docs/APIConfigReportCategories.md +++ b/docs/APIConfigReportCategories.md @@ -11,10 +11,12 @@ Categories available for reporting objectionable content |**avatar** | [**ReportCategory**](ReportCategory.md) | | | |**behavior** | [**ReportCategory**](ReportCategory.md) | | | |**chat** | [**ReportCategory**](ReportCategory.md) | | | +|**emoji** | [**ReportCategory**](ReportCategory.md) | | [optional] | |**environment** | [**ReportCategory**](ReportCategory.md) | | | |**groupstore** | [**ReportCategory**](ReportCategory.md) | | | |**image** | [**ReportCategory**](ReportCategory.md) | | | |**text** | [**ReportCategory**](ReportCategory.md) | | | +|**sticker** | [**ReportCategory**](ReportCategory.md) | | [optional] | |**warnings** | [**ReportCategory**](ReportCategory.md) | | | |**worldimage** | [**ReportCategory**](ReportCategory.md) | | | |**worldstore** | [**ReportCategory**](ReportCategory.md) | | | diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index de427604..ce6aa794 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -12,6 +12,8 @@ |**accountDeletionDate** | **LocalDate** | | [optional] | |**accountDeletionLog** | [**List<AccountDeletionLog>**](AccountDeletionLog.md) | | [optional] | |**activeFriends** | **List<String>** | | [optional] | +|**ageVerificationStatus** | **String** | | | +|**ageVerified** | **Boolean** | | | |**allowAvatarCopying** | **Boolean** | | | |**badges** | [**List<Badge>**](Badge.md) | | [optional] | |**bio** | **String** | | | @@ -38,6 +40,7 @@ |**hasPendingEmail** | **Boolean** | | | |**homeLocation** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | | |**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. | | +|**isAdult** | **Boolean** | | | |**isBoopingEnabled** | **Boolean** | | [optional] | |**isFriend** | **Boolean** | | | |**lastActivity** | **OffsetDateTime** | | [optional] | diff --git a/docs/FavoritedWorld.md b/docs/FavoritedWorld.md index 032c96de..71ba83ca 100644 --- a/docs/FavoritedWorld.md +++ b/docs/FavoritedWorld.md @@ -34,6 +34,7 @@ |**thumbnailImageUrl** | **String** | | | |**unityPackages** | [**List<UnityPackage>**](UnityPackage.md) | | | |**updatedAt** | **OffsetDateTime** | | | +|**urlList** | **List<String>** | | | |**udonProducts** | **List<String>** | | [optional] | |**version** | **Integer** | | | diff --git a/docs/Instance.md b/docs/Instance.md index 19f80e04..dd73fa35 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -9,6 +9,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**active** | **Boolean** | | | +|**ageGate** | **String** | | [optional] | |**canRequestInvite** | **Boolean** | | | |**capacity** | **Integer** | | | |**clientNumber** | **String** | Always returns \"unknown\". | | @@ -25,7 +26,7 @@ |**permanent** | **Boolean** | | | |**photonRegion** | **Region** | | | |**platforms** | [**InstancePlatforms**](InstancePlatforms.md) | | | -|**playerPersistenceEnabled** | **String** | | | +|**playerPersistenceEnabled** | **Boolean** | | | |**region** | **InstanceRegion** | | | |**secureName** | **String** | | | |**shortName** | **String** | | [optional] | diff --git a/docs/PerformanceLimiterInfo.md b/docs/PerformanceLimiterInfo.md new file mode 100644 index 00000000..a2bcbb62 --- /dev/null +++ b/docs/PerformanceLimiterInfo.md @@ -0,0 +1,15 @@ + + +# PerformanceLimiterInfo + +Info about the performance limits on a platform + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**allowed** | **Boolean** | | | +|**maxSeats** | **Integer** | Maximum amount of seats. -1 means no limit. | | + + + diff --git a/docs/User.md b/docs/User.md index da327a26..548b023c 100644 --- a/docs/User.md +++ b/docs/User.md @@ -7,6 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**ageVerificationStatus** | **String** | | | |**allowAvatarCopying** | **Boolean** | | | |**badges** | [**List<Badge>**](Badge.md) | | [optional] | |**bio** | **String** | | | diff --git a/docs/World.md b/docs/World.md index fd4fe989..2050d274 100644 --- a/docs/World.md +++ b/docs/World.md @@ -35,6 +35,7 @@ |**thumbnailImageUrl** | **String** | | | |**unityPackages** | [**List<UnityPackage>**](UnityPackage.md) | Empty if unauthenticated. | [optional] | |**updatedAt** | **OffsetDateTime** | | | +|**urlList** | **List<String>** | | [optional] | |**version** | **Integer** | | | |**visits** | **Integer** | | | |**udonProducts** | **List<String>** | | [optional] | diff --git a/pom.xml b/pom.xml index 2f9ab391..07f5331c 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ vrchatapi jar vrchatapi - 1.18.7 + 1.18.8 https://github.com/openapitools/openapi-generator OpenAPI Java diff --git a/src/main/java/io/github/vrchatapi/ApiCallback.java b/src/main/java/io/github/vrchatapi/ApiCallback.java index c8d25827..17dd7ec5 100644 --- a/src/main/java/io/github/vrchatapi/ApiCallback.java +++ b/src/main/java/io/github/vrchatapi/ApiCallback.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/ApiClient.java b/src/main/java/io/github/vrchatapi/ApiClient.java index 5d64b586..74431cc5 100644 --- a/src/main/java/io/github/vrchatapi/ApiClient.java +++ b/src/main/java/io/github/vrchatapi/ApiClient.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/ApiException.java b/src/main/java/io/github/vrchatapi/ApiException.java index 687723f1..3f95dbf1 100644 --- a/src/main/java/io/github/vrchatapi/ApiException.java +++ b/src/main/java/io/github/vrchatapi/ApiException.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/ApiResponse.java b/src/main/java/io/github/vrchatapi/ApiResponse.java index dbf76511..76a4fba7 100644 --- a/src/main/java/io/github/vrchatapi/ApiResponse.java +++ b/src/main/java/io/github/vrchatapi/ApiResponse.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/Configuration.java b/src/main/java/io/github/vrchatapi/Configuration.java index dcd6956c..eb320baf 100644 --- a/src/main/java/io/github/vrchatapi/Configuration.java +++ b/src/main/java/io/github/vrchatapi/Configuration.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/GzipRequestInterceptor.java b/src/main/java/io/github/vrchatapi/GzipRequestInterceptor.java index 8bef6e75..88157501 100644 --- a/src/main/java/io/github/vrchatapi/GzipRequestInterceptor.java +++ b/src/main/java/io/github/vrchatapi/GzipRequestInterceptor.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/JSON.java b/src/main/java/io/github/vrchatapi/JSON.java index 96614877..a0ac5dc8 100644 --- a/src/main/java/io/github/vrchatapi/JSON.java +++ b/src/main/java/io/github/vrchatapi/JSON.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -94,6 +94,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter); gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.APIConfig.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.APIConfigAnnouncement.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.APIConfigAvatarPerfLimiter.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.APIConfigConstants.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.APIConfigConstantsGROUPS.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.APIConfigConstantsINSTANCE.CustomTypeAdapterFactory()); @@ -183,6 +184,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.NotificationDetailVoteToKick.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.PaginatedGroupAuditLogEntryList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.PastDisplayName.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.PerformanceLimiterInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.Permission.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.PlatformBuildInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.PlayerModeration.CustomTypeAdapterFactory()); diff --git a/src/main/java/io/github/vrchatapi/Pair.java b/src/main/java/io/github/vrchatapi/Pair.java index a5693c95..438f7d2b 100644 --- a/src/main/java/io/github/vrchatapi/Pair.java +++ b/src/main/java/io/github/vrchatapi/Pair.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/ProgressRequestBody.java b/src/main/java/io/github/vrchatapi/ProgressRequestBody.java index 179881c9..e4fefa2d 100644 --- a/src/main/java/io/github/vrchatapi/ProgressRequestBody.java +++ b/src/main/java/io/github/vrchatapi/ProgressRequestBody.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/ProgressResponseBody.java b/src/main/java/io/github/vrchatapi/ProgressResponseBody.java index 0281adf2..33a46607 100644 --- a/src/main/java/io/github/vrchatapi/ProgressResponseBody.java +++ b/src/main/java/io/github/vrchatapi/ProgressResponseBody.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/StringUtil.java b/src/main/java/io/github/vrchatapi/StringUtil.java index 9f464b24..a6a91dec 100644 --- a/src/main/java/io/github/vrchatapi/StringUtil.java +++ b/src/main/java/io/github/vrchatapi/StringUtil.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/AuthenticationApi.java b/src/main/java/io/github/vrchatapi/api/AuthenticationApi.java index add8bea4..56648adf 100644 --- a/src/main/java/io/github/vrchatapi/api/AuthenticationApi.java +++ b/src/main/java/io/github/vrchatapi/api/AuthenticationApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/AvatarsApi.java b/src/main/java/io/github/vrchatapi/api/AvatarsApi.java index 01fb0f02..c97e1b76 100644 --- a/src/main/java/io/github/vrchatapi/api/AvatarsApi.java +++ b/src/main/java/io/github/vrchatapi/api/AvatarsApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/EconomyApi.java b/src/main/java/io/github/vrchatapi/api/EconomyApi.java index 5b65bedd..9544a6e3 100644 --- a/src/main/java/io/github/vrchatapi/api/EconomyApi.java +++ b/src/main/java/io/github/vrchatapi/api/EconomyApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/FavoritesApi.java b/src/main/java/io/github/vrchatapi/api/FavoritesApi.java index e611ba7e..0e1ee078 100644 --- a/src/main/java/io/github/vrchatapi/api/FavoritesApi.java +++ b/src/main/java/io/github/vrchatapi/api/FavoritesApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/FilesApi.java b/src/main/java/io/github/vrchatapi/api/FilesApi.java index f2b4633a..3bf909a7 100644 --- a/src/main/java/io/github/vrchatapi/api/FilesApi.java +++ b/src/main/java/io/github/vrchatapi/api/FilesApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/FriendsApi.java b/src/main/java/io/github/vrchatapi/api/FriendsApi.java index 0d1698de..732365f9 100644 --- a/src/main/java/io/github/vrchatapi/api/FriendsApi.java +++ b/src/main/java/io/github/vrchatapi/api/FriendsApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/GroupsApi.java b/src/main/java/io/github/vrchatapi/api/GroupsApi.java index 7356cf5c..5c70ed41 100644 --- a/src/main/java/io/github/vrchatapi/api/GroupsApi.java +++ b/src/main/java/io/github/vrchatapi/api/GroupsApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/InstancesApi.java b/src/main/java/io/github/vrchatapi/api/InstancesApi.java index ab16b913..52762e3d 100644 --- a/src/main/java/io/github/vrchatapi/api/InstancesApi.java +++ b/src/main/java/io/github/vrchatapi/api/InstancesApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/InviteApi.java b/src/main/java/io/github/vrchatapi/api/InviteApi.java index 41806696..038fe4f2 100644 --- a/src/main/java/io/github/vrchatapi/api/InviteApi.java +++ b/src/main/java/io/github/vrchatapi/api/InviteApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/JamsApi.java b/src/main/java/io/github/vrchatapi/api/JamsApi.java index 1ab78b2a..54b0cbdd 100644 --- a/src/main/java/io/github/vrchatapi/api/JamsApi.java +++ b/src/main/java/io/github/vrchatapi/api/JamsApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/NotificationsApi.java b/src/main/java/io/github/vrchatapi/api/NotificationsApi.java index 009bfe4e..a52a9e51 100644 --- a/src/main/java/io/github/vrchatapi/api/NotificationsApi.java +++ b/src/main/java/io/github/vrchatapi/api/NotificationsApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/PermissionsApi.java b/src/main/java/io/github/vrchatapi/api/PermissionsApi.java index ae5b7484..ab31380a 100644 --- a/src/main/java/io/github/vrchatapi/api/PermissionsApi.java +++ b/src/main/java/io/github/vrchatapi/api/PermissionsApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/PlayermoderationApi.java b/src/main/java/io/github/vrchatapi/api/PlayermoderationApi.java index f18c005d..7ca0f54a 100644 --- a/src/main/java/io/github/vrchatapi/api/PlayermoderationApi.java +++ b/src/main/java/io/github/vrchatapi/api/PlayermoderationApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/SystemApi.java b/src/main/java/io/github/vrchatapi/api/SystemApi.java index 8effe3d9..bebfaf99 100644 --- a/src/main/java/io/github/vrchatapi/api/SystemApi.java +++ b/src/main/java/io/github/vrchatapi/api/SystemApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/UsersApi.java b/src/main/java/io/github/vrchatapi/api/UsersApi.java index 3bf2addd..61df929e 100644 --- a/src/main/java/io/github/vrchatapi/api/UsersApi.java +++ b/src/main/java/io/github/vrchatapi/api/UsersApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/api/WorldsApi.java b/src/main/java/io/github/vrchatapi/api/WorldsApi.java index 4e29819f..e4fa71cf 100644 --- a/src/main/java/io/github/vrchatapi/api/WorldsApi.java +++ b/src/main/java/io/github/vrchatapi/api/WorldsApi.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/auth/ApiKeyAuth.java b/src/main/java/io/github/vrchatapi/auth/ApiKeyAuth.java index 73a308f1..7a6b42bb 100644 --- a/src/main/java/io/github/vrchatapi/auth/ApiKeyAuth.java +++ b/src/main/java/io/github/vrchatapi/auth/ApiKeyAuth.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/auth/Authentication.java b/src/main/java/io/github/vrchatapi/auth/Authentication.java index 54e98689..e57ee3a9 100644 --- a/src/main/java/io/github/vrchatapi/auth/Authentication.java +++ b/src/main/java/io/github/vrchatapi/auth/Authentication.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/auth/HttpBasicAuth.java b/src/main/java/io/github/vrchatapi/auth/HttpBasicAuth.java index 77bdd3a9..b13b8dc7 100644 --- a/src/main/java/io/github/vrchatapi/auth/HttpBasicAuth.java +++ b/src/main/java/io/github/vrchatapi/auth/HttpBasicAuth.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/auth/HttpBearerAuth.java b/src/main/java/io/github/vrchatapi/auth/HttpBearerAuth.java index 3db84ffe..a7c61c67 100644 --- a/src/main/java/io/github/vrchatapi/auth/HttpBearerAuth.java +++ b/src/main/java/io/github/vrchatapi/auth/HttpBearerAuth.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfig.java b/src/main/java/io/github/vrchatapi/model/APIConfig.java index c61cc77d..a1381b38 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfig.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfig.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,6 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.github.vrchatapi.model.APIConfigAnnouncement; +import io.github.vrchatapi.model.APIConfigAvatarPerfLimiter; import io.github.vrchatapi.model.APIConfigConstants; import io.github.vrchatapi.model.APIConfigDownloadURLList; import io.github.vrchatapi.model.APIConfigEvents; @@ -77,6 +78,14 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_ADDRESS) private String address; + public static final String SERIALIZED_NAME_AGE_VERIFICATION_P = "ageVerificationP"; + @SerializedName(SERIALIZED_NAME_AGE_VERIFICATION_P) + private Boolean ageVerificationP; + + public static final String SERIALIZED_NAME_AGE_VERIFICATION_STATUS_VISIBLE = "ageVerificationStatusVisible"; + @SerializedName(SERIALIZED_NAME_AGE_VERIFICATION_STATUS_VISIBLE) + private Boolean ageVerificationStatusVisible; + public static final String SERIALIZED_NAME_ANNOUNCEMENTS = "announcements"; @SerializedName(SERIALIZED_NAME_ANNOUNCEMENTS) private Set announcements = new LinkedHashSet<>(); @@ -101,6 +110,10 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_AVAILABLE_LANGUAGES) private List availableLanguages = new ArrayList<>(); + public static final String SERIALIZED_NAME_AVATAR_PERF_LIMITER = "avatarPerfLimiter"; + @SerializedName(SERIALIZED_NAME_AVATAR_PERF_LIMITER) + private APIConfigAvatarPerfLimiter avatarPerfLimiter; + public static final String SERIALIZED_NAME_BUILD_VERSION_TAG = "buildVersionTag"; @SerializedName(SERIALIZED_NAME_BUILD_VERSION_TAG) private String buildVersionTag; @@ -197,6 +210,10 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_DEFAULT_AVATAR) private String defaultAvatar; + public static final String SERIALIZED_NAME_DEFAULT_STICKER_SET = "defaultStickerSet"; + @SerializedName(SERIALIZED_NAME_DEFAULT_STICKER_SET) + private String defaultStickerSet; + public static final String SERIALIZED_NAME_DEPLOYMENT_GROUP = "deploymentGroup"; @SerializedName(SERIALIZED_NAME_DEPLOYMENT_GROUP) private DeploymentGroup deploymentGroup = DeploymentGroup.BLUE; @@ -413,6 +430,10 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_SUPPORT_EMAIL) private String supportEmail; + public static final String SERIALIZED_NAME_SUPPORT_FORM_URL = "supportFormUrl"; + @SerializedName(SERIALIZED_NAME_SUPPORT_FORM_URL) + private String supportFormUrl; + public static final String SERIALIZED_NAME_TIMEKEEPING = "timekeeping"; @SerializedName(SERIALIZED_NAME_TIMEKEEPING) private Boolean timekeeping = true; @@ -553,6 +574,52 @@ public void setAddress(String address) { } + public APIConfig ageVerificationP(Boolean ageVerificationP) { + + this.ageVerificationP = ageVerificationP; + return this; + } + + /** + * Get ageVerificationP + * @return ageVerificationP + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getAgeVerificationP() { + return ageVerificationP; + } + + + public void setAgeVerificationP(Boolean ageVerificationP) { + this.ageVerificationP = ageVerificationP; + } + + + public APIConfig ageVerificationStatusVisible(Boolean ageVerificationStatusVisible) { + + this.ageVerificationStatusVisible = ageVerificationStatusVisible; + return this; + } + + /** + * Get ageVerificationStatusVisible + * @return ageVerificationStatusVisible + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getAgeVerificationStatusVisible() { + return ageVerificationStatusVisible; + } + + + public void setAgeVerificationStatusVisible(Boolean ageVerificationStatusVisible) { + this.ageVerificationStatusVisible = ageVerificationStatusVisible; + } + + public APIConfig announcements(Set announcements) { this.announcements = announcements; @@ -708,6 +775,29 @@ public void setAvailableLanguages(List availableLanguages) { } + public APIConfig avatarPerfLimiter(APIConfigAvatarPerfLimiter avatarPerfLimiter) { + + this.avatarPerfLimiter = avatarPerfLimiter; + return this; + } + + /** + * Get avatarPerfLimiter + * @return avatarPerfLimiter + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public APIConfigAvatarPerfLimiter getAvatarPerfLimiter() { + return avatarPerfLimiter; + } + + + public void setAvatarPerfLimiter(APIConfigAvatarPerfLimiter avatarPerfLimiter) { + this.avatarPerfLimiter = avatarPerfLimiter; + } + + public APIConfig buildVersionTag(String buildVersionTag) { this.buildVersionTag = buildVersionTag; @@ -1261,6 +1351,29 @@ public void setDefaultAvatar(String defaultAvatar) { } + public APIConfig defaultStickerSet(String defaultStickerSet) { + + this.defaultStickerSet = defaultStickerSet; + return this; + } + + /** + * Get defaultStickerSet + * @return defaultStickerSet + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getDefaultStickerSet() { + return defaultStickerSet; + } + + + public void setDefaultStickerSet(String defaultStickerSet) { + this.defaultStickerSet = defaultStickerSet; + } + + public APIConfig deploymentGroup(DeploymentGroup deploymentGroup) { this.deploymentGroup = deploymentGroup; @@ -2542,6 +2655,29 @@ public void setSupportEmail(String supportEmail) { } + public APIConfig supportFormUrl(String supportFormUrl) { + + this.supportFormUrl = supportFormUrl; + return this; + } + + /** + * VRChat's support form + * @return supportFormUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "VRChat's support form") + + public String getSupportFormUrl() { + return supportFormUrl; + } + + + public void setSupportFormUrl(String supportFormUrl) { + this.supportFormUrl = supportFormUrl; + } + + public APIConfig timekeeping(Boolean timekeeping) { this.timekeeping = timekeeping; @@ -2956,12 +3092,15 @@ public boolean equals(Object o) { return Objects.equals(this.voiceEnableDegradation, apIConfig.voiceEnableDegradation) && Objects.equals(this.voiceEnableReceiverLimiting, apIConfig.voiceEnableReceiverLimiting) && Objects.equals(this.address, apIConfig.address) && + Objects.equals(this.ageVerificationP, apIConfig.ageVerificationP) && + Objects.equals(this.ageVerificationStatusVisible, apIConfig.ageVerificationStatusVisible) && Objects.equals(this.announcements, apIConfig.announcements) && Objects.equals(this.analyticsSegmentNewUIPctOfUsers, apIConfig.analyticsSegmentNewUIPctOfUsers) && Objects.equals(this.analyticsSegmentNewUISalt, apIConfig.analyticsSegmentNewUISalt) && Objects.equals(this.appName, apIConfig.appName) && Objects.equals(this.availableLanguageCodes, apIConfig.availableLanguageCodes) && Objects.equals(this.availableLanguages, apIConfig.availableLanguages) && + Objects.equals(this.avatarPerfLimiter, apIConfig.avatarPerfLimiter) && Objects.equals(this.buildVersionTag, apIConfig.buildVersionTag) && Objects.equals(this.chatboxLogBufferSeconds, apIConfig.chatboxLogBufferSeconds) && Objects.equals(this.clientApiKey, apIConfig.clientApiKey) && @@ -2986,6 +3125,7 @@ public boolean equals(Object o) { Objects.equals(this.currentPrivacyVersion, apIConfig.currentPrivacyVersion) && Objects.equals(this.currentTOSVersion, apIConfig.currentTOSVersion) && Objects.equals(this.defaultAvatar, apIConfig.defaultAvatar) && + Objects.equals(this.defaultStickerSet, apIConfig.defaultStickerSet) && Objects.equals(this.deploymentGroup, apIConfig.deploymentGroup) && Objects.equals(this.devLanguageCodes, apIConfig.devLanguageCodes) && Objects.equals(this.devSdkUrl, apIConfig.devSdkUrl) && @@ -3040,6 +3180,7 @@ public boolean equals(Object o) { Objects.equals(this.serverName, apIConfig.serverName) && Objects.equals(this.stringHostUrlList, apIConfig.stringHostUrlList) && Objects.equals(this.supportEmail, apIConfig.supportEmail) && + Objects.equals(this.supportFormUrl, apIConfig.supportFormUrl) && Objects.equals(this.timekeeping, apIConfig.timekeeping) && Objects.equals(this.timeOutWorldId, apIConfig.timeOutWorldId) && Objects.equals(this.tutorialWorldId, apIConfig.tutorialWorldId) && @@ -3061,7 +3202,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(voiceEnableDegradation, voiceEnableReceiverLimiting, address, announcements, analyticsSegmentNewUIPctOfUsers, analyticsSegmentNewUISalt, appName, availableLanguageCodes, availableLanguages, buildVersionTag, chatboxLogBufferSeconds, clientApiKey, clientBPSCeiling, clientDisconnectTimeout, clientNetDispatchThread, clientNetDispatchThreadMobile, clientNetInThread, clientNetInThread2, clientNetInThreadMobile, clientNetInThreadMobile2, clientNetOutThread, clientNetOutThread2, clientNetOutThreadMobile, clientNetOutThreadMobile2, clientQR, clientReservedPlayerBPS, clientSentCountAllowance, constants, contactEmail, copyrightEmail, currentPrivacyVersion, currentTOSVersion, defaultAvatar, deploymentGroup, devLanguageCodes, devSdkUrl, devSdkVersion, disCountdown, disableAVProInProton, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEmail, disableCaptcha, disableEventStream, disableFeedbackGating, disableFrontendBuilds, disableHello, disableOculusSubs, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, economyPauseEnd, economyPauseStart, economyState, events, forceUseLatestWorld, googleApiClientId, homeWorldId, homepageRedirectTarget, hubWorldId, imageHostUrlList, jobsEmail, minSupportedClientBuildNumber, minimumUnityVersionForUploads, moderationEmail, notAllowedToSelectAvatarInPrivateWorldMessage, offlineAnalysis, photonNameserverOverrides, photonPublicKeys, reportCategories, reportFormUrl, reportOptions, reportReasons, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, stringHostUrlList, supportEmail, timekeeping, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, viveWindowsUrl, whiteListedAssetUrls, playerUrlResolverVersion, playerUrlResolverSha1, websocketMaxFriendsRefreshDelay, websocketQuickReconnectTime, websocketReconnectMaxDelay); + return Objects.hash(voiceEnableDegradation, voiceEnableReceiverLimiting, address, ageVerificationP, ageVerificationStatusVisible, announcements, analyticsSegmentNewUIPctOfUsers, analyticsSegmentNewUISalt, appName, availableLanguageCodes, availableLanguages, avatarPerfLimiter, buildVersionTag, chatboxLogBufferSeconds, clientApiKey, clientBPSCeiling, clientDisconnectTimeout, clientNetDispatchThread, clientNetDispatchThreadMobile, clientNetInThread, clientNetInThread2, clientNetInThreadMobile, clientNetInThreadMobile2, clientNetOutThread, clientNetOutThread2, clientNetOutThreadMobile, clientNetOutThreadMobile2, clientQR, clientReservedPlayerBPS, clientSentCountAllowance, constants, contactEmail, copyrightEmail, currentPrivacyVersion, currentTOSVersion, defaultAvatar, defaultStickerSet, deploymentGroup, devLanguageCodes, devSdkUrl, devSdkVersion, disCountdown, disableAVProInProton, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEmail, disableCaptcha, disableEventStream, disableFeedbackGating, disableFrontendBuilds, disableHello, disableOculusSubs, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, economyPauseEnd, economyPauseStart, economyState, events, forceUseLatestWorld, googleApiClientId, homeWorldId, homepageRedirectTarget, hubWorldId, imageHostUrlList, jobsEmail, minSupportedClientBuildNumber, minimumUnityVersionForUploads, moderationEmail, notAllowedToSelectAvatarInPrivateWorldMessage, offlineAnalysis, photonNameserverOverrides, photonPublicKeys, reportCategories, reportFormUrl, reportOptions, reportReasons, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, stringHostUrlList, supportEmail, supportFormUrl, timekeeping, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, viveWindowsUrl, whiteListedAssetUrls, playerUrlResolverVersion, playerUrlResolverSha1, websocketMaxFriendsRefreshDelay, websocketQuickReconnectTime, websocketReconnectMaxDelay); } @Override @@ -3071,12 +3212,15 @@ public String toString() { sb.append(" voiceEnableDegradation: ").append(toIndentedString(voiceEnableDegradation)).append("\n"); sb.append(" voiceEnableReceiverLimiting: ").append(toIndentedString(voiceEnableReceiverLimiting)).append("\n"); sb.append(" address: ").append(toIndentedString(address)).append("\n"); + sb.append(" ageVerificationP: ").append(toIndentedString(ageVerificationP)).append("\n"); + sb.append(" ageVerificationStatusVisible: ").append(toIndentedString(ageVerificationStatusVisible)).append("\n"); sb.append(" announcements: ").append(toIndentedString(announcements)).append("\n"); sb.append(" analyticsSegmentNewUIPctOfUsers: ").append(toIndentedString(analyticsSegmentNewUIPctOfUsers)).append("\n"); sb.append(" analyticsSegmentNewUISalt: ").append(toIndentedString(analyticsSegmentNewUISalt)).append("\n"); sb.append(" appName: ").append(toIndentedString(appName)).append("\n"); sb.append(" availableLanguageCodes: ").append(toIndentedString(availableLanguageCodes)).append("\n"); sb.append(" availableLanguages: ").append(toIndentedString(availableLanguages)).append("\n"); + sb.append(" avatarPerfLimiter: ").append(toIndentedString(avatarPerfLimiter)).append("\n"); sb.append(" buildVersionTag: ").append(toIndentedString(buildVersionTag)).append("\n"); sb.append(" chatboxLogBufferSeconds: ").append(toIndentedString(chatboxLogBufferSeconds)).append("\n"); sb.append(" clientApiKey: ").append(toIndentedString(clientApiKey)).append("\n"); @@ -3101,6 +3245,7 @@ public String toString() { sb.append(" currentPrivacyVersion: ").append(toIndentedString(currentPrivacyVersion)).append("\n"); sb.append(" currentTOSVersion: ").append(toIndentedString(currentTOSVersion)).append("\n"); sb.append(" defaultAvatar: ").append(toIndentedString(defaultAvatar)).append("\n"); + sb.append(" defaultStickerSet: ").append(toIndentedString(defaultStickerSet)).append("\n"); sb.append(" deploymentGroup: ").append(toIndentedString(deploymentGroup)).append("\n"); sb.append(" devLanguageCodes: ").append(toIndentedString(devLanguageCodes)).append("\n"); sb.append(" devSdkUrl: ").append(toIndentedString(devSdkUrl)).append("\n"); @@ -3155,6 +3300,7 @@ public String toString() { sb.append(" serverName: ").append(toIndentedString(serverName)).append("\n"); sb.append(" stringHostUrlList: ").append(toIndentedString(stringHostUrlList)).append("\n"); sb.append(" supportEmail: ").append(toIndentedString(supportEmail)).append("\n"); + sb.append(" supportFormUrl: ").append(toIndentedString(supportFormUrl)).append("\n"); sb.append(" timekeeping: ").append(toIndentedString(timekeeping)).append("\n"); sb.append(" timeOutWorldId: ").append(toIndentedString(timeOutWorldId)).append("\n"); sb.append(" tutorialWorldId: ").append(toIndentedString(tutorialWorldId)).append("\n"); @@ -3197,12 +3343,15 @@ private String toIndentedString(Object o) { openapiFields.add("VoiceEnableDegradation"); openapiFields.add("VoiceEnableReceiverLimiting"); openapiFields.add("address"); + openapiFields.add("ageVerificationP"); + openapiFields.add("ageVerificationStatusVisible"); openapiFields.add("announcements"); openapiFields.add("analyticsSegment_NewUI_PctOfUsers"); openapiFields.add("analyticsSegment_NewUI_Salt"); openapiFields.add("appName"); openapiFields.add("availableLanguageCodes"); openapiFields.add("availableLanguages"); + openapiFields.add("avatarPerfLimiter"); openapiFields.add("buildVersionTag"); openapiFields.add("chatboxLogBufferSeconds"); openapiFields.add("clientApiKey"); @@ -3227,6 +3376,7 @@ private String toIndentedString(Object o) { openapiFields.add("currentPrivacyVersion"); openapiFields.add("currentTOSVersion"); openapiFields.add("defaultAvatar"); + openapiFields.add("defaultStickerSet"); openapiFields.add("deploymentGroup"); openapiFields.add("devLanguageCodes"); openapiFields.add("devSdkUrl"); @@ -3281,6 +3431,7 @@ private String toIndentedString(Object o) { openapiFields.add("serverName"); openapiFields.add("stringHostUrlList"); openapiFields.add("supportEmail"); + openapiFields.add("supportFormUrl"); openapiFields.add("timekeeping"); openapiFields.add("timeOutWorldId"); openapiFields.add("tutorialWorldId"); @@ -3304,12 +3455,15 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("VoiceEnableDegradation"); openapiRequiredFields.add("VoiceEnableReceiverLimiting"); openapiRequiredFields.add("address"); + openapiRequiredFields.add("ageVerificationP"); + openapiRequiredFields.add("ageVerificationStatusVisible"); openapiRequiredFields.add("announcements"); openapiRequiredFields.add("analyticsSegment_NewUI_PctOfUsers"); openapiRequiredFields.add("analyticsSegment_NewUI_Salt"); openapiRequiredFields.add("appName"); openapiRequiredFields.add("availableLanguageCodes"); openapiRequiredFields.add("availableLanguages"); + openapiRequiredFields.add("avatarPerfLimiter"); openapiRequiredFields.add("buildVersionTag"); openapiRequiredFields.add("chatboxLogBufferSeconds"); openapiRequiredFields.add("clientApiKey"); @@ -3323,6 +3477,7 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("copyrightEmail"); openapiRequiredFields.add("currentTOSVersion"); openapiRequiredFields.add("defaultAvatar"); + openapiRequiredFields.add("defaultStickerSet"); openapiRequiredFields.add("deploymentGroup"); openapiRequiredFields.add("devSdkUrl"); openapiRequiredFields.add("devSdkVersion"); @@ -3371,6 +3526,7 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("serverName"); openapiRequiredFields.add("stringHostUrlList"); openapiRequiredFields.add("supportEmail"); + openapiRequiredFields.add("supportFormUrl"); openapiRequiredFields.add("timekeeping"); openapiRequiredFields.add("timeOutWorldId"); openapiRequiredFields.add("tutorialWorldId"); @@ -3448,6 +3604,8 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { } else if (!jsonObj.get("availableLanguages").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `availableLanguages` to be an array in the JSON string but got `%s`", jsonObj.get("availableLanguages").toString())); } + // validate the required field `avatarPerfLimiter` + APIConfigAvatarPerfLimiter.validateJsonObject(jsonObj.getAsJsonObject("avatarPerfLimiter")); if (!jsonObj.get("buildVersionTag").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `buildVersionTag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("buildVersionTag").toString())); } @@ -3465,6 +3623,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (!jsonObj.get("defaultAvatar").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `defaultAvatar` to be a primitive type in the JSON string but got `%s`", jsonObj.get("defaultAvatar").toString())); } + if (!jsonObj.get("defaultStickerSet").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `defaultStickerSet` to be a primitive type in the JSON string but got `%s`", jsonObj.get("defaultStickerSet").toString())); + } // ensure the optional json data is an array if present if (jsonObj.get("devLanguageCodes") != null && !jsonObj.get("devLanguageCodes").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `devLanguageCodes` to be an array in the JSON string but got `%s`", jsonObj.get("devLanguageCodes").toString())); @@ -3575,6 +3736,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (!jsonObj.get("supportEmail").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `supportEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("supportEmail").toString())); } + if (!jsonObj.get("supportFormUrl").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `supportFormUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("supportFormUrl").toString())); + } if (!jsonObj.get("timeOutWorldId").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `timeOutWorldId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("timeOutWorldId").toString())); } diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigAnnouncement.java b/src/main/java/io/github/vrchatapi/model/APIConfigAnnouncement.java index 0accfd0e..a2a74b6d 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigAnnouncement.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigAnnouncement.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigAvatarPerfLimiter.java b/src/main/java/io/github/vrchatapi/model/APIConfigAvatarPerfLimiter.java new file mode 100644 index 00000000..0d28f8ac --- /dev/null +++ b/src/main/java/io/github/vrchatapi/model/APIConfigAvatarPerfLimiter.java @@ -0,0 +1,380 @@ +/* + * VRChat API Documentation + * + * The version of the OpenAPI document: 1.18.8 + * Contact: vrchatapi.lpv0t@aries.fyi + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.github.vrchatapi.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.github.vrchatapi.model.PerformanceLimiterInfo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import io.github.vrchatapi.JSON; + +/** + * APIConfigAvatarPerfLimiter + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class APIConfigAvatarPerfLimiter { + public static final String SERIALIZED_NAME_ANDROID_MOBILE = "AndroidMobile"; + @SerializedName(SERIALIZED_NAME_ANDROID_MOBILE) + private PerformanceLimiterInfo androidMobile; + + public static final String SERIALIZED_NAME_P_C = "PC"; + @SerializedName(SERIALIZED_NAME_P_C) + private PerformanceLimiterInfo PC; + + public static final String SERIALIZED_NAME_PICO = "Pico"; + @SerializedName(SERIALIZED_NAME_PICO) + private PerformanceLimiterInfo pico; + + public static final String SERIALIZED_NAME_QUEST = "Quest"; + @SerializedName(SERIALIZED_NAME_QUEST) + private PerformanceLimiterInfo quest; + + public static final String SERIALIZED_NAME_XR_ELITE = "XRElite"; + @SerializedName(SERIALIZED_NAME_XR_ELITE) + private PerformanceLimiterInfo xrElite; + + public static final String SERIALIZED_NAME_I_O_S_MOBILE = "iOSMobile"; + @SerializedName(SERIALIZED_NAME_I_O_S_MOBILE) + private PerformanceLimiterInfo iOSMobile; + + public APIConfigAvatarPerfLimiter() { + } + + public APIConfigAvatarPerfLimiter androidMobile(PerformanceLimiterInfo androidMobile) { + + this.androidMobile = androidMobile; + return this; + } + + /** + * Get androidMobile + * @return androidMobile + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public PerformanceLimiterInfo getAndroidMobile() { + return androidMobile; + } + + + public void setAndroidMobile(PerformanceLimiterInfo androidMobile) { + this.androidMobile = androidMobile; + } + + + public APIConfigAvatarPerfLimiter PC(PerformanceLimiterInfo PC) { + + this.PC = PC; + return this; + } + + /** + * Get PC + * @return PC + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public PerformanceLimiterInfo getPC() { + return PC; + } + + + public void setPC(PerformanceLimiterInfo PC) { + this.PC = PC; + } + + + public APIConfigAvatarPerfLimiter pico(PerformanceLimiterInfo pico) { + + this.pico = pico; + return this; + } + + /** + * Get pico + * @return pico + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public PerformanceLimiterInfo getPico() { + return pico; + } + + + public void setPico(PerformanceLimiterInfo pico) { + this.pico = pico; + } + + + public APIConfigAvatarPerfLimiter quest(PerformanceLimiterInfo quest) { + + this.quest = quest; + return this; + } + + /** + * Get quest + * @return quest + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public PerformanceLimiterInfo getQuest() { + return quest; + } + + + public void setQuest(PerformanceLimiterInfo quest) { + this.quest = quest; + } + + + public APIConfigAvatarPerfLimiter xrElite(PerformanceLimiterInfo xrElite) { + + this.xrElite = xrElite; + return this; + } + + /** + * Get xrElite + * @return xrElite + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public PerformanceLimiterInfo getXrElite() { + return xrElite; + } + + + public void setXrElite(PerformanceLimiterInfo xrElite) { + this.xrElite = xrElite; + } + + + public APIConfigAvatarPerfLimiter iOSMobile(PerformanceLimiterInfo iOSMobile) { + + this.iOSMobile = iOSMobile; + return this; + } + + /** + * Get iOSMobile + * @return iOSMobile + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public PerformanceLimiterInfo getiOSMobile() { + return iOSMobile; + } + + + public void setiOSMobile(PerformanceLimiterInfo iOSMobile) { + this.iOSMobile = iOSMobile; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + APIConfigAvatarPerfLimiter apIConfigAvatarPerfLimiter = (APIConfigAvatarPerfLimiter) o; + return Objects.equals(this.androidMobile, apIConfigAvatarPerfLimiter.androidMobile) && + Objects.equals(this.PC, apIConfigAvatarPerfLimiter.PC) && + Objects.equals(this.pico, apIConfigAvatarPerfLimiter.pico) && + Objects.equals(this.quest, apIConfigAvatarPerfLimiter.quest) && + Objects.equals(this.xrElite, apIConfigAvatarPerfLimiter.xrElite) && + Objects.equals(this.iOSMobile, apIConfigAvatarPerfLimiter.iOSMobile); + } + + @Override + public int hashCode() { + return Objects.hash(androidMobile, PC, pico, quest, xrElite, iOSMobile); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class APIConfigAvatarPerfLimiter {\n"); + sb.append(" androidMobile: ").append(toIndentedString(androidMobile)).append("\n"); + sb.append(" PC: ").append(toIndentedString(PC)).append("\n"); + sb.append(" pico: ").append(toIndentedString(pico)).append("\n"); + sb.append(" quest: ").append(toIndentedString(quest)).append("\n"); + sb.append(" xrElite: ").append(toIndentedString(xrElite)).append("\n"); + sb.append(" iOSMobile: ").append(toIndentedString(iOSMobile)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("AndroidMobile"); + openapiFields.add("PC"); + openapiFields.add("Pico"); + openapiFields.add("Quest"); + openapiFields.add("XRElite"); + openapiFields.add("iOSMobile"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("AndroidMobile"); + openapiRequiredFields.add("PC"); + openapiRequiredFields.add("Pico"); + openapiRequiredFields.add("Quest"); + openapiRequiredFields.add("XRElite"); + openapiRequiredFields.add("iOSMobile"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to APIConfigAvatarPerfLimiter + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!APIConfigAvatarPerfLimiter.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in APIConfigAvatarPerfLimiter is not found in the empty JSON string", APIConfigAvatarPerfLimiter.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!APIConfigAvatarPerfLimiter.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `APIConfigAvatarPerfLimiter` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : APIConfigAvatarPerfLimiter.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // validate the required field `AndroidMobile` + PerformanceLimiterInfo.validateJsonObject(jsonObj.getAsJsonObject("AndroidMobile")); + // validate the required field `PC` + PerformanceLimiterInfo.validateJsonObject(jsonObj.getAsJsonObject("PC")); + // validate the required field `Pico` + PerformanceLimiterInfo.validateJsonObject(jsonObj.getAsJsonObject("Pico")); + // validate the required field `Quest` + PerformanceLimiterInfo.validateJsonObject(jsonObj.getAsJsonObject("Quest")); + // validate the required field `XRElite` + PerformanceLimiterInfo.validateJsonObject(jsonObj.getAsJsonObject("XRElite")); + // validate the required field `iOSMobile` + PerformanceLimiterInfo.validateJsonObject(jsonObj.getAsJsonObject("iOSMobile")); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!APIConfigAvatarPerfLimiter.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'APIConfigAvatarPerfLimiter' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(APIConfigAvatarPerfLimiter.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, APIConfigAvatarPerfLimiter value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public APIConfigAvatarPerfLimiter read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of APIConfigAvatarPerfLimiter given an JSON string + * + * @param jsonString JSON string + * @return An instance of APIConfigAvatarPerfLimiter + * @throws IOException if the JSON string is invalid with respect to APIConfigAvatarPerfLimiter + */ + public static APIConfigAvatarPerfLimiter fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, APIConfigAvatarPerfLimiter.class); + } + + /** + * Convert an instance of APIConfigAvatarPerfLimiter to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigConstants.java b/src/main/java/io/github/vrchatapi/model/APIConfigConstants.java index d1bb271c..44a8f0c1 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigConstants.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigConstants.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsGROUPS.java b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsGROUPS.java index 14b19497..ab5b05e8 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsGROUPS.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsGROUPS.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCE.java b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCE.java index be98d718..cfe5c2d8 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCE.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCE.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.java b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.java index 2b8db166..77afdb07 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETS.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.java b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.java index 9e86f773..39d8281e 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.java b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.java index 7fc25d30..2b080fc4 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.java b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.java index 34987842..a2827375 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsLANGUAGE.java b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsLANGUAGE.java index c43ffdb3..2a3e9bda 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigConstantsLANGUAGE.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigConstantsLANGUAGE.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigDownloadURLList.java b/src/main/java/io/github/vrchatapi/model/APIConfigDownloadURLList.java index 31cd270e..8af8996a 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigDownloadURLList.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigDownloadURLList.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigEvents.java b/src/main/java/io/github/vrchatapi/model/APIConfigEvents.java index 42b902f2..0fca244e 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigEvents.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigEvents.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigMinSupportedClientBuildNumber.java b/src/main/java/io/github/vrchatapi/model/APIConfigMinSupportedClientBuildNumber.java index 68a509dd..5870ee29 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigMinSupportedClientBuildNumber.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigMinSupportedClientBuildNumber.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigOfflineAnalysis.java b/src/main/java/io/github/vrchatapi/model/APIConfigOfflineAnalysis.java index cda59a9d..4037f2c3 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigOfflineAnalysis.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigOfflineAnalysis.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigReportCategories.java b/src/main/java/io/github/vrchatapi/model/APIConfigReportCategories.java index a4bd32ec..c6ba7854 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigReportCategories.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigReportCategories.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -63,6 +63,10 @@ public class APIConfigReportCategories { @SerializedName(SERIALIZED_NAME_CHAT) private ReportCategory chat; + public static final String SERIALIZED_NAME_EMOJI = "emoji"; + @SerializedName(SERIALIZED_NAME_EMOJI) + private ReportCategory emoji; + public static final String SERIALIZED_NAME_ENVIRONMENT = "environment"; @SerializedName(SERIALIZED_NAME_ENVIRONMENT) private ReportCategory environment; @@ -79,6 +83,10 @@ public class APIConfigReportCategories { @SerializedName(SERIALIZED_NAME_TEXT) private ReportCategory text; + public static final String SERIALIZED_NAME_STICKER = "sticker"; + @SerializedName(SERIALIZED_NAME_STICKER) + private ReportCategory sticker; + public static final String SERIALIZED_NAME_WARNINGS = "warnings"; @SerializedName(SERIALIZED_NAME_WARNINGS) private ReportCategory warnings; @@ -163,6 +171,29 @@ public void setChat(ReportCategory chat) { } + public APIConfigReportCategories emoji(ReportCategory emoji) { + + this.emoji = emoji; + return this; + } + + /** + * Get emoji + * @return emoji + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public ReportCategory getEmoji() { + return emoji; + } + + + public void setEmoji(ReportCategory emoji) { + this.emoji = emoji; + } + + public APIConfigReportCategories environment(ReportCategory environment) { this.environment = environment; @@ -255,6 +286,29 @@ public void setText(ReportCategory text) { } + public APIConfigReportCategories sticker(ReportCategory sticker) { + + this.sticker = sticker; + return this; + } + + /** + * Get sticker + * @return sticker + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public ReportCategory getSticker() { + return sticker; + } + + + public void setSticker(ReportCategory sticker) { + this.sticker = sticker; + } + + public APIConfigReportCategories warnings(ReportCategory warnings) { this.warnings = warnings; @@ -337,10 +391,12 @@ public boolean equals(Object o) { return Objects.equals(this.avatar, apIConfigReportCategories.avatar) && Objects.equals(this.behavior, apIConfigReportCategories.behavior) && Objects.equals(this.chat, apIConfigReportCategories.chat) && + Objects.equals(this.emoji, apIConfigReportCategories.emoji) && Objects.equals(this.environment, apIConfigReportCategories.environment) && Objects.equals(this.groupstore, apIConfigReportCategories.groupstore) && Objects.equals(this.image, apIConfigReportCategories.image) && Objects.equals(this.text, apIConfigReportCategories.text) && + Objects.equals(this.sticker, apIConfigReportCategories.sticker) && Objects.equals(this.warnings, apIConfigReportCategories.warnings) && Objects.equals(this.worldimage, apIConfigReportCategories.worldimage) && Objects.equals(this.worldstore, apIConfigReportCategories.worldstore); @@ -348,7 +404,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(avatar, behavior, chat, environment, groupstore, image, text, warnings, worldimage, worldstore); + return Objects.hash(avatar, behavior, chat, emoji, environment, groupstore, image, text, sticker, warnings, worldimage, worldstore); } @Override @@ -358,10 +414,12 @@ public String toString() { sb.append(" avatar: ").append(toIndentedString(avatar)).append("\n"); sb.append(" behavior: ").append(toIndentedString(behavior)).append("\n"); sb.append(" chat: ").append(toIndentedString(chat)).append("\n"); + sb.append(" emoji: ").append(toIndentedString(emoji)).append("\n"); sb.append(" environment: ").append(toIndentedString(environment)).append("\n"); sb.append(" groupstore: ").append(toIndentedString(groupstore)).append("\n"); sb.append(" image: ").append(toIndentedString(image)).append("\n"); sb.append(" text: ").append(toIndentedString(text)).append("\n"); + sb.append(" sticker: ").append(toIndentedString(sticker)).append("\n"); sb.append(" warnings: ").append(toIndentedString(warnings)).append("\n"); sb.append(" worldimage: ").append(toIndentedString(worldimage)).append("\n"); sb.append(" worldstore: ").append(toIndentedString(worldstore)).append("\n"); @@ -390,10 +448,12 @@ private String toIndentedString(Object o) { openapiFields.add("avatar"); openapiFields.add("behavior"); openapiFields.add("chat"); + openapiFields.add("emoji"); openapiFields.add("environment"); openapiFields.add("groupstore"); openapiFields.add("image"); openapiFields.add("text"); + openapiFields.add("sticker"); openapiFields.add("warnings"); openapiFields.add("worldimage"); openapiFields.add("worldstore"); @@ -445,6 +505,10 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { ReportCategory.validateJsonObject(jsonObj.getAsJsonObject("behavior")); // validate the required field `chat` ReportCategory.validateJsonObject(jsonObj.getAsJsonObject("chat")); + // validate the optional field `emoji` + if (jsonObj.get("emoji") != null && !jsonObj.get("emoji").isJsonNull()) { + ReportCategory.validateJsonObject(jsonObj.getAsJsonObject("emoji")); + } // validate the required field `environment` ReportCategory.validateJsonObject(jsonObj.getAsJsonObject("environment")); // validate the required field `groupstore` @@ -453,6 +517,10 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { ReportCategory.validateJsonObject(jsonObj.getAsJsonObject("image")); // validate the required field `text` ReportCategory.validateJsonObject(jsonObj.getAsJsonObject("text")); + // validate the optional field `sticker` + if (jsonObj.get("sticker") != null && !jsonObj.get("sticker").isJsonNull()) { + ReportCategory.validateJsonObject(jsonObj.getAsJsonObject("sticker")); + } // validate the required field `warnings` ReportCategory.validateJsonObject(jsonObj.getAsJsonObject("warnings")); // validate the required field `worldimage` diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigReportReasons.java b/src/main/java/io/github/vrchatapi/model/APIConfigReportReasons.java index f791eab7..04395b86 100644 --- a/src/main/java/io/github/vrchatapi/model/APIConfigReportReasons.java +++ b/src/main/java/io/github/vrchatapi/model/APIConfigReportReasons.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/APIHealth.java b/src/main/java/io/github/vrchatapi/model/APIHealth.java index bdec13a4..2ed61802 100644 --- a/src/main/java/io/github/vrchatapi/model/APIHealth.java +++ b/src/main/java/io/github/vrchatapi/model/APIHealth.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/AbstractOpenApiSchema.java b/src/main/java/io/github/vrchatapi/model/AbstractOpenApiSchema.java index fc9307e1..6e162150 100644 --- a/src/main/java/io/github/vrchatapi/model/AbstractOpenApiSchema.java +++ b/src/main/java/io/github/vrchatapi/model/AbstractOpenApiSchema.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/AccountDeletionLog.java b/src/main/java/io/github/vrchatapi/model/AccountDeletionLog.java index da63d343..2ae7f034 100644 --- a/src/main/java/io/github/vrchatapi/model/AccountDeletionLog.java +++ b/src/main/java/io/github/vrchatapi/model/AccountDeletionLog.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/AddFavoriteRequest.java b/src/main/java/io/github/vrchatapi/model/AddFavoriteRequest.java index 2b99b1e9..68e32398 100644 --- a/src/main/java/io/github/vrchatapi/model/AddFavoriteRequest.java +++ b/src/main/java/io/github/vrchatapi/model/AddFavoriteRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/AddGroupGalleryImageRequest.java b/src/main/java/io/github/vrchatapi/model/AddGroupGalleryImageRequest.java index 8b95d8b7..468b1d40 100644 --- a/src/main/java/io/github/vrchatapi/model/AddGroupGalleryImageRequest.java +++ b/src/main/java/io/github/vrchatapi/model/AddGroupGalleryImageRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Avatar.java b/src/main/java/io/github/vrchatapi/model/Avatar.java index a5a375e8..3455fcf1 100644 --- a/src/main/java/io/github/vrchatapi/model/Avatar.java +++ b/src/main/java/io/github/vrchatapi/model/Avatar.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/AvatarUnityPackageUrlObject.java b/src/main/java/io/github/vrchatapi/model/AvatarUnityPackageUrlObject.java index fd409e46..9118baf3 100644 --- a/src/main/java/io/github/vrchatapi/model/AvatarUnityPackageUrlObject.java +++ b/src/main/java/io/github/vrchatapi/model/AvatarUnityPackageUrlObject.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Badge.java b/src/main/java/io/github/vrchatapi/model/Badge.java index 8534535c..7b2d1eed 100644 --- a/src/main/java/io/github/vrchatapi/model/Badge.java +++ b/src/main/java/io/github/vrchatapi/model/Badge.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/BanGroupMemberRequest.java b/src/main/java/io/github/vrchatapi/model/BanGroupMemberRequest.java index c240ccfe..4e65fce7 100644 --- a/src/main/java/io/github/vrchatapi/model/BanGroupMemberRequest.java +++ b/src/main/java/io/github/vrchatapi/model/BanGroupMemberRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CreateAvatarRequest.java b/src/main/java/io/github/vrchatapi/model/CreateAvatarRequest.java index 8e406adf..ef686843 100644 --- a/src/main/java/io/github/vrchatapi/model/CreateAvatarRequest.java +++ b/src/main/java/io/github/vrchatapi/model/CreateAvatarRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CreateFileRequest.java b/src/main/java/io/github/vrchatapi/model/CreateFileRequest.java index 0e7255b2..64e7a4fd 100644 --- a/src/main/java/io/github/vrchatapi/model/CreateFileRequest.java +++ b/src/main/java/io/github/vrchatapi/model/CreateFileRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CreateFileVersionRequest.java b/src/main/java/io/github/vrchatapi/model/CreateFileVersionRequest.java index b82d6afd..c75e127d 100644 --- a/src/main/java/io/github/vrchatapi/model/CreateFileVersionRequest.java +++ b/src/main/java/io/github/vrchatapi/model/CreateFileVersionRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CreateGroupAnnouncementRequest.java b/src/main/java/io/github/vrchatapi/model/CreateGroupAnnouncementRequest.java index c1d2870d..217386d6 100644 --- a/src/main/java/io/github/vrchatapi/model/CreateGroupAnnouncementRequest.java +++ b/src/main/java/io/github/vrchatapi/model/CreateGroupAnnouncementRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CreateGroupGalleryRequest.java b/src/main/java/io/github/vrchatapi/model/CreateGroupGalleryRequest.java index 2643f622..ec33b72a 100644 --- a/src/main/java/io/github/vrchatapi/model/CreateGroupGalleryRequest.java +++ b/src/main/java/io/github/vrchatapi/model/CreateGroupGalleryRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CreateGroupInviteRequest.java b/src/main/java/io/github/vrchatapi/model/CreateGroupInviteRequest.java index 78fc2fc5..6079badb 100644 --- a/src/main/java/io/github/vrchatapi/model/CreateGroupInviteRequest.java +++ b/src/main/java/io/github/vrchatapi/model/CreateGroupInviteRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CreateGroupPostRequest.java b/src/main/java/io/github/vrchatapi/model/CreateGroupPostRequest.java index ad1d5f84..0cbb1beb 100644 --- a/src/main/java/io/github/vrchatapi/model/CreateGroupPostRequest.java +++ b/src/main/java/io/github/vrchatapi/model/CreateGroupPostRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CreateGroupRequest.java b/src/main/java/io/github/vrchatapi/model/CreateGroupRequest.java index 54aa6bf8..17698ca6 100644 --- a/src/main/java/io/github/vrchatapi/model/CreateGroupRequest.java +++ b/src/main/java/io/github/vrchatapi/model/CreateGroupRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CreateGroupRoleRequest.java b/src/main/java/io/github/vrchatapi/model/CreateGroupRoleRequest.java index 68100f93..58153237 100644 --- a/src/main/java/io/github/vrchatapi/model/CreateGroupRoleRequest.java +++ b/src/main/java/io/github/vrchatapi/model/CreateGroupRoleRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CreateInstanceRequest.java b/src/main/java/io/github/vrchatapi/model/CreateInstanceRequest.java index 3dda0bbb..85487063 100644 --- a/src/main/java/io/github/vrchatapi/model/CreateInstanceRequest.java +++ b/src/main/java/io/github/vrchatapi/model/CreateInstanceRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CreateWorldRequest.java b/src/main/java/io/github/vrchatapi/model/CreateWorldRequest.java index a167ae29..25e56d94 100644 --- a/src/main/java/io/github/vrchatapi/model/CreateWorldRequest.java +++ b/src/main/java/io/github/vrchatapi/model/CreateWorldRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/CurrentUser.java b/src/main/java/io/github/vrchatapi/model/CurrentUser.java index f2a5b377..92aae2ce 100644 --- a/src/main/java/io/github/vrchatapi/model/CurrentUser.java +++ b/src/main/java/io/github/vrchatapi/model/CurrentUser.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -81,6 +81,14 @@ public class CurrentUser { @SerializedName(SERIALIZED_NAME_ACTIVE_FRIENDS) private List activeFriends = null; + public static final String SERIALIZED_NAME_AGE_VERIFICATION_STATUS = "ageVerificationStatus"; + @SerializedName(SERIALIZED_NAME_AGE_VERIFICATION_STATUS) + private String ageVerificationStatus; + + public static final String SERIALIZED_NAME_AGE_VERIFIED = "ageVerified"; + @SerializedName(SERIALIZED_NAME_AGE_VERIFIED) + private Boolean ageVerified; + public static final String SERIALIZED_NAME_ALLOW_AVATAR_COPYING = "allowAvatarCopying"; @SerializedName(SERIALIZED_NAME_ALLOW_AVATAR_COPYING) private Boolean allowAvatarCopying; @@ -185,6 +193,10 @@ public class CurrentUser { @SerializedName(SERIALIZED_NAME_ID) private String id; + public static final String SERIALIZED_NAME_IS_ADULT = "isAdult"; + @SerializedName(SERIALIZED_NAME_IS_ADULT) + private Boolean isAdult; + public static final String SERIALIZED_NAME_IS_BOOPING_ENABLED = "isBoopingEnabled"; @SerializedName(SERIALIZED_NAME_IS_BOOPING_ENABLED) private Boolean isBoopingEnabled = true; @@ -465,6 +477,52 @@ public void setActiveFriends(List activeFriends) { } + public CurrentUser ageVerificationStatus(String ageVerificationStatus) { + + this.ageVerificationStatus = ageVerificationStatus; + return this; + } + + /** + * Get ageVerificationStatus + * @return ageVerificationStatus + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getAgeVerificationStatus() { + return ageVerificationStatus; + } + + + public void setAgeVerificationStatus(String ageVerificationStatus) { + this.ageVerificationStatus = ageVerificationStatus; + } + + + public CurrentUser ageVerified(Boolean ageVerified) { + + this.ageVerified = ageVerified; + return this; + } + + /** + * Get ageVerified + * @return ageVerified + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getAgeVerified() { + return ageVerified; + } + + + public void setAgeVerified(Boolean ageVerified) { + this.ageVerified = ageVerified; + } + + public CurrentUser allowAvatarCopying(Boolean allowAvatarCopying) { this.allowAvatarCopying = allowAvatarCopying; @@ -1093,6 +1151,29 @@ public void setId(String id) { } + public CurrentUser isAdult(Boolean isAdult) { + + this.isAdult = isAdult; + return this; + } + + /** + * Get isAdult + * @return isAdult + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getIsAdult() { + return isAdult; + } + + + public void setIsAdult(Boolean isAdult) { + this.isAdult = isAdult; + } + + public CurrentUser isBoopingEnabled(Boolean isBoopingEnabled) { this.isBoopingEnabled = isBoopingEnabled; @@ -1969,6 +2050,8 @@ public boolean equals(Object o) { Objects.equals(this.accountDeletionDate, currentUser.accountDeletionDate) && Objects.equals(this.accountDeletionLog, currentUser.accountDeletionLog) && Objects.equals(this.activeFriends, currentUser.activeFriends) && + Objects.equals(this.ageVerificationStatus, currentUser.ageVerificationStatus) && + Objects.equals(this.ageVerified, currentUser.ageVerified) && Objects.equals(this.allowAvatarCopying, currentUser.allowAvatarCopying) && Objects.equals(this.badges, currentUser.badges) && Objects.equals(this.bio, currentUser.bio) && @@ -1995,6 +2078,7 @@ public boolean equals(Object o) { Objects.equals(this.hasPendingEmail, currentUser.hasPendingEmail) && Objects.equals(this.homeLocation, currentUser.homeLocation) && Objects.equals(this.id, currentUser.id) && + Objects.equals(this.isAdult, currentUser.isAdult) && Objects.equals(this.isBoopingEnabled, currentUser.isBoopingEnabled) && Objects.equals(this.isFriend, currentUser.isFriend) && Objects.equals(this.lastActivity, currentUser.lastActivity) && @@ -2039,7 +2123,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(acceptedTOSVersion, acceptedPrivacyVersion, accountDeletionDate, accountDeletionLog, activeFriends, allowAvatarCopying, badges, bio, bioLinks, currentAvatar, currentAvatarAssetUrl, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, currentAvatarTags, dateJoined, developerType, displayName, emailVerified, fallbackAvatar, friendGroupNames, friendKey, friends, hasBirthday, hideContentFilterSettings, userLanguage, userLanguageCode, hasEmail, hasLoggedInFromClient, hasPendingEmail, homeLocation, id, isBoopingEnabled, isFriend, lastActivity, lastLogin, lastMobile, lastPlatform, obfuscatedEmail, obfuscatedPendingEmail, oculusId, googleId, googleDetails, picoId, viveId, offlineFriends, onlineFriends, pastDisplayNames, presence, profilePicOverride, profilePicOverrideThumbnail, pronouns, queuedInstance, receiveMobileInvitations, state, status, statusDescription, statusFirstTime, statusHistory, steamDetails, steamId, tags, twoFactorAuthEnabled, twoFactorAuthEnabledDate, unsubscribe, updatedAt, userIcon, username); + return Objects.hash(acceptedTOSVersion, acceptedPrivacyVersion, accountDeletionDate, accountDeletionLog, activeFriends, ageVerificationStatus, ageVerified, allowAvatarCopying, badges, bio, bioLinks, currentAvatar, currentAvatarAssetUrl, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, currentAvatarTags, dateJoined, developerType, displayName, emailVerified, fallbackAvatar, friendGroupNames, friendKey, friends, hasBirthday, hideContentFilterSettings, userLanguage, userLanguageCode, hasEmail, hasLoggedInFromClient, hasPendingEmail, homeLocation, id, isAdult, isBoopingEnabled, isFriend, lastActivity, lastLogin, lastMobile, lastPlatform, obfuscatedEmail, obfuscatedPendingEmail, oculusId, googleId, googleDetails, picoId, viveId, offlineFriends, onlineFriends, pastDisplayNames, presence, profilePicOverride, profilePicOverrideThumbnail, pronouns, queuedInstance, receiveMobileInvitations, state, status, statusDescription, statusFirstTime, statusHistory, steamDetails, steamId, tags, twoFactorAuthEnabled, twoFactorAuthEnabledDate, unsubscribe, updatedAt, userIcon, username); } private static int hashCodeNullable(JsonNullable a) { @@ -2058,6 +2142,8 @@ public String toString() { sb.append(" accountDeletionDate: ").append(toIndentedString(accountDeletionDate)).append("\n"); sb.append(" accountDeletionLog: ").append(toIndentedString(accountDeletionLog)).append("\n"); sb.append(" activeFriends: ").append(toIndentedString(activeFriends)).append("\n"); + sb.append(" ageVerificationStatus: ").append(toIndentedString(ageVerificationStatus)).append("\n"); + sb.append(" ageVerified: ").append(toIndentedString(ageVerified)).append("\n"); sb.append(" allowAvatarCopying: ").append(toIndentedString(allowAvatarCopying)).append("\n"); sb.append(" badges: ").append(toIndentedString(badges)).append("\n"); sb.append(" bio: ").append(toIndentedString(bio)).append("\n"); @@ -2084,6 +2170,7 @@ public String toString() { sb.append(" hasPendingEmail: ").append(toIndentedString(hasPendingEmail)).append("\n"); sb.append(" homeLocation: ").append(toIndentedString(homeLocation)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" isAdult: ").append(toIndentedString(isAdult)).append("\n"); sb.append(" isBoopingEnabled: ").append(toIndentedString(isBoopingEnabled)).append("\n"); sb.append(" isFriend: ").append(toIndentedString(isFriend)).append("\n"); sb.append(" lastActivity: ").append(toIndentedString(lastActivity)).append("\n"); @@ -2147,6 +2234,8 @@ private String toIndentedString(Object o) { openapiFields.add("accountDeletionDate"); openapiFields.add("accountDeletionLog"); openapiFields.add("activeFriends"); + openapiFields.add("ageVerificationStatus"); + openapiFields.add("ageVerified"); openapiFields.add("allowAvatarCopying"); openapiFields.add("badges"); openapiFields.add("bio"); @@ -2173,6 +2262,7 @@ private String toIndentedString(Object o) { openapiFields.add("hasPendingEmail"); openapiFields.add("homeLocation"); openapiFields.add("id"); + openapiFields.add("isAdult"); openapiFields.add("isBoopingEnabled"); openapiFields.add("isFriend"); openapiFields.add("last_activity"); @@ -2213,6 +2303,8 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); openapiRequiredFields.add("acceptedTOSVersion"); + openapiRequiredFields.add("ageVerificationStatus"); + openapiRequiredFields.add("ageVerified"); openapiRequiredFields.add("allowAvatarCopying"); openapiRequiredFields.add("bio"); openapiRequiredFields.add("bioLinks"); @@ -2234,6 +2326,7 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("hasPendingEmail"); openapiRequiredFields.add("homeLocation"); openapiRequiredFields.add("id"); + openapiRequiredFields.add("isAdult"); openapiRequiredFields.add("isFriend"); openapiRequiredFields.add("last_login"); openapiRequiredFields.add("last_mobile"); @@ -2303,6 +2396,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj.get("activeFriends") != null && !jsonObj.get("activeFriends").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `activeFriends` to be an array in the JSON string but got `%s`", jsonObj.get("activeFriends").toString())); } + if (!jsonObj.get("ageVerificationStatus").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ageVerificationStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ageVerificationStatus").toString())); + } if (jsonObj.get("badges") != null && !jsonObj.get("badges").isJsonNull()) { JsonArray jsonArraybadges = jsonObj.getAsJsonArray("badges"); if (jsonArraybadges != null) { diff --git a/src/main/java/io/github/vrchatapi/model/CurrentUserPresence.java b/src/main/java/io/github/vrchatapi/model/CurrentUserPresence.java index f3b298d4..5f3b4365 100644 --- a/src/main/java/io/github/vrchatapi/model/CurrentUserPresence.java +++ b/src/main/java/io/github/vrchatapi/model/CurrentUserPresence.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/DeploymentGroup.java b/src/main/java/io/github/vrchatapi/model/DeploymentGroup.java index a5460301..9aef9283 100644 --- a/src/main/java/io/github/vrchatapi/model/DeploymentGroup.java +++ b/src/main/java/io/github/vrchatapi/model/DeploymentGroup.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/DeveloperType.java b/src/main/java/io/github/vrchatapi/model/DeveloperType.java index bfc75784..54633c50 100644 --- a/src/main/java/io/github/vrchatapi/model/DeveloperType.java +++ b/src/main/java/io/github/vrchatapi/model/DeveloperType.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/DynamicContentRow.java b/src/main/java/io/github/vrchatapi/model/DynamicContentRow.java index feb3b529..69beb61f 100644 --- a/src/main/java/io/github/vrchatapi/model/DynamicContentRow.java +++ b/src/main/java/io/github/vrchatapi/model/DynamicContentRow.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Error.java b/src/main/java/io/github/vrchatapi/model/Error.java index 3b0013a4..5a519a24 100644 --- a/src/main/java/io/github/vrchatapi/model/Error.java +++ b/src/main/java/io/github/vrchatapi/model/Error.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Favorite.java b/src/main/java/io/github/vrchatapi/model/Favorite.java index 71e41245..58cb637c 100644 --- a/src/main/java/io/github/vrchatapi/model/Favorite.java +++ b/src/main/java/io/github/vrchatapi/model/Favorite.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/FavoriteGroup.java b/src/main/java/io/github/vrchatapi/model/FavoriteGroup.java index 7a244c21..7240fa2b 100644 --- a/src/main/java/io/github/vrchatapi/model/FavoriteGroup.java +++ b/src/main/java/io/github/vrchatapi/model/FavoriteGroup.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/FavoriteGroupVisibility.java b/src/main/java/io/github/vrchatapi/model/FavoriteGroupVisibility.java index c5645988..5f7788ee 100644 --- a/src/main/java/io/github/vrchatapi/model/FavoriteGroupVisibility.java +++ b/src/main/java/io/github/vrchatapi/model/FavoriteGroupVisibility.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/FavoriteType.java b/src/main/java/io/github/vrchatapi/model/FavoriteType.java index eff9ff3e..2bf0f455 100644 --- a/src/main/java/io/github/vrchatapi/model/FavoriteType.java +++ b/src/main/java/io/github/vrchatapi/model/FavoriteType.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/FavoritedWorld.java b/src/main/java/io/github/vrchatapi/model/FavoritedWorld.java index b501a15b..c13e5e1f 100644 --- a/src/main/java/io/github/vrchatapi/model/FavoritedWorld.java +++ b/src/main/java/io/github/vrchatapi/model/FavoritedWorld.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -160,6 +160,10 @@ public class FavoritedWorld { @SerializedName(SERIALIZED_NAME_UPDATED_AT) private OffsetDateTime updatedAt; + public static final String SERIALIZED_NAME_URL_LIST = "urlList"; + @SerializedName(SERIALIZED_NAME_URL_LIST) + private List urlList = new ArrayList<>(); + public static final String SERIALIZED_NAME_UDON_PRODUCTS = "udonProducts"; @SerializedName(SERIALIZED_NAME_UDON_PRODUCTS) private List udonProducts = null; @@ -784,6 +788,34 @@ public void setUpdatedAt(OffsetDateTime updatedAt) { } + public FavoritedWorld urlList(List urlList) { + + this.urlList = urlList; + return this; + } + + public FavoritedWorld addUrlListItem(String urlListItem) { + this.urlList.add(urlListItem); + return this; + } + + /** + * Get urlList + * @return urlList + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getUrlList() { + return urlList; + } + + + public void setUrlList(List urlList) { + this.urlList = urlList; + } + + public FavoritedWorld udonProducts(List udonProducts) { this.udonProducts = udonProducts; @@ -875,6 +907,7 @@ public boolean equals(Object o) { Objects.equals(this.thumbnailImageUrl, favoritedWorld.thumbnailImageUrl) && Objects.equals(this.unityPackages, favoritedWorld.unityPackages) && Objects.equals(this.updatedAt, favoritedWorld.updatedAt) && + Objects.equals(this.urlList, favoritedWorld.urlList) && Objects.equals(this.udonProducts, favoritedWorld.udonProducts) && Objects.equals(this.version, favoritedWorld.version); } @@ -885,7 +918,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(authorId, authorName, capacity, description, recommendedCapacity, createdAt, favorites, favoriteGroup, favoriteId, featured, visits, heat, id, imageUrl, labsPublicationDate, name, occupants, organization, popularity, previewYoutubeId, publicationDate, releaseStatus, tags, thumbnailImageUrl, unityPackages, updatedAt, udonProducts, version); + return Objects.hash(authorId, authorName, capacity, description, recommendedCapacity, createdAt, favorites, favoriteGroup, favoriteId, featured, visits, heat, id, imageUrl, labsPublicationDate, name, occupants, organization, popularity, previewYoutubeId, publicationDate, releaseStatus, tags, thumbnailImageUrl, unityPackages, updatedAt, urlList, udonProducts, version); } private static int hashCodeNullable(JsonNullable a) { @@ -925,6 +958,7 @@ public String toString() { sb.append(" thumbnailImageUrl: ").append(toIndentedString(thumbnailImageUrl)).append("\n"); sb.append(" unityPackages: ").append(toIndentedString(unityPackages)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" urlList: ").append(toIndentedString(urlList)).append("\n"); sb.append(" udonProducts: ").append(toIndentedString(udonProducts)).append("\n"); sb.append(" version: ").append(toIndentedString(version)).append("\n"); sb.append("}"); @@ -975,6 +1009,7 @@ private String toIndentedString(Object o) { openapiFields.add("thumbnailImageUrl"); openapiFields.add("unityPackages"); openapiFields.add("updated_at"); + openapiFields.add("urlList"); openapiFields.add("udonProducts"); openapiFields.add("version"); @@ -1003,6 +1038,7 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("thumbnailImageUrl"); openapiRequiredFields.add("unityPackages"); openapiRequiredFields.add("updated_at"); + openapiRequiredFields.add("urlList"); openapiRequiredFields.add("version"); } @@ -1088,6 +1124,12 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { for (int i = 0; i < jsonArrayunityPackages.size(); i++) { UnityPackage.validateJsonObject(jsonArrayunityPackages.get(i).getAsJsonObject()); }; + // ensure the required json array is present + if (jsonObj.get("urlList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("urlList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `urlList` to be an array in the JSON string but got `%s`", jsonObj.get("urlList").toString())); + } // ensure the optional json data is an array if present if (jsonObj.get("udonProducts") != null && !jsonObj.get("udonProducts").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `udonProducts` to be an array in the JSON string but got `%s`", jsonObj.get("udonProducts").toString())); diff --git a/src/main/java/io/github/vrchatapi/model/FileData.java b/src/main/java/io/github/vrchatapi/model/FileData.java index 653d067f..c83e11ae 100644 --- a/src/main/java/io/github/vrchatapi/model/FileData.java +++ b/src/main/java/io/github/vrchatapi/model/FileData.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/FileStatus.java b/src/main/java/io/github/vrchatapi/model/FileStatus.java index 1f1f1188..0b77cf8e 100644 --- a/src/main/java/io/github/vrchatapi/model/FileStatus.java +++ b/src/main/java/io/github/vrchatapi/model/FileStatus.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/FileUploadURL.java b/src/main/java/io/github/vrchatapi/model/FileUploadURL.java index 4cbc24f0..1ff9c194 100644 --- a/src/main/java/io/github/vrchatapi/model/FileUploadURL.java +++ b/src/main/java/io/github/vrchatapi/model/FileUploadURL.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/FileVersion.java b/src/main/java/io/github/vrchatapi/model/FileVersion.java index 9a31db62..5c5866ce 100644 --- a/src/main/java/io/github/vrchatapi/model/FileVersion.java +++ b/src/main/java/io/github/vrchatapi/model/FileVersion.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/FileVersionUploadStatus.java b/src/main/java/io/github/vrchatapi/model/FileVersionUploadStatus.java index c5da52e6..5751d2d8 100644 --- a/src/main/java/io/github/vrchatapi/model/FileVersionUploadStatus.java +++ b/src/main/java/io/github/vrchatapi/model/FileVersionUploadStatus.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/FinishFileDataUploadRequest.java b/src/main/java/io/github/vrchatapi/model/FinishFileDataUploadRequest.java index 65f10fdc..79ca1679 100644 --- a/src/main/java/io/github/vrchatapi/model/FinishFileDataUploadRequest.java +++ b/src/main/java/io/github/vrchatapi/model/FinishFileDataUploadRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/FriendStatus.java b/src/main/java/io/github/vrchatapi/model/FriendStatus.java index 6701964b..f50dcfd4 100644 --- a/src/main/java/io/github/vrchatapi/model/FriendStatus.java +++ b/src/main/java/io/github/vrchatapi/model/FriendStatus.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Group.java b/src/main/java/io/github/vrchatapi/model/Group.java index 4c915466..c48baa3d 100644 --- a/src/main/java/io/github/vrchatapi/model/Group.java +++ b/src/main/java/io/github/vrchatapi/model/Group.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupAccessType.java b/src/main/java/io/github/vrchatapi/model/GroupAccessType.java index 7f062a51..a00ddc6d 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupAccessType.java +++ b/src/main/java/io/github/vrchatapi/model/GroupAccessType.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupAnnouncement.java b/src/main/java/io/github/vrchatapi/model/GroupAnnouncement.java index 2d4288f1..669ce530 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupAnnouncement.java +++ b/src/main/java/io/github/vrchatapi/model/GroupAnnouncement.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupAuditLogEntry.java b/src/main/java/io/github/vrchatapi/model/GroupAuditLogEntry.java index aecc3a42..7146e7cf 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupAuditLogEntry.java +++ b/src/main/java/io/github/vrchatapi/model/GroupAuditLogEntry.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupGallery.java b/src/main/java/io/github/vrchatapi/model/GroupGallery.java index 6cf5c09f..9bba55fe 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupGallery.java +++ b/src/main/java/io/github/vrchatapi/model/GroupGallery.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupGalleryImage.java b/src/main/java/io/github/vrchatapi/model/GroupGalleryImage.java index dabbadd9..563afba2 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupGalleryImage.java +++ b/src/main/java/io/github/vrchatapi/model/GroupGalleryImage.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupInstance.java b/src/main/java/io/github/vrchatapi/model/GroupInstance.java index bf30fafd..0a4897bd 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupInstance.java +++ b/src/main/java/io/github/vrchatapi/model/GroupInstance.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupJoinRequestAction.java b/src/main/java/io/github/vrchatapi/model/GroupJoinRequestAction.java index 5f52c060..c2cdf9a6 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupJoinRequestAction.java +++ b/src/main/java/io/github/vrchatapi/model/GroupJoinRequestAction.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupJoinState.java b/src/main/java/io/github/vrchatapi/model/GroupJoinState.java index d0c8833b..108d93a1 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupJoinState.java +++ b/src/main/java/io/github/vrchatapi/model/GroupJoinState.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupLimitedMember.java b/src/main/java/io/github/vrchatapi/model/GroupLimitedMember.java index c63d3b53..2a8015fa 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupLimitedMember.java +++ b/src/main/java/io/github/vrchatapi/model/GroupLimitedMember.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupMember.java b/src/main/java/io/github/vrchatapi/model/GroupMember.java index dc4b2483..0d521312 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupMember.java +++ b/src/main/java/io/github/vrchatapi/model/GroupMember.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupMemberLimitedUser.java b/src/main/java/io/github/vrchatapi/model/GroupMemberLimitedUser.java index cfc04b9b..37ac6076 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupMemberLimitedUser.java +++ b/src/main/java/io/github/vrchatapi/model/GroupMemberLimitedUser.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupMemberStatus.java b/src/main/java/io/github/vrchatapi/model/GroupMemberStatus.java index 6c3f31f2..d3d2b061 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupMemberStatus.java +++ b/src/main/java/io/github/vrchatapi/model/GroupMemberStatus.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupMyMember.java b/src/main/java/io/github/vrchatapi/model/GroupMyMember.java index cc43be61..12a00697 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupMyMember.java +++ b/src/main/java/io/github/vrchatapi/model/GroupMyMember.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupPermission.java b/src/main/java/io/github/vrchatapi/model/GroupPermission.java index a600269d..c19b6ebe 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupPermission.java +++ b/src/main/java/io/github/vrchatapi/model/GroupPermission.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupPost.java b/src/main/java/io/github/vrchatapi/model/GroupPost.java index c62ddce1..ae4a69ee 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupPost.java +++ b/src/main/java/io/github/vrchatapi/model/GroupPost.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupPostVisibility.java b/src/main/java/io/github/vrchatapi/model/GroupPostVisibility.java index e2941136..573df905 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupPostVisibility.java +++ b/src/main/java/io/github/vrchatapi/model/GroupPostVisibility.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupPrivacy.java b/src/main/java/io/github/vrchatapi/model/GroupPrivacy.java index 0d6f03ae..32ed6383 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupPrivacy.java +++ b/src/main/java/io/github/vrchatapi/model/GroupPrivacy.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupRole.java b/src/main/java/io/github/vrchatapi/model/GroupRole.java index 533b1f0c..0d129e8d 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupRole.java +++ b/src/main/java/io/github/vrchatapi/model/GroupRole.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupRoleTemplate.java b/src/main/java/io/github/vrchatapi/model/GroupRoleTemplate.java index 93bbe88c..331e89af 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupRoleTemplate.java +++ b/src/main/java/io/github/vrchatapi/model/GroupRoleTemplate.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupSearchSort.java b/src/main/java/io/github/vrchatapi/model/GroupSearchSort.java index d708c932..c4202dd2 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupSearchSort.java +++ b/src/main/java/io/github/vrchatapi/model/GroupSearchSort.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/GroupUserVisibility.java b/src/main/java/io/github/vrchatapi/model/GroupUserVisibility.java index 76428d88..50720e7b 100644 --- a/src/main/java/io/github/vrchatapi/model/GroupUserVisibility.java +++ b/src/main/java/io/github/vrchatapi/model/GroupUserVisibility.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InfoPush.java b/src/main/java/io/github/vrchatapi/model/InfoPush.java index 2592c55b..8ccb09d1 100644 --- a/src/main/java/io/github/vrchatapi/model/InfoPush.java +++ b/src/main/java/io/github/vrchatapi/model/InfoPush.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InfoPushData.java b/src/main/java/io/github/vrchatapi/model/InfoPushData.java index 3b601b0b..35c35be3 100644 --- a/src/main/java/io/github/vrchatapi/model/InfoPushData.java +++ b/src/main/java/io/github/vrchatapi/model/InfoPushData.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InfoPushDataArticle.java b/src/main/java/io/github/vrchatapi/model/InfoPushDataArticle.java index bc0f965d..722eafa4 100644 --- a/src/main/java/io/github/vrchatapi/model/InfoPushDataArticle.java +++ b/src/main/java/io/github/vrchatapi/model/InfoPushDataArticle.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InfoPushDataArticleContent.java b/src/main/java/io/github/vrchatapi/model/InfoPushDataArticleContent.java index 767c8aea..c2c9b3c9 100644 --- a/src/main/java/io/github/vrchatapi/model/InfoPushDataArticleContent.java +++ b/src/main/java/io/github/vrchatapi/model/InfoPushDataArticleContent.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InfoPushDataClickable.java b/src/main/java/io/github/vrchatapi/model/InfoPushDataClickable.java index 9a942c77..bcba9587 100644 --- a/src/main/java/io/github/vrchatapi/model/InfoPushDataClickable.java +++ b/src/main/java/io/github/vrchatapi/model/InfoPushDataClickable.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Instance.java b/src/main/java/io/github/vrchatapi/model/Instance.java index 33c2345d..faded68f 100644 --- a/src/main/java/io/github/vrchatapi/model/Instance.java +++ b/src/main/java/io/github/vrchatapi/model/Instance.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -65,6 +65,10 @@ public class Instance { @SerializedName(SERIALIZED_NAME_ACTIVE) private Boolean active = true; + public static final String SERIALIZED_NAME_AGE_GATE = "ageGate"; + @SerializedName(SERIALIZED_NAME_AGE_GATE) + private String ageGate; + public static final String SERIALIZED_NAME_CAN_REQUEST_INVITE = "canRequestInvite"; @SerializedName(SERIALIZED_NAME_CAN_REQUEST_INVITE) private Boolean canRequestInvite = true; @@ -131,7 +135,7 @@ public class Instance { public static final String SERIALIZED_NAME_PLAYER_PERSISTENCE_ENABLED = "playerPersistenceEnabled"; @SerializedName(SERIALIZED_NAME_PLAYER_PERSISTENCE_ENABLED) - private String playerPersistenceEnabled; + private Boolean playerPersistenceEnabled; public static final String SERIALIZED_NAME_REGION = "region"; @SerializedName(SERIALIZED_NAME_REGION) @@ -247,6 +251,29 @@ public void setActive(Boolean active) { } + public Instance ageGate(String ageGate) { + + this.ageGate = ageGate; + return this; + } + + /** + * Get ageGate + * @return ageGate + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getAgeGate() { + return ageGate; + } + + + public void setAgeGate(String ageGate) { + this.ageGate = ageGate; + } + + public Instance canRequestInvite(Boolean canRequestInvite) { this.canRequestInvite = canRequestInvite; @@ -619,7 +646,7 @@ public void setPlatforms(InstancePlatforms platforms) { } - public Instance playerPersistenceEnabled(String playerPersistenceEnabled) { + public Instance playerPersistenceEnabled(Boolean playerPersistenceEnabled) { this.playerPersistenceEnabled = playerPersistenceEnabled; return this; @@ -632,12 +659,12 @@ public Instance playerPersistenceEnabled(String playerPersistenceEnabled) { @javax.annotation.Nullable @ApiModelProperty(required = true, value = "") - public String getPlayerPersistenceEnabled() { + public Boolean getPlayerPersistenceEnabled() { return playerPersistenceEnabled; } - public void setPlayerPersistenceEnabled(String playerPersistenceEnabled) { + public void setPlayerPersistenceEnabled(Boolean playerPersistenceEnabled) { this.playerPersistenceEnabled = playerPersistenceEnabled; } @@ -1175,6 +1202,7 @@ public boolean equals(Object o) { } Instance instance = (Instance) o; return Objects.equals(this.active, instance.active) && + Objects.equals(this.ageGate, instance.ageGate) && Objects.equals(this.canRequestInvite, instance.canRequestInvite) && Objects.equals(this.capacity, instance.capacity) && Objects.equals(this.clientNumber, instance.clientNumber) && @@ -1222,7 +1250,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(active, canRequestInvite, capacity, clientNumber, displayName, full, gameServerVersion, id, instanceId, instancePersistenceEnabled, location, nUsers, name, ownerId, permanent, photonRegion, platforms, playerPersistenceEnabled, region, secureName, shortName, tags, type, worldId, hidden, friends, _private, queueEnabled, queueSize, recommendedCapacity, roleRestricted, strict, userCount, world, users, groupAccessType, hasCapacityForYou, nonce, closedAt, hardClose); + return Objects.hash(active, ageGate, canRequestInvite, capacity, clientNumber, displayName, full, gameServerVersion, id, instanceId, instancePersistenceEnabled, location, nUsers, name, ownerId, permanent, photonRegion, platforms, playerPersistenceEnabled, region, secureName, shortName, tags, type, worldId, hidden, friends, _private, queueEnabled, queueSize, recommendedCapacity, roleRestricted, strict, userCount, world, users, groupAccessType, hasCapacityForYou, nonce, closedAt, hardClose); } private static int hashCodeNullable(JsonNullable a) { @@ -1237,6 +1265,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Instance {\n"); sb.append(" active: ").append(toIndentedString(active)).append("\n"); + sb.append(" ageGate: ").append(toIndentedString(ageGate)).append("\n"); sb.append(" canRequestInvite: ").append(toIndentedString(canRequestInvite)).append("\n"); sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); sb.append(" clientNumber: ").append(toIndentedString(clientNumber)).append("\n"); @@ -1299,6 +1328,7 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("active"); + openapiFields.add("ageGate"); openapiFields.add("canRequestInvite"); openapiFields.add("capacity"); openapiFields.add("clientNumber"); @@ -1398,6 +1428,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } + if ((jsonObj.get("ageGate") != null && !jsonObj.get("ageGate").isJsonNull()) && !jsonObj.get("ageGate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ageGate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ageGate").toString())); + } if (!jsonObj.get("clientNumber").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `clientNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("clientNumber").toString())); } @@ -1424,9 +1457,6 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { } // validate the required field `platforms` InstancePlatforms.validateJsonObject(jsonObj.getAsJsonObject("platforms")); - if (!jsonObj.get("playerPersistenceEnabled").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `playerPersistenceEnabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("playerPersistenceEnabled").toString())); - } if (!jsonObj.get("secureName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `secureName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("secureName").toString())); } diff --git a/src/main/java/io/github/vrchatapi/model/InstancePlatforms.java b/src/main/java/io/github/vrchatapi/model/InstancePlatforms.java index f362daf9..a8c1dfbb 100644 --- a/src/main/java/io/github/vrchatapi/model/InstancePlatforms.java +++ b/src/main/java/io/github/vrchatapi/model/InstancePlatforms.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InstanceRegion.java b/src/main/java/io/github/vrchatapi/model/InstanceRegion.java index 0ab477af..49cb2706 100644 --- a/src/main/java/io/github/vrchatapi/model/InstanceRegion.java +++ b/src/main/java/io/github/vrchatapi/model/InstanceRegion.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InstanceShortNameResponse.java b/src/main/java/io/github/vrchatapi/model/InstanceShortNameResponse.java index fc838fa9..951b8a12 100644 --- a/src/main/java/io/github/vrchatapi/model/InstanceShortNameResponse.java +++ b/src/main/java/io/github/vrchatapi/model/InstanceShortNameResponse.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InstanceType.java b/src/main/java/io/github/vrchatapi/model/InstanceType.java index 299086e3..1189ccb1 100644 --- a/src/main/java/io/github/vrchatapi/model/InstanceType.java +++ b/src/main/java/io/github/vrchatapi/model/InstanceType.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InviteMessage.java b/src/main/java/io/github/vrchatapi/model/InviteMessage.java index e343607a..60d5fc7c 100644 --- a/src/main/java/io/github/vrchatapi/model/InviteMessage.java +++ b/src/main/java/io/github/vrchatapi/model/InviteMessage.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InviteMessageType.java b/src/main/java/io/github/vrchatapi/model/InviteMessageType.java index cf2e16a1..557621b4 100644 --- a/src/main/java/io/github/vrchatapi/model/InviteMessageType.java +++ b/src/main/java/io/github/vrchatapi/model/InviteMessageType.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InviteRequest.java b/src/main/java/io/github/vrchatapi/model/InviteRequest.java index 770789ff..0c0f3974 100644 --- a/src/main/java/io/github/vrchatapi/model/InviteRequest.java +++ b/src/main/java/io/github/vrchatapi/model/InviteRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/InviteResponse.java b/src/main/java/io/github/vrchatapi/model/InviteResponse.java index 487c2f9b..7ff2ccd9 100644 --- a/src/main/java/io/github/vrchatapi/model/InviteResponse.java +++ b/src/main/java/io/github/vrchatapi/model/InviteResponse.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Jam.java b/src/main/java/io/github/vrchatapi/model/Jam.java index bfd20023..838f6e55 100644 --- a/src/main/java/io/github/vrchatapi/model/Jam.java +++ b/src/main/java/io/github/vrchatapi/model/Jam.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/JamStateChangeDates.java b/src/main/java/io/github/vrchatapi/model/JamStateChangeDates.java index ddbd778a..1a243b6e 100644 --- a/src/main/java/io/github/vrchatapi/model/JamStateChangeDates.java +++ b/src/main/java/io/github/vrchatapi/model/JamStateChangeDates.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/License.java b/src/main/java/io/github/vrchatapi/model/License.java index aff085d1..3966e5e1 100644 --- a/src/main/java/io/github/vrchatapi/model/License.java +++ b/src/main/java/io/github/vrchatapi/model/License.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/LicenseAction.java b/src/main/java/io/github/vrchatapi/model/LicenseAction.java index aa7699ae..bc19d193 100644 --- a/src/main/java/io/github/vrchatapi/model/LicenseAction.java +++ b/src/main/java/io/github/vrchatapi/model/LicenseAction.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/LicenseGroup.java b/src/main/java/io/github/vrchatapi/model/LicenseGroup.java index 17ab91aa..6a325bbd 100644 --- a/src/main/java/io/github/vrchatapi/model/LicenseGroup.java +++ b/src/main/java/io/github/vrchatapi/model/LicenseGroup.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/LicenseType.java b/src/main/java/io/github/vrchatapi/model/LicenseType.java index 55da6c1d..e7e3cda9 100644 --- a/src/main/java/io/github/vrchatapi/model/LicenseType.java +++ b/src/main/java/io/github/vrchatapi/model/LicenseType.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/LimitedGroup.java b/src/main/java/io/github/vrchatapi/model/LimitedGroup.java index 2388e615..b76c9649 100644 --- a/src/main/java/io/github/vrchatapi/model/LimitedGroup.java +++ b/src/main/java/io/github/vrchatapi/model/LimitedGroup.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/LimitedUnityPackage.java b/src/main/java/io/github/vrchatapi/model/LimitedUnityPackage.java index da44d38a..b2b06dc5 100644 --- a/src/main/java/io/github/vrchatapi/model/LimitedUnityPackage.java +++ b/src/main/java/io/github/vrchatapi/model/LimitedUnityPackage.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/LimitedUser.java b/src/main/java/io/github/vrchatapi/model/LimitedUser.java index 002167e7..24a8cc73 100644 --- a/src/main/java/io/github/vrchatapi/model/LimitedUser.java +++ b/src/main/java/io/github/vrchatapi/model/LimitedUser.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/LimitedUserGroups.java b/src/main/java/io/github/vrchatapi/model/LimitedUserGroups.java index 34065131..3d55a292 100644 --- a/src/main/java/io/github/vrchatapi/model/LimitedUserGroups.java +++ b/src/main/java/io/github/vrchatapi/model/LimitedUserGroups.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/LimitedWorld.java b/src/main/java/io/github/vrchatapi/model/LimitedWorld.java index e7194449..69902dee 100644 --- a/src/main/java/io/github/vrchatapi/model/LimitedWorld.java +++ b/src/main/java/io/github/vrchatapi/model/LimitedWorld.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/MIMEType.java b/src/main/java/io/github/vrchatapi/model/MIMEType.java index 52325f9f..66093dd9 100644 --- a/src/main/java/io/github/vrchatapi/model/MIMEType.java +++ b/src/main/java/io/github/vrchatapi/model/MIMEType.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/ModelFile.java b/src/main/java/io/github/vrchatapi/model/ModelFile.java index c1889d89..0aa163ff 100644 --- a/src/main/java/io/github/vrchatapi/model/ModelFile.java +++ b/src/main/java/io/github/vrchatapi/model/ModelFile.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/ModerateUserRequest.java b/src/main/java/io/github/vrchatapi/model/ModerateUserRequest.java index e0dc3e3d..d446c5cb 100644 --- a/src/main/java/io/github/vrchatapi/model/ModerateUserRequest.java +++ b/src/main/java/io/github/vrchatapi/model/ModerateUserRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Notification.java b/src/main/java/io/github/vrchatapi/model/Notification.java index 248c329f..3b4e1040 100644 --- a/src/main/java/io/github/vrchatapi/model/Notification.java +++ b/src/main/java/io/github/vrchatapi/model/Notification.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/NotificationDetailInvite.java b/src/main/java/io/github/vrchatapi/model/NotificationDetailInvite.java index cbc9ae5a..21fff51f 100644 --- a/src/main/java/io/github/vrchatapi/model/NotificationDetailInvite.java +++ b/src/main/java/io/github/vrchatapi/model/NotificationDetailInvite.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/NotificationDetailInviteResponse.java b/src/main/java/io/github/vrchatapi/model/NotificationDetailInviteResponse.java index 0ba0a43e..2b747715 100644 --- a/src/main/java/io/github/vrchatapi/model/NotificationDetailInviteResponse.java +++ b/src/main/java/io/github/vrchatapi/model/NotificationDetailInviteResponse.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/NotificationDetailRequestInvite.java b/src/main/java/io/github/vrchatapi/model/NotificationDetailRequestInvite.java index 2977f048..0b108bac 100644 --- a/src/main/java/io/github/vrchatapi/model/NotificationDetailRequestInvite.java +++ b/src/main/java/io/github/vrchatapi/model/NotificationDetailRequestInvite.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/NotificationDetailRequestInviteResponse.java b/src/main/java/io/github/vrchatapi/model/NotificationDetailRequestInviteResponse.java index 2d315bc4..04cdc694 100644 --- a/src/main/java/io/github/vrchatapi/model/NotificationDetailRequestInviteResponse.java +++ b/src/main/java/io/github/vrchatapi/model/NotificationDetailRequestInviteResponse.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/NotificationDetailVoteToKick.java b/src/main/java/io/github/vrchatapi/model/NotificationDetailVoteToKick.java index 59d7462e..d0e3fc74 100644 --- a/src/main/java/io/github/vrchatapi/model/NotificationDetailVoteToKick.java +++ b/src/main/java/io/github/vrchatapi/model/NotificationDetailVoteToKick.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/NotificationType.java b/src/main/java/io/github/vrchatapi/model/NotificationType.java index 1e0b8c12..216400f5 100644 --- a/src/main/java/io/github/vrchatapi/model/NotificationType.java +++ b/src/main/java/io/github/vrchatapi/model/NotificationType.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/OrderOption.java b/src/main/java/io/github/vrchatapi/model/OrderOption.java index 25464914..d3721616 100644 --- a/src/main/java/io/github/vrchatapi/model/OrderOption.java +++ b/src/main/java/io/github/vrchatapi/model/OrderOption.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/PaginatedGroupAuditLogEntryList.java b/src/main/java/io/github/vrchatapi/model/PaginatedGroupAuditLogEntryList.java index dcce98a3..b947481d 100644 --- a/src/main/java/io/github/vrchatapi/model/PaginatedGroupAuditLogEntryList.java +++ b/src/main/java/io/github/vrchatapi/model/PaginatedGroupAuditLogEntryList.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/PastDisplayName.java b/src/main/java/io/github/vrchatapi/model/PastDisplayName.java index 8b21d813..f3e37b4b 100644 --- a/src/main/java/io/github/vrchatapi/model/PastDisplayName.java +++ b/src/main/java/io/github/vrchatapi/model/PastDisplayName.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/PerformanceLimiterInfo.java b/src/main/java/io/github/vrchatapi/model/PerformanceLimiterInfo.java new file mode 100644 index 00000000..5602d921 --- /dev/null +++ b/src/main/java/io/github/vrchatapi/model/PerformanceLimiterInfo.java @@ -0,0 +1,244 @@ +/* + * VRChat API Documentation + * + * The version of the OpenAPI document: 1.18.8 + * Contact: vrchatapi.lpv0t@aries.fyi + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.github.vrchatapi.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import io.github.vrchatapi.JSON; + +/** + * Info about the performance limits on a platform + */ +@ApiModel(description = "Info about the performance limits on a platform") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class PerformanceLimiterInfo { + public static final String SERIALIZED_NAME_ALLOWED = "allowed"; + @SerializedName(SERIALIZED_NAME_ALLOWED) + private Boolean allowed; + + public static final String SERIALIZED_NAME_MAX_SEATS = "maxSeats"; + @SerializedName(SERIALIZED_NAME_MAX_SEATS) + private Integer maxSeats; + + public PerformanceLimiterInfo() { + } + + public PerformanceLimiterInfo allowed(Boolean allowed) { + + this.allowed = allowed; + return this; + } + + /** + * Get allowed + * @return allowed + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getAllowed() { + return allowed; + } + + + public void setAllowed(Boolean allowed) { + this.allowed = allowed; + } + + + public PerformanceLimiterInfo maxSeats(Integer maxSeats) { + + this.maxSeats = maxSeats; + return this; + } + + /** + * Maximum amount of seats. -1 means no limit. + * @return maxSeats + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Maximum amount of seats. -1 means no limit.") + + public Integer getMaxSeats() { + return maxSeats; + } + + + public void setMaxSeats(Integer maxSeats) { + this.maxSeats = maxSeats; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PerformanceLimiterInfo performanceLimiterInfo = (PerformanceLimiterInfo) o; + return Objects.equals(this.allowed, performanceLimiterInfo.allowed) && + Objects.equals(this.maxSeats, performanceLimiterInfo.maxSeats); + } + + @Override + public int hashCode() { + return Objects.hash(allowed, maxSeats); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PerformanceLimiterInfo {\n"); + sb.append(" allowed: ").append(toIndentedString(allowed)).append("\n"); + sb.append(" maxSeats: ").append(toIndentedString(maxSeats)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("allowed"); + openapiFields.add("maxSeats"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("allowed"); + openapiRequiredFields.add("maxSeats"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PerformanceLimiterInfo + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PerformanceLimiterInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PerformanceLimiterInfo is not found in the empty JSON string", PerformanceLimiterInfo.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PerformanceLimiterInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PerformanceLimiterInfo` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PerformanceLimiterInfo.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PerformanceLimiterInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PerformanceLimiterInfo' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PerformanceLimiterInfo.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PerformanceLimiterInfo value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PerformanceLimiterInfo read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PerformanceLimiterInfo given an JSON string + * + * @param jsonString JSON string + * @return An instance of PerformanceLimiterInfo + * @throws IOException if the JSON string is invalid with respect to PerformanceLimiterInfo + */ + public static PerformanceLimiterInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PerformanceLimiterInfo.class); + } + + /** + * Convert an instance of PerformanceLimiterInfo to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/io/github/vrchatapi/model/PerformanceRatings.java b/src/main/java/io/github/vrchatapi/model/PerformanceRatings.java index a124c6a5..faf0d62f 100644 --- a/src/main/java/io/github/vrchatapi/model/PerformanceRatings.java +++ b/src/main/java/io/github/vrchatapi/model/PerformanceRatings.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Permission.java b/src/main/java/io/github/vrchatapi/model/Permission.java index 8ca9bc54..cc7e3965 100644 --- a/src/main/java/io/github/vrchatapi/model/Permission.java +++ b/src/main/java/io/github/vrchatapi/model/Permission.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/PlatformBuildInfo.java b/src/main/java/io/github/vrchatapi/model/PlatformBuildInfo.java index 6fedc08c..e55b75f9 100644 --- a/src/main/java/io/github/vrchatapi/model/PlatformBuildInfo.java +++ b/src/main/java/io/github/vrchatapi/model/PlatformBuildInfo.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/PlayerModeration.java b/src/main/java/io/github/vrchatapi/model/PlayerModeration.java index 3485db30..e1151bfa 100644 --- a/src/main/java/io/github/vrchatapi/model/PlayerModeration.java +++ b/src/main/java/io/github/vrchatapi/model/PlayerModeration.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/PlayerModerationType.java b/src/main/java/io/github/vrchatapi/model/PlayerModerationType.java index e7ad3816..4c0931eb 100644 --- a/src/main/java/io/github/vrchatapi/model/PlayerModerationType.java +++ b/src/main/java/io/github/vrchatapi/model/PlayerModerationType.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Region.java b/src/main/java/io/github/vrchatapi/model/Region.java index 6e993b22..440231fa 100644 --- a/src/main/java/io/github/vrchatapi/model/Region.java +++ b/src/main/java/io/github/vrchatapi/model/Region.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/ReleaseStatus.java b/src/main/java/io/github/vrchatapi/model/ReleaseStatus.java index eb2f6da3..3b2e5f49 100644 --- a/src/main/java/io/github/vrchatapi/model/ReleaseStatus.java +++ b/src/main/java/io/github/vrchatapi/model/ReleaseStatus.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/ReportCategory.java b/src/main/java/io/github/vrchatapi/model/ReportCategory.java index fd9a3582..de340794 100644 --- a/src/main/java/io/github/vrchatapi/model/ReportCategory.java +++ b/src/main/java/io/github/vrchatapi/model/ReportCategory.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/ReportReason.java b/src/main/java/io/github/vrchatapi/model/ReportReason.java index 18868ed5..81021def 100644 --- a/src/main/java/io/github/vrchatapi/model/ReportReason.java +++ b/src/main/java/io/github/vrchatapi/model/ReportReason.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/RepresentedGroup.java b/src/main/java/io/github/vrchatapi/model/RepresentedGroup.java index 560a3f19..d8022a6d 100644 --- a/src/main/java/io/github/vrchatapi/model/RepresentedGroup.java +++ b/src/main/java/io/github/vrchatapi/model/RepresentedGroup.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/RequestInviteRequest.java b/src/main/java/io/github/vrchatapi/model/RequestInviteRequest.java index 778a01cf..a300ab45 100644 --- a/src/main/java/io/github/vrchatapi/model/RequestInviteRequest.java +++ b/src/main/java/io/github/vrchatapi/model/RequestInviteRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/RespondGroupJoinRequest.java b/src/main/java/io/github/vrchatapi/model/RespondGroupJoinRequest.java index 47992aab..b9409329 100644 --- a/src/main/java/io/github/vrchatapi/model/RespondGroupJoinRequest.java +++ b/src/main/java/io/github/vrchatapi/model/RespondGroupJoinRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Response.java b/src/main/java/io/github/vrchatapi/model/Response.java index 382a2fc6..84c092fa 100644 --- a/src/main/java/io/github/vrchatapi/model/Response.java +++ b/src/main/java/io/github/vrchatapi/model/Response.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/SentNotification.java b/src/main/java/io/github/vrchatapi/model/SentNotification.java index 0be03371..37af3026 100644 --- a/src/main/java/io/github/vrchatapi/model/SentNotification.java +++ b/src/main/java/io/github/vrchatapi/model/SentNotification.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/SortOption.java b/src/main/java/io/github/vrchatapi/model/SortOption.java index 9be5c40b..06ac87de 100644 --- a/src/main/java/io/github/vrchatapi/model/SortOption.java +++ b/src/main/java/io/github/vrchatapi/model/SortOption.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Submission.java b/src/main/java/io/github/vrchatapi/model/Submission.java index 8ce50efa..7a0cb554 100644 --- a/src/main/java/io/github/vrchatapi/model/Submission.java +++ b/src/main/java/io/github/vrchatapi/model/Submission.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Subscription.java b/src/main/java/io/github/vrchatapi/model/Subscription.java index ed784ed8..a1f88a4e 100644 --- a/src/main/java/io/github/vrchatapi/model/Subscription.java +++ b/src/main/java/io/github/vrchatapi/model/Subscription.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/SubscriptionPeriod.java b/src/main/java/io/github/vrchatapi/model/SubscriptionPeriod.java index 34e9fc27..79947440 100644 --- a/src/main/java/io/github/vrchatapi/model/SubscriptionPeriod.java +++ b/src/main/java/io/github/vrchatapi/model/SubscriptionPeriod.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Success.java b/src/main/java/io/github/vrchatapi/model/Success.java index 9dd53e97..be5321c2 100644 --- a/src/main/java/io/github/vrchatapi/model/Success.java +++ b/src/main/java/io/github/vrchatapi/model/Success.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Transaction.java b/src/main/java/io/github/vrchatapi/model/Transaction.java index 8c92d3aa..bb1b7868 100644 --- a/src/main/java/io/github/vrchatapi/model/Transaction.java +++ b/src/main/java/io/github/vrchatapi/model/Transaction.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/TransactionAgreement.java b/src/main/java/io/github/vrchatapi/model/TransactionAgreement.java index 25c68ad0..862c9920 100644 --- a/src/main/java/io/github/vrchatapi/model/TransactionAgreement.java +++ b/src/main/java/io/github/vrchatapi/model/TransactionAgreement.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/TransactionStatus.java b/src/main/java/io/github/vrchatapi/model/TransactionStatus.java index 07ff6f0c..23cb0065 100644 --- a/src/main/java/io/github/vrchatapi/model/TransactionStatus.java +++ b/src/main/java/io/github/vrchatapi/model/TransactionStatus.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/TransactionSteamInfo.java b/src/main/java/io/github/vrchatapi/model/TransactionSteamInfo.java index 9d6688cc..07074a9f 100644 --- a/src/main/java/io/github/vrchatapi/model/TransactionSteamInfo.java +++ b/src/main/java/io/github/vrchatapi/model/TransactionSteamInfo.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/TransactionSteamWalletInfo.java b/src/main/java/io/github/vrchatapi/model/TransactionSteamWalletInfo.java index fdc7ab4c..b52515d5 100644 --- a/src/main/java/io/github/vrchatapi/model/TransactionSteamWalletInfo.java +++ b/src/main/java/io/github/vrchatapi/model/TransactionSteamWalletInfo.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/TwoFactorAuthCode.java b/src/main/java/io/github/vrchatapi/model/TwoFactorAuthCode.java index e5ffe4da..d57741ec 100644 --- a/src/main/java/io/github/vrchatapi/model/TwoFactorAuthCode.java +++ b/src/main/java/io/github/vrchatapi/model/TwoFactorAuthCode.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/TwoFactorEmailCode.java b/src/main/java/io/github/vrchatapi/model/TwoFactorEmailCode.java index 41775f01..4ad8b8a8 100644 --- a/src/main/java/io/github/vrchatapi/model/TwoFactorEmailCode.java +++ b/src/main/java/io/github/vrchatapi/model/TwoFactorEmailCode.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UnityPackage.java b/src/main/java/io/github/vrchatapi/model/UnityPackage.java index de8ac736..0cbe01c8 100644 --- a/src/main/java/io/github/vrchatapi/model/UnityPackage.java +++ b/src/main/java/io/github/vrchatapi/model/UnityPackage.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UpdateAvatarRequest.java b/src/main/java/io/github/vrchatapi/model/UpdateAvatarRequest.java index d073ca9e..a796efa4 100644 --- a/src/main/java/io/github/vrchatapi/model/UpdateAvatarRequest.java +++ b/src/main/java/io/github/vrchatapi/model/UpdateAvatarRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UpdateFavoriteGroupRequest.java b/src/main/java/io/github/vrchatapi/model/UpdateFavoriteGroupRequest.java index 6b204ce0..f263ab72 100644 --- a/src/main/java/io/github/vrchatapi/model/UpdateFavoriteGroupRequest.java +++ b/src/main/java/io/github/vrchatapi/model/UpdateFavoriteGroupRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UpdateGroupGalleryRequest.java b/src/main/java/io/github/vrchatapi/model/UpdateGroupGalleryRequest.java index ff9e84ac..ce7a996d 100644 --- a/src/main/java/io/github/vrchatapi/model/UpdateGroupGalleryRequest.java +++ b/src/main/java/io/github/vrchatapi/model/UpdateGroupGalleryRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UpdateGroupMemberRequest.java b/src/main/java/io/github/vrchatapi/model/UpdateGroupMemberRequest.java index 5c17ea87..811c9940 100644 --- a/src/main/java/io/github/vrchatapi/model/UpdateGroupMemberRequest.java +++ b/src/main/java/io/github/vrchatapi/model/UpdateGroupMemberRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UpdateGroupRequest.java b/src/main/java/io/github/vrchatapi/model/UpdateGroupRequest.java index 95db5f58..75b452e6 100644 --- a/src/main/java/io/github/vrchatapi/model/UpdateGroupRequest.java +++ b/src/main/java/io/github/vrchatapi/model/UpdateGroupRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UpdateGroupRoleRequest.java b/src/main/java/io/github/vrchatapi/model/UpdateGroupRoleRequest.java index f150b542..59ddd528 100644 --- a/src/main/java/io/github/vrchatapi/model/UpdateGroupRoleRequest.java +++ b/src/main/java/io/github/vrchatapi/model/UpdateGroupRoleRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UpdateInviteMessageRequest.java b/src/main/java/io/github/vrchatapi/model/UpdateInviteMessageRequest.java index 012557a8..d9ce7c0b 100644 --- a/src/main/java/io/github/vrchatapi/model/UpdateInviteMessageRequest.java +++ b/src/main/java/io/github/vrchatapi/model/UpdateInviteMessageRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UpdateUserRequest.java b/src/main/java/io/github/vrchatapi/model/UpdateUserRequest.java index 2c425f1d..dc3c0650 100644 --- a/src/main/java/io/github/vrchatapi/model/UpdateUserRequest.java +++ b/src/main/java/io/github/vrchatapi/model/UpdateUserRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UpdateWorldRequest.java b/src/main/java/io/github/vrchatapi/model/UpdateWorldRequest.java index 76bf7e11..9d4101e9 100644 --- a/src/main/java/io/github/vrchatapi/model/UpdateWorldRequest.java +++ b/src/main/java/io/github/vrchatapi/model/UpdateWorldRequest.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/User.java b/src/main/java/io/github/vrchatapi/model/User.java index d6e11523..47ec67a5 100644 --- a/src/main/java/io/github/vrchatapi/model/User.java +++ b/src/main/java/io/github/vrchatapi/model/User.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -57,6 +57,10 @@ */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class User { + public static final String SERIALIZED_NAME_AGE_VERIFICATION_STATUS = "ageVerificationStatus"; + @SerializedName(SERIALIZED_NAME_AGE_VERIFICATION_STATUS) + private String ageVerificationStatus; + public static final String SERIALIZED_NAME_ALLOW_AVATAR_COPYING = "allowAvatarCopying"; @SerializedName(SERIALIZED_NAME_ALLOW_AVATAR_COPYING) private Boolean allowAvatarCopying = true; @@ -200,6 +204,29 @@ public class User { public User() { } + public User ageVerificationStatus(String ageVerificationStatus) { + + this.ageVerificationStatus = ageVerificationStatus; + return this; + } + + /** + * Get ageVerificationStatus + * @return ageVerificationStatus + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getAgeVerificationStatus() { + return ageVerificationStatus; + } + + + public void setAgeVerificationStatus(String ageVerificationStatus) { + this.ageVerificationStatus = ageVerificationStatus; + } + + public User allowAvatarCopying(Boolean allowAvatarCopying) { this.allowAvatarCopying = allowAvatarCopying; @@ -1040,7 +1067,8 @@ public boolean equals(Object o) { return false; } User user = (User) o; - return Objects.equals(this.allowAvatarCopying, user.allowAvatarCopying) && + return Objects.equals(this.ageVerificationStatus, user.ageVerificationStatus) && + Objects.equals(this.allowAvatarCopying, user.allowAvatarCopying) && Objects.equals(this.badges, user.badges) && Objects.equals(this.bio, user.bio) && Objects.equals(this.bioLinks, user.bioLinks) && @@ -1083,7 +1111,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(allowAvatarCopying, badges, bio, bioLinks, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, currentAvatarTags, dateJoined, developerType, displayName, friendKey, friendRequestStatus, id, instanceId, isFriend, lastActivity, lastLogin, lastMobile, lastPlatform, location, note, platform, profilePicOverride, profilePicOverrideThumbnail, pronouns, state, status, statusDescription, tags, travelingToInstance, travelingToLocation, travelingToWorld, userIcon, username, worldId); + return Objects.hash(ageVerificationStatus, allowAvatarCopying, badges, bio, bioLinks, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, currentAvatarTags, dateJoined, developerType, displayName, friendKey, friendRequestStatus, id, instanceId, isFriend, lastActivity, lastLogin, lastMobile, lastPlatform, location, note, platform, profilePicOverride, profilePicOverrideThumbnail, pronouns, state, status, statusDescription, tags, travelingToInstance, travelingToLocation, travelingToWorld, userIcon, username, worldId); } private static int hashCodeNullable(JsonNullable a) { @@ -1097,6 +1125,7 @@ private static int hashCodeNullable(JsonNullable a) { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class User {\n"); + sb.append(" ageVerificationStatus: ").append(toIndentedString(ageVerificationStatus)).append("\n"); sb.append(" allowAvatarCopying: ").append(toIndentedString(allowAvatarCopying)).append("\n"); sb.append(" badges: ").append(toIndentedString(badges)).append("\n"); sb.append(" bio: ").append(toIndentedString(bio)).append("\n"); @@ -1154,6 +1183,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("ageVerificationStatus"); openapiFields.add("allowAvatarCopying"); openapiFields.add("badges"); openapiFields.add("bio"); @@ -1192,6 +1222,7 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("ageVerificationStatus"); openapiRequiredFields.add("allowAvatarCopying"); openapiRequiredFields.add("bio"); openapiRequiredFields.add("bioLinks"); @@ -1244,6 +1275,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } + if (!jsonObj.get("ageVerificationStatus").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ageVerificationStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ageVerificationStatus").toString())); + } if (jsonObj.get("badges") != null && !jsonObj.get("badges").isJsonNull()) { JsonArray jsonArraybadges = jsonObj.getAsJsonArray("badges"); if (jsonArraybadges != null) { diff --git a/src/main/java/io/github/vrchatapi/model/UserExists.java b/src/main/java/io/github/vrchatapi/model/UserExists.java index f592610d..95e012bc 100644 --- a/src/main/java/io/github/vrchatapi/model/UserExists.java +++ b/src/main/java/io/github/vrchatapi/model/UserExists.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UserState.java b/src/main/java/io/github/vrchatapi/model/UserState.java index 46cb8454..000e4824 100644 --- a/src/main/java/io/github/vrchatapi/model/UserState.java +++ b/src/main/java/io/github/vrchatapi/model/UserState.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UserStatus.java b/src/main/java/io/github/vrchatapi/model/UserStatus.java index fc3047e6..6d6622cb 100644 --- a/src/main/java/io/github/vrchatapi/model/UserStatus.java +++ b/src/main/java/io/github/vrchatapi/model/UserStatus.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/UserSubscription.java b/src/main/java/io/github/vrchatapi/model/UserSubscription.java index 5bead956..b69cd442 100644 --- a/src/main/java/io/github/vrchatapi/model/UserSubscription.java +++ b/src/main/java/io/github/vrchatapi/model/UserSubscription.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Verify2FAEmailCodeResult.java b/src/main/java/io/github/vrchatapi/model/Verify2FAEmailCodeResult.java index 8b5995eb..f6bee143 100644 --- a/src/main/java/io/github/vrchatapi/model/Verify2FAEmailCodeResult.java +++ b/src/main/java/io/github/vrchatapi/model/Verify2FAEmailCodeResult.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/Verify2FAResult.java b/src/main/java/io/github/vrchatapi/model/Verify2FAResult.java index 8a9a7560..f5486452 100644 --- a/src/main/java/io/github/vrchatapi/model/Verify2FAResult.java +++ b/src/main/java/io/github/vrchatapi/model/Verify2FAResult.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/VerifyAuthTokenResult.java b/src/main/java/io/github/vrchatapi/model/VerifyAuthTokenResult.java index f93a0fee..f8ef748a 100644 --- a/src/main/java/io/github/vrchatapi/model/VerifyAuthTokenResult.java +++ b/src/main/java/io/github/vrchatapi/model/VerifyAuthTokenResult.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/World.java b/src/main/java/io/github/vrchatapi/model/World.java index 0fa4cc05..791cd4ad 100644 --- a/src/main/java/io/github/vrchatapi/model/World.java +++ b/src/main/java/io/github/vrchatapi/model/World.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -164,6 +164,10 @@ public class World { @SerializedName(SERIALIZED_NAME_UPDATED_AT) private OffsetDateTime updatedAt; + public static final String SERIALIZED_NAME_URL_LIST = "urlList"; + @SerializedName(SERIALIZED_NAME_URL_LIST) + private List urlList = null; + public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) private Integer version = 0; @@ -827,6 +831,37 @@ public void setUpdatedAt(OffsetDateTime updatedAt) { } + public World urlList(List urlList) { + + this.urlList = urlList; + return this; + } + + public World addUrlListItem(String urlListItem) { + if (this.urlList == null) { + this.urlList = new ArrayList<>(); + } + this.urlList.add(urlListItem); + return this; + } + + /** + * Get urlList + * @return urlList + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getUrlList() { + return urlList; + } + + + public void setUrlList(List urlList) { + this.urlList = urlList; + } + + public World version(Integer version) { this.version = version; @@ -943,6 +978,7 @@ public boolean equals(Object o) { Objects.equals(this.thumbnailImageUrl, world.thumbnailImageUrl) && Objects.equals(this.unityPackages, world.unityPackages) && Objects.equals(this.updatedAt, world.updatedAt) && + Objects.equals(this.urlList, world.urlList) && Objects.equals(this.version, world.version) && Objects.equals(this.visits, world.visits) && Objects.equals(this.udonProducts, world.udonProducts); @@ -954,7 +990,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(authorId, authorName, capacity, recommendedCapacity, createdAt, description, favorites, featured, heat, id, imageUrl, instances, labsPublicationDate, name, namespace, occupants, organization, popularity, previewYoutubeId, privateOccupants, publicOccupants, publicationDate, releaseStatus, tags, thumbnailImageUrl, unityPackages, updatedAt, version, visits, udonProducts); + return Objects.hash(authorId, authorName, capacity, recommendedCapacity, createdAt, description, favorites, featured, heat, id, imageUrl, instances, labsPublicationDate, name, namespace, occupants, organization, popularity, previewYoutubeId, privateOccupants, publicOccupants, publicationDate, releaseStatus, tags, thumbnailImageUrl, unityPackages, updatedAt, urlList, version, visits, udonProducts); } private static int hashCodeNullable(JsonNullable a) { @@ -995,6 +1031,7 @@ public String toString() { sb.append(" thumbnailImageUrl: ").append(toIndentedString(thumbnailImageUrl)).append("\n"); sb.append(" unityPackages: ").append(toIndentedString(unityPackages)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" urlList: ").append(toIndentedString(urlList)).append("\n"); sb.append(" version: ").append(toIndentedString(version)).append("\n"); sb.append(" visits: ").append(toIndentedString(visits)).append("\n"); sb.append(" udonProducts: ").append(toIndentedString(udonProducts)).append("\n"); @@ -1047,6 +1084,7 @@ private String toIndentedString(Object o) { openapiFields.add("thumbnailImageUrl"); openapiFields.add("unityPackages"); openapiFields.add("updated_at"); + openapiFields.add("urlList"); openapiFields.add("version"); openapiFields.add("visits"); openapiFields.add("udonProducts"); @@ -1164,6 +1202,10 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { } } // ensure the optional json data is an array if present + if (jsonObj.get("urlList") != null && !jsonObj.get("urlList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `urlList` to be an array in the JSON string but got `%s`", jsonObj.get("urlList").toString())); + } + // ensure the optional json data is an array if present if (jsonObj.get("udonProducts") != null && !jsonObj.get("udonProducts").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `udonProducts` to be an array in the JSON string but got `%s`", jsonObj.get("udonProducts").toString())); } diff --git a/src/main/java/io/github/vrchatapi/model/WorldMetadata.java b/src/main/java/io/github/vrchatapi/model/WorldMetadata.java index fe733a79..fcfc905f 100644 --- a/src/main/java/io/github/vrchatapi/model/WorldMetadata.java +++ b/src/main/java/io/github/vrchatapi/model/WorldMetadata.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/github/vrchatapi/model/WorldPublishStatus.java b/src/main/java/io/github/vrchatapi/model/WorldPublishStatus.java index 31c7d407..f6aef78b 100644 --- a/src/main/java/io/github/vrchatapi/model/WorldPublishStatus.java +++ b/src/main/java/io/github/vrchatapi/model/WorldPublishStatus.java @@ -1,7 +1,7 @@ /* * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.7 + * The version of the OpenAPI document: 1.18.8 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).