diff --git a/build.gradle b/build.gradle index b71daff1..7c8ff4d8 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.0' +version = '1.18.1' buildscript { repositories { diff --git a/build.sbt b/build.sbt index 72beb1e6..8217ba3e 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.0", + version := "1.18.1", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/docs/APIConfig.md b/docs/APIConfig.md index 9dcabd77..e7029a90 100644 --- a/docs/APIConfig.md +++ b/docs/APIConfig.md @@ -13,28 +13,41 @@ |**address** | **String** | VRChat's office address | | |**announcements** | [**Set<APIConfigAnnouncement>**](APIConfigAnnouncement.md) | Public Announcements | | |**appName** | **String** | Game name | | +|**availableLanguageCodes** | **List<String>** | List of supported Languages | | +|**availableLanguages** | **List<String>** | List of supported Languages | | |**buildVersionTag** | **String** | Build tag of the API server | | |**clientApiKey** | **String** | apiKey to be used for all other requests | | |**clientBPSCeiling** | **Integer** | Unknown | | |**clientDisconnectTimeout** | **Integer** | Unknown | | +|**clientNetDispatchThread** | **Boolean** | Unknown | [optional] | +|**clientNetInThread** | **Boolean** | Unknown | [optional] | +|**clientNetInThread2** | **Boolean** | Unknown | [optional] | +|**clientNetInThreadMobile** | **Boolean** | Unknown | [optional] | +|**clientNetInThreadMobile2** | **Boolean** | Unknown | [optional] | +|**clientNetOutThread** | **Boolean** | Unknown | [optional] | +|**clientNetOutThread2** | **Boolean** | Unknown | [optional] | +|**clientNetOutThreadMobile** | **Boolean** | Unknown | [optional] | +|**clientNetOutThreadMobile2** | **Boolean** | Unknown | [optional] | +|**clientQR** | **Integer** | Unknown | [optional] | |**clientReservedPlayerBPS** | **Integer** | Unknown | | |**clientSentCountAllowance** | **Integer** | Unknown | | |**contactEmail** | **String** | VRChat's contact email | | |**copyrightEmail** | **String** | VRChat's copyright-issues-related email | | +|**currentPrivacyVersion** | **Integer** | Current version number of the Privacy Agreement | [optional] | |**currentTOSVersion** | **Integer** | Current version number of the Terms of Service | | |**defaultAvatar** | **String** | | | |**deploymentGroup** | **DeploymentGroup** | | | -|**devAppVersionStandalone** | **String** | Version number for game development build | | -|**devDownloadLinkWindows** | **String** | Developer Download link | | +|**devLanguageCodes** | **List<String>** | Unknown | [optional] | |**devSdkUrl** | **String** | Link to download the development SDK, use downloadUrls instead | | |**devSdkVersion** | **String** | Version of the development SDK | | -|**devServerVersionStandalone** | **String** | Version number for server development build | | |**disCountdown** | **OffsetDateTime** | Unknown, \"dis\" maybe for disconnect? | | +|**disableAVProInProton** | **Boolean** | Unknown | [optional] | |**disableAvatarCopying** | **Boolean** | Toggles if copying avatars should be disabled | | |**disableAvatarGating** | **Boolean** | Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag | | |**disableCommunityLabs** | **Boolean** | Toggles if the Community Labs should be disabled | | |**disableCommunityLabsPromotion** | **Boolean** | Toggles if promotion out of Community Labs should be disabled | | |**disableEmail** | **Boolean** | Unknown | | +|**disableCaptcha** | **Boolean** | Unknown | [optional] | |**disableEventStream** | **Boolean** | Toggles if Analytics should be disabled. | | |**disableFeedbackGating** | **Boolean** | Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag. | | |**disableFrontendBuilds** | **Boolean** | Unknown, probably toggles compilation of frontend web builds? So internal flag? | | @@ -48,26 +61,23 @@ |**downloadLinkWindows** | **String** | Download link for game on the Oculus Rift website. | | |**downloadUrls** | [**APIConfigDownloadURLList**](APIConfigDownloadURLList.md) | | | |**dynamicWorldRows** | [**Set<DynamicContentRow>**](DynamicContentRow.md) | Array of DynamicWorldRow objects, used by the game to display the list of world rows | | +|**economyPauseEnd** | **String** | Unknown | [optional] | +|**economyPauseStart** | **String** | Unknown | [optional] | +|**economyState** | **Integer** | Unknown | [optional] | |**events** | [**APIConfigEvents**](APIConfigEvents.md) | | | -|**gearDemoRoomId** | **String** | Unknown | | |**homeWorldId** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | | |**homepageRedirectTarget** | **String** | Redirect target if you try to open the base API domain in your browser | | |**hubWorldId** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | | +|**imageHostUrlList** | **List<String>** | A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage). | | |**jobsEmail** | **String** | VRChat's job application email | | -|**messageOfTheDay** | **String** | MOTD | | |**moderationEmail** | **String** | VRChat's moderation related email | | -|**moderationQueryPeriod** | **Integer** | Unknown | | |**notAllowedToSelectAvatarInPrivateWorldMessage** | **String** | Used in-game to notify a user they aren't allowed to select avatars in private worlds | | -|**plugin** | **String** | Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance | | -|**releaseAppVersionStandalone** | **String** | Version number for game release build | | -|**releaseSdkUrl** | **String** | Link to download the release SDK | | -|**releaseSdkVersion** | **String** | Version of the release SDK | | -|**releaseServerVersionStandalone** | **String** | Version number for server release build | | |**sdkDeveloperFaqUrl** | **String** | Link to the developer FAQ | | |**sdkDiscordUrl** | **String** | Link to the official VRChat Discord | | |**sdkNotAllowedToPublishMessage** | **String** | Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet | | |**sdkUnityVersion** | **String** | Unity version supported by the SDK | | |**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 | | |**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. | | @@ -78,15 +88,10 @@ |**uploadAnalysisPercent** | **Integer** | Unknown | | |**urlList** | **List<String>** | List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game | | |**useReliableUdpForVoice** | **Boolean** | Unknown | | -|**userUpdatePeriod** | **Integer** | Unknown | | -|**userVerificationDelay** | **Integer** | Unknown | | -|**userVerificationRetry** | **Integer** | Unknown | | -|**userVerificationTimeout** | **Integer** | Unknown | | |**viveWindowsUrl** | **String** | Download link for game on the Steam website. | | |**whiteListedAssetUrls** | **List<String>** | List of allowed URLs that are allowed to host avatar assets | | -|**worldUpdatePeriod** | **Integer** | Unknown | | -|**playerUrlResolverHash** | **String** | Currently used youtube-dl.exe hash in SHA-256-delimited format | | |**playerUrlResolverVersion** | **String** | Currently used youtube-dl.exe version | | +|**playerUrlResolverSha1** | **String** | Currently used youtube-dl.exe hash in SHA1-delimited format | | diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index 70b2f3d7..1cfa4c37 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -16,7 +16,7 @@ All URIs are relative to *https://vrchat.com/api/1* # **checkUserExists** -> UserExists checkUserExists(email, displayName, userId, excludeUserId) +> UserExists checkUserExists(email, displayName, username, excludeUserId) Check User Exists @@ -39,10 +39,10 @@ public class Example { AuthenticationApi apiInstance = new AuthenticationApi(defaultClient); String email = "email_example"; // String | Filter by email. String displayName = "displayName_example"; // String | Filter by displayName. - String userId = "userId_example"; // String | Filter by UserID. + String username = "username_example"; // String | Filter by Username. String excludeUserId = "excludeUserId_example"; // String | Exclude by UserID. try { - UserExists result = apiInstance.checkUserExists(email, displayName, userId, excludeUserId); + UserExists result = apiInstance.checkUserExists(email, displayName, username, excludeUserId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AuthenticationApi#checkUserExists"); @@ -61,7 +61,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **email** | **String**| Filter by email. | [optional] | | **displayName** | **String**| Filter by displayName. | [optional] | -| **userId** | **String**| Filter by UserID. | [optional] | +| **username** | **String**| Filter by Username. | [optional] | | **excludeUserId** | **String**| Exclude by UserID. | [optional] | ### Return type diff --git a/docs/FileData.md b/docs/FileData.md index 497d3e1e..97c7cd58 100644 --- a/docs/FileData.md +++ b/docs/FileData.md @@ -10,7 +10,7 @@ |------------ | ------------- | ------------- | -------------| |**category** | [**CategoryEnum**](#CategoryEnum) | | | |**fileName** | **String** | | | -|**md5** | **String** | | | +|**md5** | **String** | | [optional] | |**sizeInBytes** | **Integer** | | | |**status** | **FileStatus** | | | |**uploadId** | **String** | | | diff --git a/docs/FilesApi.md b/docs/FilesApi.md index 2c0b6fcd..8aff02ff 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -158,7 +158,7 @@ public class Example { # **deleteFile** -> Success deleteFile(fileId) +> ModelFile deleteFile(fileId) Delete File @@ -188,7 +188,7 @@ public class Example { FilesApi apiInstance = new FilesApi(defaultClient); String fileId = "file_00000000-0000-0000-0000-000000000000"; // String | Must be a valid file ID. try { - Success result = apiInstance.deleteFile(fileId); + ModelFile result = apiInstance.deleteFile(fileId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling FilesApi#deleteFile"); @@ -209,7 +209,7 @@ public class Example { ### Return type -[**Success**](Success.md) +[**ModelFile**](ModelFile.md) ### Authorization @@ -223,7 +223,7 @@ public class Example { ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Successful response after deleting a File. | - | +| **200** | Returns a single File object. | - | | **404** | Error response when trying to delete a non-existent file. | - | @@ -297,7 +297,7 @@ public class Example { |-------------|-------------|------------------| | **200** | Returns a single File object. | - | | **400** | Error response when trying to delete the initial version of a file. Delete the main File object instead. | - | -| **500** | Error response when trying to delete any version of a file that is not hte last one. | - | +| **500** | Error response when trying to delete any version of a file that is not the last one. | - | # **downloadFileVersion** @@ -362,12 +362,13 @@ null (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Raw file | - | +| **404** | Error response when trying to show information about a non-existent file. | - | # **finishFileDataUpload** diff --git a/docs/Group.md b/docs/Group.md index 121c985d..05422346 100644 --- a/docs/Group.md +++ b/docs/Group.md @@ -26,8 +26,11 @@ |**isVerified** | **Boolean** | | [optional] | |**joinState** | **GroupJoinState** | | [optional] | |**tags** | **List<String>** | | [optional] | +|**transferTargetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] | |**galleries** | [**List<GroupGallery>**](GroupGallery.md) | | [optional] | |**createdAt** | **OffsetDateTime** | | [optional] | +|**updatedAt** | **OffsetDateTime** | | [optional] | +|**lastPostCreatedAt** | **OffsetDateTime** | | [optional] | |**onlineMemberCount** | **Integer** | | [optional] | |**membershipStatus** | **GroupMemberStatus** | | [optional] | |**myMember** | [**GroupMyMember**](GroupMyMember.md) | | [optional] | diff --git a/docs/GroupMyMember.md b/docs/GroupMyMember.md index 33485af5..b908d2a8 100644 --- a/docs/GroupMyMember.md +++ b/docs/GroupMyMember.md @@ -11,6 +11,9 @@ |**groupId** | **String** | | [optional] | |**userId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] | |**roleIds** | **List<String>** | | [optional] | +|**acceptedByDisplayName** | **String** | | [optional] | +|**acceptedById** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] | +|**createdAt** | **OffsetDateTime** | | [optional] | |**managerNotes** | **String** | | [optional] | |**membershipStatus** | **String** | | [optional] | |**isSubscribedToAnnouncements** | **Boolean** | | [optional] | @@ -19,6 +22,9 @@ |**joinedAt** | **OffsetDateTime** | | [optional] | |**bannedAt** | **String** | | [optional] | |**has2FA** | **Boolean** | | [optional] | +|**hasJoinedFromPurchase** | **Boolean** | | [optional] | +|**lastPostReadAt** | **OffsetDateTime** | | [optional] | +|**mRoleIds** | **List<String>** | | [optional] | |**permissions** | **List<String>** | | [optional] | diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 9d38b875..6bd54b92 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -1583,6 +1583,7 @@ public class Example { |-------------|-------------|------------------| | **200** | Returns a list of GroupMember objects. | - | | **401** | Error response due to missing auth cookie. | - | +| **403** | Error response due to missing permissions. | - | | **404** | Error response when trying to perform operations on a non-existing group. | - | @@ -1882,6 +1883,7 @@ public class Example { |-------------|-------------|------------------| | **200** | Returns a list of GroupMember objects. | - | | **401** | Error response due to missing auth cookie. | - | +| **403** | Error response when trying to perform operations on a group you are not member of. | - | | **404** | Error response when trying to perform operations on a non-existing group. | - | diff --git a/docs/Permission.md b/docs/Permission.md index 9858b91d..e403bcbc 100644 --- a/docs/Permission.md +++ b/docs/Permission.md @@ -9,6 +9,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**id** | **String** | | | +|**ownerDisplayName** | **String** | | | |**name** | **String** | | | |**ownerId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | | |**data** | **Object** | | [optional] | diff --git a/docs/TransactionAgreement.md b/docs/TransactionAgreement.md index 9cc2ab81..7252228e 100644 --- a/docs/TransactionAgreement.md +++ b/docs/TransactionAgreement.md @@ -2,7 +2,7 @@ # TransactionAgreement - +Represents a single Transaction, which is likely between VRChat and Steam. ## Properties @@ -10,6 +10,7 @@ |------------ | ------------- | ------------- | -------------| |**agreementId** | **String** | | | |**itemId** | **BigDecimal** | | | +|**agreement** | **String** | | | |**status** | **String** | This is NOT TransactionStatus, but whatever Steam return. | | |**period** | **String** | | | |**frequency** | **BigDecimal** | | | diff --git a/docs/UserSubscription.md b/docs/UserSubscription.md index 3203e0d8..eac47f71 100644 --- a/docs/UserSubscription.md +++ b/docs/UserSubscription.md @@ -18,6 +18,7 @@ |**tier** | **BigDecimal** | | | |**active** | **Boolean** | | | |**status** | **TransactionStatus** | | | +|**starts** | **OffsetDateTime** | | [optional] | |**expires** | **OffsetDateTime** | | | |**createdAt** | **OffsetDateTime** | | | |**updatedAt** | **OffsetDateTime** | | | diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md index 8946607a..93345766 100644 --- a/docs/WorldsApi.md +++ b/docs/WorldsApi.md @@ -783,7 +783,7 @@ null (empty response body) # **searchWorlds** -> List<LimitedWorld> searchWorlds(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform) +> List<LimitedWorld> searchWorlds(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, fuzzy) Search All Worlds @@ -825,8 +825,9 @@ public class Example { String maxUnityVersion = "maxUnityVersion_example"; // String | The maximum Unity version supported by the asset. String minUnityVersion = "minUnityVersion_example"; // String | The minimum Unity version supported by the asset. String platform = "platform_example"; // String | The platform the asset supports. + Boolean fuzzy = true; // Boolean | try { - List result = apiInstance.searchWorlds(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform); + List result = apiInstance.searchWorlds(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, fuzzy); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WorldsApi#searchWorlds"); @@ -857,6 +858,7 @@ public class Example { | **maxUnityVersion** | **String**| The maximum Unity version supported by the asset. | [optional] | | **minUnityVersion** | **String**| The minimum Unity version supported by the asset. | [optional] | | **platform** | **String**| The platform the asset supports. | [optional] | +| **fuzzy** | **Boolean**| | [optional] | ### Return type diff --git a/pom.xml b/pom.xml index 8d78dc79..5f0c008e 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ vrchatapi jar vrchatapi - 1.18.0 + 1.18.1 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 4bf3994b..d4de38b0 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 6d188e51..fdfc51c2 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 d61d2912..6403efd0 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 545e5031..50b4fb0b 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 248b41a9..75860590 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 806a8f37..47e4957d 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 3f1a3994..3e3e3da4 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.0 + * The version of the OpenAPI document: 1.18.1 * 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/Pair.java b/src/main/java/io/github/vrchatapi/Pair.java index 1c1eba58..d10e19d5 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 d3cddb62..00d1db90 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 2db9998c..663ed659 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 bb09efc5..ff4178b2 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 b1796db0..7b3b6cd2 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -84,7 +84,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * Build call for checkUserExists * @param email Filter by email. (optional) * @param displayName Filter by displayName. (optional) - * @param userId Filter by UserID. (optional) + * @param username Filter by Username. (optional) * @param excludeUserId Exclude by UserID. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -96,7 +96,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 400 Error response when missing at least 1 of the required parameters. - */ - public okhttp3.Call checkUserExistsCall(String email, String displayName, String userId, String excludeUserId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call checkUserExistsCall(String email, String displayName, String username, String excludeUserId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -129,8 +129,8 @@ public okhttp3.Call checkUserExistsCall(String email, String displayName, String localVarQueryParams.addAll(localVarApiClient.parameterToPair("displayName", displayName)); } - if (userId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + if (username != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("username", username)); } if (excludeUserId != null) { @@ -157,8 +157,8 @@ public okhttp3.Call checkUserExistsCall(String email, String displayName, String } @SuppressWarnings("rawtypes") - private okhttp3.Call checkUserExistsValidateBeforeCall(String email, String displayName, String userId, String excludeUserId, final ApiCallback _callback) throws ApiException { - return checkUserExistsCall(email, displayName, userId, excludeUserId, _callback); + private okhttp3.Call checkUserExistsValidateBeforeCall(String email, String displayName, String username, String excludeUserId, final ApiCallback _callback) throws ApiException { + return checkUserExistsCall(email, displayName, username, excludeUserId, _callback); } @@ -167,7 +167,7 @@ private okhttp3.Call checkUserExistsValidateBeforeCall(String email, String disp * Checks if a user by a given `username`, `displayName` or `email` exist. This is used during registration to check if a username has already been taken, during change of displayName to check if a displayName is available, and during change of email to check if the email is already used. In the later two cases the `excludeUserId` is used to exclude oneself, otherwise the result would always be true. It is **REQUIRED** to include **AT LEAST** `username`, `displayName` **or** `email` query parameter. Although they can be combined - in addition with `excludeUserId` (generally to exclude yourself) - to further fine-tune the search. * @param email Filter by email. (optional) * @param displayName Filter by displayName. (optional) - * @param userId Filter by UserID. (optional) + * @param username Filter by Username. (optional) * @param excludeUserId Exclude by UserID. (optional) * @return UserExists * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -178,8 +178,8 @@ private okhttp3.Call checkUserExistsValidateBeforeCall(String email, String disp 400 Error response when missing at least 1 of the required parameters. - */ - public UserExists checkUserExists(String email, String displayName, String userId, String excludeUserId) throws ApiException { - ApiResponse localVarResp = checkUserExistsWithHttpInfo(email, displayName, userId, excludeUserId); + public UserExists checkUserExists(String email, String displayName, String username, String excludeUserId) throws ApiException { + ApiResponse localVarResp = checkUserExistsWithHttpInfo(email, displayName, username, excludeUserId); return localVarResp.getData(); } @@ -188,7 +188,7 @@ public UserExists checkUserExists(String email, String displayName, String userI * Checks if a user by a given `username`, `displayName` or `email` exist. This is used during registration to check if a username has already been taken, during change of displayName to check if a displayName is available, and during change of email to check if the email is already used. In the later two cases the `excludeUserId` is used to exclude oneself, otherwise the result would always be true. It is **REQUIRED** to include **AT LEAST** `username`, `displayName` **or** `email` query parameter. Although they can be combined - in addition with `excludeUserId` (generally to exclude yourself) - to further fine-tune the search. * @param email Filter by email. (optional) * @param displayName Filter by displayName. (optional) - * @param userId Filter by UserID. (optional) + * @param username Filter by Username. (optional) * @param excludeUserId Exclude by UserID. (optional) * @return ApiResponse<UserExists> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -199,8 +199,8 @@ public UserExists checkUserExists(String email, String displayName, String userI 400 Error response when missing at least 1 of the required parameters. - */ - public ApiResponse checkUserExistsWithHttpInfo(String email, String displayName, String userId, String excludeUserId) throws ApiException { - okhttp3.Call localVarCall = checkUserExistsValidateBeforeCall(email, displayName, userId, excludeUserId, null); + public ApiResponse checkUserExistsWithHttpInfo(String email, String displayName, String username, String excludeUserId) throws ApiException { + okhttp3.Call localVarCall = checkUserExistsValidateBeforeCall(email, displayName, username, excludeUserId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -210,7 +210,7 @@ public ApiResponse checkUserExistsWithHttpInfo(String email, String * Checks if a user by a given `username`, `displayName` or `email` exist. This is used during registration to check if a username has already been taken, during change of displayName to check if a displayName is available, and during change of email to check if the email is already used. In the later two cases the `excludeUserId` is used to exclude oneself, otherwise the result would always be true. It is **REQUIRED** to include **AT LEAST** `username`, `displayName` **or** `email` query parameter. Although they can be combined - in addition with `excludeUserId` (generally to exclude yourself) - to further fine-tune the search. * @param email Filter by email. (optional) * @param displayName Filter by displayName. (optional) - * @param userId Filter by UserID. (optional) + * @param username Filter by Username. (optional) * @param excludeUserId Exclude by UserID. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -222,9 +222,9 @@ public ApiResponse checkUserExistsWithHttpInfo(String email, String 400 Error response when missing at least 1 of the required parameters. - */ - public okhttp3.Call checkUserExistsAsync(String email, String displayName, String userId, String excludeUserId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call checkUserExistsAsync(String email, String displayName, String username, String excludeUserId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = checkUserExistsValidateBeforeCall(email, displayName, userId, excludeUserId, _callback); + okhttp3.Call localVarCall = checkUserExistsValidateBeforeCall(email, displayName, username, excludeUserId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/io/github/vrchatapi/api/AvatarsApi.java b/src/main/java/io/github/vrchatapi/api/AvatarsApi.java index 9dd5bbc4..81bd9888 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 d2c6ae08..ed813cd2 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 5d712636..15035adf 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 f83202e7..c6687b58 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,6 @@ import io.github.vrchatapi.model.FileVersionUploadStatus; import io.github.vrchatapi.model.FinishFileDataUploadRequest; import io.github.vrchatapi.model.ModelFile; -import io.github.vrchatapi.model.Success; import java.lang.reflect.Type; import java.util.ArrayList; @@ -334,7 +333,7 @@ public okhttp3.Call createFileVersionAsync(String fileId, CreateFileVersionReque * @http.response.details - +
Status Code Description Response Headers
200 Successful response after deleting a File. -
200 Returns a single File object. -
404 Error response when trying to delete a non-existent file. -
*/ @@ -398,17 +397,17 @@ private okhttp3.Call deleteFileValidateBeforeCall(String fileId, final ApiCallba * Delete File * Deletes a File object. * @param fileId Must be a valid file ID. (required) - * @return Success + * @return ModelFile * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - +
Status Code Description Response Headers
200 Successful response after deleting a File. -
200 Returns a single File object. -
404 Error response when trying to delete a non-existent file. -
*/ - public Success deleteFile(String fileId) throws ApiException { - ApiResponse localVarResp = deleteFileWithHttpInfo(fileId); + public ModelFile deleteFile(String fileId) throws ApiException { + ApiResponse localVarResp = deleteFileWithHttpInfo(fileId); return localVarResp.getData(); } @@ -416,18 +415,18 @@ public Success deleteFile(String fileId) throws ApiException { * Delete File * Deletes a File object. * @param fileId Must be a valid file ID. (required) - * @return ApiResponse<Success> + * @return ApiResponse<ModelFile> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - +
Status Code Description Response Headers
200 Successful response after deleting a File. -
200 Returns a single File object. -
404 Error response when trying to delete a non-existent file. -
*/ - public ApiResponse deleteFileWithHttpInfo(String fileId) throws ApiException { + public ApiResponse deleteFileWithHttpInfo(String fileId) throws ApiException { okhttp3.Call localVarCall = deleteFileValidateBeforeCall(fileId, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -441,14 +440,14 @@ public ApiResponse deleteFileWithHttpInfo(String fileId) throws ApiExce * @http.response.details - +
Status Code Description Response Headers
200 Successful response after deleting a File. -
200 Returns a single File object. -
404 Error response when trying to delete a non-existent file. -
*/ - public okhttp3.Call deleteFileAsync(String fileId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteFileAsync(String fileId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteFileValidateBeforeCall(fileId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -464,7 +463,7 @@ public okhttp3.Call deleteFileAsync(String fileId, final ApiCallback _c Status Code Description Response Headers 200 Returns a single File object. - 400 Error response when trying to delete the initial version of a file. Delete the main File object instead. - - 500 Error response when trying to delete any version of a file that is not hte last one. - + 500 Error response when trying to delete any version of a file that is not the last one. - */ public okhttp3.Call deleteFileVersionCall(String fileId, Integer versionId, final ApiCallback _callback) throws ApiException { @@ -541,7 +540,7 @@ private okhttp3.Call deleteFileVersionValidateBeforeCall(String fileId, Integer Status Code Description Response Headers 200 Returns a single File object. - 400 Error response when trying to delete the initial version of a file. Delete the main File object instead. - - 500 Error response when trying to delete any version of a file that is not hte last one. - + 500 Error response when trying to delete any version of a file that is not the last one. - */ public ModelFile deleteFileVersion(String fileId, Integer versionId) throws ApiException { @@ -561,7 +560,7 @@ public ModelFile deleteFileVersion(String fileId, Integer versionId) throws ApiE Status Code Description Response Headers 200 Returns a single File object. - 400 Error response when trying to delete the initial version of a file. Delete the main File object instead. - - 500 Error response when trying to delete any version of a file that is not hte last one. - + 500 Error response when trying to delete any version of a file that is not the last one. - */ public ApiResponse deleteFileVersionWithHttpInfo(String fileId, Integer versionId) throws ApiException { @@ -583,7 +582,7 @@ public ApiResponse deleteFileVersionWithHttpInfo(String fileId, Integ Status Code Description Response Headers 200 Returns a single File object. - 400 Error response when trying to delete the initial version of a file. Delete the main File object instead. - - 500 Error response when trying to delete any version of a file that is not hte last one. - + 500 Error response when trying to delete any version of a file that is not the last one. - */ public okhttp3.Call deleteFileVersionAsync(String fileId, Integer versionId, final ApiCallback _callback) throws ApiException { @@ -604,6 +603,7 @@ public okhttp3.Call deleteFileVersionAsync(String fileId, Integer versionId, fin +
Status Code Description Response Headers
200 Raw file -
404 Error response when trying to show information about a non-existent file. -
*/ public okhttp3.Call downloadFileVersionCall(String fileId, Integer versionId, final ApiCallback _callback) throws ApiException { @@ -634,6 +634,7 @@ public okhttp3.Call downloadFileVersionCall(String fileId, Integer versionId, fi Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { + "application/json" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -677,6 +678,7 @@ private okhttp3.Call downloadFileVersionValidateBeforeCall(String fileId, Intege +
Status Code Description Response Headers
200 Raw file -
404 Error response when trying to show information about a non-existent file. -
*/ public void downloadFileVersion(String fileId, Integer versionId) throws ApiException { @@ -694,6 +696,7 @@ public void downloadFileVersion(String fileId, Integer versionId) throws ApiExce +
Status Code Description Response Headers
200 Raw file -
404 Error response when trying to show information about a non-existent file. -
*/ public ApiResponse downloadFileVersionWithHttpInfo(String fileId, Integer versionId) throws ApiException { @@ -713,6 +716,7 @@ public ApiResponse downloadFileVersionWithHttpInfo(String fileId, Integer +
Status Code Description Response Headers
200 Raw file -
404 Error response when trying to show information about a non-existent file. -
*/ public okhttp3.Call downloadFileVersionAsync(String fileId, Integer versionId, final ApiCallback _callback) throws ApiException { diff --git a/src/main/java/io/github/vrchatapi/api/FriendsApi.java b/src/main/java/io/github/vrchatapi/api/FriendsApi.java index 581e686c..ee7ecc18 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 8ce4089d..6ea1273c 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -2933,6 +2933,7 @@ public okhttp3.Call getGroupAuditLogsAsync(String groupId, Integer n, Integer of Status Code Description Response Headers 200 Returns a list of GroupMember objects. - 401 Error response due to missing auth cookie. - + 403 Error response due to missing permissions. - 404 Error response when trying to perform operations on a non-existing group. - */ @@ -3013,6 +3014,7 @@ private okhttp3.Call getGroupBansValidateBeforeCall(String groupId, Integer n, I Status Code Description Response Headers 200 Returns a list of GroupMember objects. - 401 Error response due to missing auth cookie. - + 403 Error response due to missing permissions. - 404 Error response when trying to perform operations on a non-existing group. - */ @@ -3034,6 +3036,7 @@ public List getGroupBans(String groupId, Integer n, Integer offset) Status Code Description Response Headers 200 Returns a list of GroupMember objects. - 401 Error response due to missing auth cookie. - + 403 Error response due to missing permissions. - 404 Error response when trying to perform operations on a non-existing group. - */ @@ -3057,6 +3060,7 @@ public ApiResponse> getGroupBansWithHttpInfo(String groupId, I Status Code Description Response Headers 200 Returns a list of GroupMember objects. - 401 Error response due to missing auth cookie. - + 403 Error response due to missing permissions. - 404 Error response when trying to perform operations on a non-existing group. - */ @@ -3526,6 +3530,7 @@ public okhttp3.Call getGroupInvitesAsync(String groupId, Integer n, Integer offs Status Code Description Response Headers 200 Returns a list of GroupMember objects. - 401 Error response due to missing auth cookie. - + 403 Error response when trying to perform operations on a group you are not member of. - 404 Error response when trying to perform operations on a non-existing group. - */ @@ -3603,6 +3608,7 @@ private okhttp3.Call getGroupMemberValidateBeforeCall(String groupId, String use Status Code Description Response Headers 200 Returns a list of GroupMember objects. - 401 Error response due to missing auth cookie. - + 403 Error response when trying to perform operations on a group you are not member of. - 404 Error response when trying to perform operations on a non-existing group. - */ @@ -3623,6 +3629,7 @@ public GroupLimitedMember getGroupMember(String groupId, String userId) throws A Status Code Description Response Headers 200 Returns a list of GroupMember objects. - 401 Error response due to missing auth cookie. - + 403 Error response when trying to perform operations on a group you are not member of. - 404 Error response when trying to perform operations on a non-existing group. - */ @@ -3645,6 +3652,7 @@ public ApiResponse getGroupMemberWithHttpInfo(String groupId Status Code Description Response Headers 200 Returns a list of GroupMember objects. - 401 Error response due to missing auth cookie. - + 403 Error response when trying to perform operations on a group you are not member of. - 404 Error response when trying to perform operations on a non-existing group. - */ diff --git a/src/main/java/io/github/vrchatapi/api/InstancesApi.java b/src/main/java/io/github/vrchatapi/api/InstancesApi.java index 3db41d18..71b77fe3 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 4ffc465d..37e1e1b6 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 88f3fbcf..76e891ad 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 cbed697c..e01b04db 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 d8c13063..cd9a6d86 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 27cbee3b..9b77468b 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 a8a177e2..9d47412a 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 3c7ed7ea..455ab721 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -1672,6 +1672,7 @@ public okhttp3.Call publishWorldAsync(String worldId, final ApiCallback _c * @param maxUnityVersion The maximum Unity version supported by the asset. (optional) * @param minUnityVersion The minimum Unity version supported by the asset. (optional) * @param platform The platform the asset supports. (optional) + * @param fuzzy (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1682,7 +1683,7 @@ public okhttp3.Call publishWorldAsync(String worldId, final ApiCallback _c 401 Error response due to missing auth cookie. - */ - public okhttp3.Call searchWorldsCall(Boolean featured, SortOption sort, String user, String userId, Integer n, OrderOption order, Integer offset, String search, String tag, String notag, ReleaseStatus releaseStatus, String maxUnityVersion, String minUnityVersion, String platform, final ApiCallback _callback) throws ApiException { + public okhttp3.Call searchWorldsCall(Boolean featured, SortOption sort, String user, String userId, Integer n, OrderOption order, Integer offset, String search, String tag, String notag, ReleaseStatus releaseStatus, String maxUnityVersion, String minUnityVersion, String platform, Boolean fuzzy, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1763,6 +1764,10 @@ public okhttp3.Call searchWorldsCall(Boolean featured, SortOption sort, String u localVarQueryParams.addAll(localVarApiClient.parameterToPair("platform", platform)); } + if (fuzzy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fuzzy", fuzzy)); + } + final String[] localVarAccepts = { "application/json" }; @@ -1783,8 +1788,8 @@ public okhttp3.Call searchWorldsCall(Boolean featured, SortOption sort, String u } @SuppressWarnings("rawtypes") - private okhttp3.Call searchWorldsValidateBeforeCall(Boolean featured, SortOption sort, String user, String userId, Integer n, OrderOption order, Integer offset, String search, String tag, String notag, ReleaseStatus releaseStatus, String maxUnityVersion, String minUnityVersion, String platform, final ApiCallback _callback) throws ApiException { - return searchWorldsCall(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, _callback); + private okhttp3.Call searchWorldsValidateBeforeCall(Boolean featured, SortOption sort, String user, String userId, Integer n, OrderOption order, Integer offset, String search, String tag, String notag, ReleaseStatus releaseStatus, String maxUnityVersion, String minUnityVersion, String platform, Boolean fuzzy, final ApiCallback _callback) throws ApiException { + return searchWorldsCall(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, fuzzy, _callback); } @@ -1805,6 +1810,7 @@ private okhttp3.Call searchWorldsValidateBeforeCall(Boolean featured, SortOption * @param maxUnityVersion The maximum Unity version supported by the asset. (optional) * @param minUnityVersion The minimum Unity version supported by the asset. (optional) * @param platform The platform the asset supports. (optional) + * @param fuzzy (optional) * @return List<LimitedWorld> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1814,8 +1820,8 @@ private okhttp3.Call searchWorldsValidateBeforeCall(Boolean featured, SortOption 401 Error response due to missing auth cookie. - */ - public List searchWorlds(Boolean featured, SortOption sort, String user, String userId, Integer n, OrderOption order, Integer offset, String search, String tag, String notag, ReleaseStatus releaseStatus, String maxUnityVersion, String minUnityVersion, String platform) throws ApiException { - ApiResponse> localVarResp = searchWorldsWithHttpInfo(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform); + public List searchWorlds(Boolean featured, SortOption sort, String user, String userId, Integer n, OrderOption order, Integer offset, String search, String tag, String notag, ReleaseStatus releaseStatus, String maxUnityVersion, String minUnityVersion, String platform, Boolean fuzzy) throws ApiException { + ApiResponse> localVarResp = searchWorldsWithHttpInfo(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, fuzzy); return localVarResp.getData(); } @@ -1836,6 +1842,7 @@ public List searchWorlds(Boolean featured, SortOption sort, String * @param maxUnityVersion The maximum Unity version supported by the asset. (optional) * @param minUnityVersion The minimum Unity version supported by the asset. (optional) * @param platform The platform the asset supports. (optional) + * @param fuzzy (optional) * @return ApiResponse<List<LimitedWorld>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1845,8 +1852,8 @@ public List searchWorlds(Boolean featured, SortOption sort, String 401 Error response due to missing auth cookie. - */ - public ApiResponse> searchWorldsWithHttpInfo(Boolean featured, SortOption sort, String user, String userId, Integer n, OrderOption order, Integer offset, String search, String tag, String notag, ReleaseStatus releaseStatus, String maxUnityVersion, String minUnityVersion, String platform) throws ApiException { - okhttp3.Call localVarCall = searchWorldsValidateBeforeCall(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, null); + public ApiResponse> searchWorldsWithHttpInfo(Boolean featured, SortOption sort, String user, String userId, Integer n, OrderOption order, Integer offset, String search, String tag, String notag, ReleaseStatus releaseStatus, String maxUnityVersion, String minUnityVersion, String platform, Boolean fuzzy) throws ApiException { + okhttp3.Call localVarCall = searchWorldsValidateBeforeCall(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, fuzzy, null); Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1868,6 +1875,7 @@ public ApiResponse> searchWorldsWithHttpInfo(Boolean featured * @param maxUnityVersion The maximum Unity version supported by the asset. (optional) * @param minUnityVersion The minimum Unity version supported by the asset. (optional) * @param platform The platform the asset supports. (optional) + * @param fuzzy (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1878,9 +1886,9 @@ public ApiResponse> searchWorldsWithHttpInfo(Boolean featured 401 Error response due to missing auth cookie. - */ - public okhttp3.Call searchWorldsAsync(Boolean featured, SortOption sort, String user, String userId, Integer n, OrderOption order, Integer offset, String search, String tag, String notag, ReleaseStatus releaseStatus, String maxUnityVersion, String minUnityVersion, String platform, final ApiCallback> _callback) throws ApiException { + public okhttp3.Call searchWorldsAsync(Boolean featured, SortOption sort, String user, String userId, Integer n, OrderOption order, Integer offset, String search, String tag, String notag, ReleaseStatus releaseStatus, String maxUnityVersion, String minUnityVersion, String platform, Boolean fuzzy, final ApiCallback> _callback) throws ApiException { - okhttp3.Call localVarCall = searchWorldsValidateBeforeCall(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, _callback); + okhttp3.Call localVarCall = searchWorldsValidateBeforeCall(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, fuzzy, _callback); Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/io/github/vrchatapi/auth/ApiKeyAuth.java b/src/main/java/io/github/vrchatapi/auth/ApiKeyAuth.java index 03ca272f..0b85227a 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 a50c208b..aa3677e4 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 44a881a9..6d09cbdc 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 7c008067..231d6193 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 2036e658..fed1a83c 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -80,6 +80,14 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_APP_NAME) private String appName = "VrChat"; + public static final String SERIALIZED_NAME_AVAILABLE_LANGUAGE_CODES = "availableLanguageCodes"; + @SerializedName(SERIALIZED_NAME_AVAILABLE_LANGUAGE_CODES) + private List availableLanguageCodes = new ArrayList<>(); + + public static final String SERIALIZED_NAME_AVAILABLE_LANGUAGES = "availableLanguages"; + @SerializedName(SERIALIZED_NAME_AVAILABLE_LANGUAGES) + private List availableLanguages = new ArrayList<>(); + public static final String SERIALIZED_NAME_BUILD_VERSION_TAG = "buildVersionTag"; @SerializedName(SERIALIZED_NAME_BUILD_VERSION_TAG) private String buildVersionTag; @@ -96,6 +104,46 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_CLIENT_DISCONNECT_TIMEOUT) private Integer clientDisconnectTimeout = 30000; + public static final String SERIALIZED_NAME_CLIENT_NET_DISPATCH_THREAD = "clientNetDispatchThread"; + @SerializedName(SERIALIZED_NAME_CLIENT_NET_DISPATCH_THREAD) + private Boolean clientNetDispatchThread = false; + + public static final String SERIALIZED_NAME_CLIENT_NET_IN_THREAD = "clientNetInThread"; + @SerializedName(SERIALIZED_NAME_CLIENT_NET_IN_THREAD) + private Boolean clientNetInThread = false; + + public static final String SERIALIZED_NAME_CLIENT_NET_IN_THREAD2 = "clientNetInThread2"; + @SerializedName(SERIALIZED_NAME_CLIENT_NET_IN_THREAD2) + private Boolean clientNetInThread2 = false; + + public static final String SERIALIZED_NAME_CLIENT_NET_IN_THREAD_MOBILE = "clientNetInThreadMobile"; + @SerializedName(SERIALIZED_NAME_CLIENT_NET_IN_THREAD_MOBILE) + private Boolean clientNetInThreadMobile = false; + + public static final String SERIALIZED_NAME_CLIENT_NET_IN_THREAD_MOBILE2 = "clientNetInThreadMobile2"; + @SerializedName(SERIALIZED_NAME_CLIENT_NET_IN_THREAD_MOBILE2) + private Boolean clientNetInThreadMobile2 = false; + + public static final String SERIALIZED_NAME_CLIENT_NET_OUT_THREAD = "clientNetOutThread"; + @SerializedName(SERIALIZED_NAME_CLIENT_NET_OUT_THREAD) + private Boolean clientNetOutThread = false; + + public static final String SERIALIZED_NAME_CLIENT_NET_OUT_THREAD2 = "clientNetOutThread2"; + @SerializedName(SERIALIZED_NAME_CLIENT_NET_OUT_THREAD2) + private Boolean clientNetOutThread2 = false; + + public static final String SERIALIZED_NAME_CLIENT_NET_OUT_THREAD_MOBILE = "clientNetOutThreadMobile"; + @SerializedName(SERIALIZED_NAME_CLIENT_NET_OUT_THREAD_MOBILE) + private Boolean clientNetOutThreadMobile = false; + + public static final String SERIALIZED_NAME_CLIENT_NET_OUT_THREAD_MOBILE2 = "clientNetOutThreadMobile2"; + @SerializedName(SERIALIZED_NAME_CLIENT_NET_OUT_THREAD_MOBILE2) + private Boolean clientNetOutThreadMobile2 = false; + + public static final String SERIALIZED_NAME_CLIENT_Q_R = "clientQR"; + @SerializedName(SERIALIZED_NAME_CLIENT_Q_R) + private Integer clientQR = 1; + public static final String SERIALIZED_NAME_CLIENT_RESERVED_PLAYER_B_P_S = "clientReservedPlayerBPS"; @SerializedName(SERIALIZED_NAME_CLIENT_RESERVED_PLAYER_B_P_S) private Integer clientReservedPlayerBPS = 7168; @@ -112,6 +160,10 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_COPYRIGHT_EMAIL) private String copyrightEmail; + public static final String SERIALIZED_NAME_CURRENT_PRIVACY_VERSION = "currentPrivacyVersion"; + @SerializedName(SERIALIZED_NAME_CURRENT_PRIVACY_VERSION) + private Integer currentPrivacyVersion = 1; + public static final String SERIALIZED_NAME_CURRENT_T_O_S_VERSION = "currentTOSVersion"; @SerializedName(SERIALIZED_NAME_CURRENT_T_O_S_VERSION) private Integer currentTOSVersion; @@ -124,13 +176,9 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_DEPLOYMENT_GROUP) private DeploymentGroup deploymentGroup = DeploymentGroup.BLUE; - public static final String SERIALIZED_NAME_DEV_APP_VERSION_STANDALONE = "devAppVersionStandalone"; - @SerializedName(SERIALIZED_NAME_DEV_APP_VERSION_STANDALONE) - private String devAppVersionStandalone; - - public static final String SERIALIZED_NAME_DEV_DOWNLOAD_LINK_WINDOWS = "devDownloadLinkWindows"; - @SerializedName(SERIALIZED_NAME_DEV_DOWNLOAD_LINK_WINDOWS) - private String devDownloadLinkWindows; + public static final String SERIALIZED_NAME_DEV_LANGUAGE_CODES = "devLanguageCodes"; + @SerializedName(SERIALIZED_NAME_DEV_LANGUAGE_CODES) + private List devLanguageCodes = null; public static final String SERIALIZED_NAME_DEV_SDK_URL = "devSdkUrl"; @SerializedName(SERIALIZED_NAME_DEV_SDK_URL) @@ -140,14 +188,14 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_DEV_SDK_VERSION) private String devSdkVersion; - public static final String SERIALIZED_NAME_DEV_SERVER_VERSION_STANDALONE = "devServerVersionStandalone"; - @SerializedName(SERIALIZED_NAME_DEV_SERVER_VERSION_STANDALONE) - private String devServerVersionStandalone; - public static final String SERIALIZED_NAME_DIS_COUNTDOWN = "dis-countdown"; @SerializedName(SERIALIZED_NAME_DIS_COUNTDOWN) private OffsetDateTime disCountdown; + public static final String SERIALIZED_NAME_DISABLE_A_V_PRO_IN_PROTON = "disableAVProInProton"; + @SerializedName(SERIALIZED_NAME_DISABLE_A_V_PRO_IN_PROTON) + private Boolean disableAVProInProton = false; + public static final String SERIALIZED_NAME_DISABLE_AVATAR_COPYING = "disableAvatarCopying"; @SerializedName(SERIALIZED_NAME_DISABLE_AVATAR_COPYING) private Boolean disableAvatarCopying = false; @@ -168,6 +216,10 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_DISABLE_EMAIL) private Boolean disableEmail = false; + public static final String SERIALIZED_NAME_DISABLE_CAPTCHA = "disableCaptcha"; + @SerializedName(SERIALIZED_NAME_DISABLE_CAPTCHA) + private Boolean disableCaptcha = true; + public static final String SERIALIZED_NAME_DISABLE_EVENT_STREAM = "disableEventStream"; @SerializedName(SERIALIZED_NAME_DISABLE_EVENT_STREAM) private Boolean disableEventStream = false; @@ -220,14 +272,22 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_DYNAMIC_WORLD_ROWS) private Set dynamicWorldRows = new LinkedHashSet<>(); + public static final String SERIALIZED_NAME_ECONOMY_PAUSE_END = "economyPauseEnd"; + @SerializedName(SERIALIZED_NAME_ECONOMY_PAUSE_END) + private String economyPauseEnd; + + public static final String SERIALIZED_NAME_ECONOMY_PAUSE_START = "economyPauseStart"; + @SerializedName(SERIALIZED_NAME_ECONOMY_PAUSE_START) + private String economyPauseStart; + + public static final String SERIALIZED_NAME_ECONOMY_STATE = "economyState"; + @SerializedName(SERIALIZED_NAME_ECONOMY_STATE) + private Integer economyState = 1; + public static final String SERIALIZED_NAME_EVENTS = "events"; @SerializedName(SERIALIZED_NAME_EVENTS) private APIConfigEvents events; - public static final String SERIALIZED_NAME_GEAR_DEMO_ROOM_ID = "gearDemoRoomId"; - @SerializedName(SERIALIZED_NAME_GEAR_DEMO_ROOM_ID) - private String gearDemoRoomId; - public static final String SERIALIZED_NAME_HOME_WORLD_ID = "homeWorldId"; @SerializedName(SERIALIZED_NAME_HOME_WORLD_ID) private String homeWorldId; @@ -240,46 +300,22 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_HUB_WORLD_ID) private String hubWorldId; + public static final String SERIALIZED_NAME_IMAGE_HOST_URL_LIST = "imageHostUrlList"; + @SerializedName(SERIALIZED_NAME_IMAGE_HOST_URL_LIST) + private List imageHostUrlList = new ArrayList<>(); + public static final String SERIALIZED_NAME_JOBS_EMAIL = "jobsEmail"; @SerializedName(SERIALIZED_NAME_JOBS_EMAIL) private String jobsEmail; - public static final String SERIALIZED_NAME_MESSAGE_OF_THE_DAY = "messageOfTheDay"; - @SerializedName(SERIALIZED_NAME_MESSAGE_OF_THE_DAY) - private String messageOfTheDay; - public static final String SERIALIZED_NAME_MODERATION_EMAIL = "moderationEmail"; @SerializedName(SERIALIZED_NAME_MODERATION_EMAIL) private String moderationEmail; - public static final String SERIALIZED_NAME_MODERATION_QUERY_PERIOD = "moderationQueryPeriod"; - @SerializedName(SERIALIZED_NAME_MODERATION_QUERY_PERIOD) - private Integer moderationQueryPeriod; - public static final String SERIALIZED_NAME_NOT_ALLOWED_TO_SELECT_AVATAR_IN_PRIVATE_WORLD_MESSAGE = "notAllowedToSelectAvatarInPrivateWorldMessage"; @SerializedName(SERIALIZED_NAME_NOT_ALLOWED_TO_SELECT_AVATAR_IN_PRIVATE_WORLD_MESSAGE) private String notAllowedToSelectAvatarInPrivateWorldMessage; - public static final String SERIALIZED_NAME_PLUGIN = "plugin"; - @SerializedName(SERIALIZED_NAME_PLUGIN) - private String plugin; - - public static final String SERIALIZED_NAME_RELEASE_APP_VERSION_STANDALONE = "releaseAppVersionStandalone"; - @SerializedName(SERIALIZED_NAME_RELEASE_APP_VERSION_STANDALONE) - private String releaseAppVersionStandalone; - - public static final String SERIALIZED_NAME_RELEASE_SDK_URL = "releaseSdkUrl"; - @SerializedName(SERIALIZED_NAME_RELEASE_SDK_URL) - private String releaseSdkUrl; - - public static final String SERIALIZED_NAME_RELEASE_SDK_VERSION = "releaseSdkVersion"; - @SerializedName(SERIALIZED_NAME_RELEASE_SDK_VERSION) - private String releaseSdkVersion; - - public static final String SERIALIZED_NAME_RELEASE_SERVER_VERSION_STANDALONE = "releaseServerVersionStandalone"; - @SerializedName(SERIALIZED_NAME_RELEASE_SERVER_VERSION_STANDALONE) - private String releaseServerVersionStandalone; - public static final String SERIALIZED_NAME_SDK_DEVELOPER_FAQ_URL = "sdkDeveloperFaqUrl"; @SerializedName(SERIALIZED_NAME_SDK_DEVELOPER_FAQ_URL) private String sdkDeveloperFaqUrl; @@ -300,6 +336,10 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_SERVER_NAME) private String serverName; + public static final String SERIALIZED_NAME_STRING_HOST_URL_LIST = "stringHostUrlList"; + @SerializedName(SERIALIZED_NAME_STRING_HOST_URL_LIST) + private List stringHostUrlList = new ArrayList<>(); + public static final String SERIALIZED_NAME_SUPPORT_EMAIL = "supportEmail"; @SerializedName(SERIALIZED_NAME_SUPPORT_EMAIL) private String supportEmail; @@ -340,22 +380,6 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_USE_RELIABLE_UDP_FOR_VOICE) private Boolean useReliableUdpForVoice = false; - public static final String SERIALIZED_NAME_USER_UPDATE_PERIOD = "userUpdatePeriod"; - @SerializedName(SERIALIZED_NAME_USER_UPDATE_PERIOD) - private Integer userUpdatePeriod; - - public static final String SERIALIZED_NAME_USER_VERIFICATION_DELAY = "userVerificationDelay"; - @SerializedName(SERIALIZED_NAME_USER_VERIFICATION_DELAY) - private Integer userVerificationDelay; - - public static final String SERIALIZED_NAME_USER_VERIFICATION_RETRY = "userVerificationRetry"; - @SerializedName(SERIALIZED_NAME_USER_VERIFICATION_RETRY) - private Integer userVerificationRetry; - - public static final String SERIALIZED_NAME_USER_VERIFICATION_TIMEOUT = "userVerificationTimeout"; - @SerializedName(SERIALIZED_NAME_USER_VERIFICATION_TIMEOUT) - private Integer userVerificationTimeout; - public static final String SERIALIZED_NAME_VIVE_WINDOWS_URL = "viveWindowsUrl"; @SerializedName(SERIALIZED_NAME_VIVE_WINDOWS_URL) private String viveWindowsUrl; @@ -364,18 +388,14 @@ public class APIConfig { @SerializedName(SERIALIZED_NAME_WHITE_LISTED_ASSET_URLS) private List whiteListedAssetUrls = new ArrayList<>(); - public static final String SERIALIZED_NAME_WORLD_UPDATE_PERIOD = "worldUpdatePeriod"; - @SerializedName(SERIALIZED_NAME_WORLD_UPDATE_PERIOD) - private Integer worldUpdatePeriod; - - public static final String SERIALIZED_NAME_PLAYER_URL_RESOLVER_HASH = "player-url-resolver-hash"; - @SerializedName(SERIALIZED_NAME_PLAYER_URL_RESOLVER_HASH) - private String playerUrlResolverHash; - public static final String SERIALIZED_NAME_PLAYER_URL_RESOLVER_VERSION = "player-url-resolver-version"; @SerializedName(SERIALIZED_NAME_PLAYER_URL_RESOLVER_VERSION) private String playerUrlResolverVersion; + public static final String SERIALIZED_NAME_PLAYER_URL_RESOLVER_SHA1 = "player-url-resolver-sha1"; + @SerializedName(SERIALIZED_NAME_PLAYER_URL_RESOLVER_SHA1) + private String playerUrlResolverSha1; + public APIConfig() { } @@ -501,6 +521,62 @@ public void setAppName(String appName) { } + public APIConfig availableLanguageCodes(List availableLanguageCodes) { + + this.availableLanguageCodes = availableLanguageCodes; + return this; + } + + public APIConfig addAvailableLanguageCodesItem(String availableLanguageCodesItem) { + this.availableLanguageCodes.add(availableLanguageCodesItem); + return this; + } + + /** + * List of supported Languages + * @return availableLanguageCodes + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of supported Languages") + + public List getAvailableLanguageCodes() { + return availableLanguageCodes; + } + + + public void setAvailableLanguageCodes(List availableLanguageCodes) { + this.availableLanguageCodes = availableLanguageCodes; + } + + + public APIConfig availableLanguages(List availableLanguages) { + + this.availableLanguages = availableLanguages; + return this; + } + + public APIConfig addAvailableLanguagesItem(String availableLanguagesItem) { + this.availableLanguages.add(availableLanguagesItem); + return this; + } + + /** + * List of supported Languages + * @return availableLanguages + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of supported Languages") + + public List getAvailableLanguages() { + return availableLanguages; + } + + + public void setAvailableLanguages(List availableLanguages) { + this.availableLanguages = availableLanguages; + } + + public APIConfig buildVersionTag(String buildVersionTag) { this.buildVersionTag = buildVersionTag; @@ -593,6 +669,236 @@ public void setClientDisconnectTimeout(Integer clientDisconnectTimeout) { } + public APIConfig clientNetDispatchThread(Boolean clientNetDispatchThread) { + + this.clientNetDispatchThread = clientNetDispatchThread; + return this; + } + + /** + * Unknown + * @return clientNetDispatchThread + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") + + public Boolean getClientNetDispatchThread() { + return clientNetDispatchThread; + } + + + public void setClientNetDispatchThread(Boolean clientNetDispatchThread) { + this.clientNetDispatchThread = clientNetDispatchThread; + } + + + public APIConfig clientNetInThread(Boolean clientNetInThread) { + + this.clientNetInThread = clientNetInThread; + return this; + } + + /** + * Unknown + * @return clientNetInThread + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") + + public Boolean getClientNetInThread() { + return clientNetInThread; + } + + + public void setClientNetInThread(Boolean clientNetInThread) { + this.clientNetInThread = clientNetInThread; + } + + + public APIConfig clientNetInThread2(Boolean clientNetInThread2) { + + this.clientNetInThread2 = clientNetInThread2; + return this; + } + + /** + * Unknown + * @return clientNetInThread2 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") + + public Boolean getClientNetInThread2() { + return clientNetInThread2; + } + + + public void setClientNetInThread2(Boolean clientNetInThread2) { + this.clientNetInThread2 = clientNetInThread2; + } + + + public APIConfig clientNetInThreadMobile(Boolean clientNetInThreadMobile) { + + this.clientNetInThreadMobile = clientNetInThreadMobile; + return this; + } + + /** + * Unknown + * @return clientNetInThreadMobile + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") + + public Boolean getClientNetInThreadMobile() { + return clientNetInThreadMobile; + } + + + public void setClientNetInThreadMobile(Boolean clientNetInThreadMobile) { + this.clientNetInThreadMobile = clientNetInThreadMobile; + } + + + public APIConfig clientNetInThreadMobile2(Boolean clientNetInThreadMobile2) { + + this.clientNetInThreadMobile2 = clientNetInThreadMobile2; + return this; + } + + /** + * Unknown + * @return clientNetInThreadMobile2 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") + + public Boolean getClientNetInThreadMobile2() { + return clientNetInThreadMobile2; + } + + + public void setClientNetInThreadMobile2(Boolean clientNetInThreadMobile2) { + this.clientNetInThreadMobile2 = clientNetInThreadMobile2; + } + + + public APIConfig clientNetOutThread(Boolean clientNetOutThread) { + + this.clientNetOutThread = clientNetOutThread; + return this; + } + + /** + * Unknown + * @return clientNetOutThread + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") + + public Boolean getClientNetOutThread() { + return clientNetOutThread; + } + + + public void setClientNetOutThread(Boolean clientNetOutThread) { + this.clientNetOutThread = clientNetOutThread; + } + + + public APIConfig clientNetOutThread2(Boolean clientNetOutThread2) { + + this.clientNetOutThread2 = clientNetOutThread2; + return this; + } + + /** + * Unknown + * @return clientNetOutThread2 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") + + public Boolean getClientNetOutThread2() { + return clientNetOutThread2; + } + + + public void setClientNetOutThread2(Boolean clientNetOutThread2) { + this.clientNetOutThread2 = clientNetOutThread2; + } + + + public APIConfig clientNetOutThreadMobile(Boolean clientNetOutThreadMobile) { + + this.clientNetOutThreadMobile = clientNetOutThreadMobile; + return this; + } + + /** + * Unknown + * @return clientNetOutThreadMobile + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") + + public Boolean getClientNetOutThreadMobile() { + return clientNetOutThreadMobile; + } + + + public void setClientNetOutThreadMobile(Boolean clientNetOutThreadMobile) { + this.clientNetOutThreadMobile = clientNetOutThreadMobile; + } + + + public APIConfig clientNetOutThreadMobile2(Boolean clientNetOutThreadMobile2) { + + this.clientNetOutThreadMobile2 = clientNetOutThreadMobile2; + return this; + } + + /** + * Unknown + * @return clientNetOutThreadMobile2 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") + + public Boolean getClientNetOutThreadMobile2() { + return clientNetOutThreadMobile2; + } + + + public void setClientNetOutThreadMobile2(Boolean clientNetOutThreadMobile2) { + this.clientNetOutThreadMobile2 = clientNetOutThreadMobile2; + } + + + public APIConfig clientQR(Integer clientQR) { + + this.clientQR = clientQR; + return this; + } + + /** + * Unknown + * @return clientQR + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") + + public Integer getClientQR() { + return clientQR; + } + + + public void setClientQR(Integer clientQR) { + this.clientQR = clientQR; + } + + public APIConfig clientReservedPlayerBPS(Integer clientReservedPlayerBPS) { this.clientReservedPlayerBPS = clientReservedPlayerBPS; @@ -685,6 +991,29 @@ public void setCopyrightEmail(String copyrightEmail) { } + public APIConfig currentPrivacyVersion(Integer currentPrivacyVersion) { + + this.currentPrivacyVersion = currentPrivacyVersion; + return this; + } + + /** + * Current version number of the Privacy Agreement + * @return currentPrivacyVersion + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Current version number of the Privacy Agreement") + + public Integer getCurrentPrivacyVersion() { + return currentPrivacyVersion; + } + + + public void setCurrentPrivacyVersion(Integer currentPrivacyVersion) { + this.currentPrivacyVersion = currentPrivacyVersion; + } + + public APIConfig currentTOSVersion(Integer currentTOSVersion) { this.currentTOSVersion = currentTOSVersion; @@ -755,53 +1084,34 @@ public void setDeploymentGroup(DeploymentGroup deploymentGroup) { } - public APIConfig devAppVersionStandalone(String devAppVersionStandalone) { + public APIConfig devLanguageCodes(List devLanguageCodes) { - this.devAppVersionStandalone = devAppVersionStandalone; + this.devLanguageCodes = devLanguageCodes; return this; } - /** - * Version number for game development build - * @return devAppVersionStandalone - * @deprecated - **/ - @Deprecated - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Version number for game development build") - - public String getDevAppVersionStandalone() { - return devAppVersionStandalone; - } - - - public void setDevAppVersionStandalone(String devAppVersionStandalone) { - this.devAppVersionStandalone = devAppVersionStandalone; - } - - - public APIConfig devDownloadLinkWindows(String devDownloadLinkWindows) { - - this.devDownloadLinkWindows = devDownloadLinkWindows; + public APIConfig addDevLanguageCodesItem(String devLanguageCodesItem) { + if (this.devLanguageCodes == null) { + this.devLanguageCodes = new ArrayList<>(); + } + this.devLanguageCodes.add(devLanguageCodesItem); return this; } /** - * Developer Download link - * @return devDownloadLinkWindows - * @deprecated + * Unknown + * @return devLanguageCodes **/ - @Deprecated - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Developer Download link") + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") - public String getDevDownloadLinkWindows() { - return devDownloadLinkWindows; + public List getDevLanguageCodes() { + return devLanguageCodes; } - public void setDevDownloadLinkWindows(String devDownloadLinkWindows) { - this.devDownloadLinkWindows = devDownloadLinkWindows; + public void setDevLanguageCodes(List devLanguageCodes) { + this.devLanguageCodes = devLanguageCodes; } @@ -855,51 +1165,49 @@ public void setDevSdkVersion(String devSdkVersion) { } - public APIConfig devServerVersionStandalone(String devServerVersionStandalone) { + public APIConfig disCountdown(OffsetDateTime disCountdown) { - this.devServerVersionStandalone = devServerVersionStandalone; + this.disCountdown = disCountdown; return this; } /** - * Version number for server development build - * @return devServerVersionStandalone - * @deprecated + * Unknown, \"dis\" maybe for disconnect? + * @return disCountdown **/ - @Deprecated @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Version number for server development build") + @ApiModelProperty(required = true, value = "Unknown, \"dis\" maybe for disconnect?") - public String getDevServerVersionStandalone() { - return devServerVersionStandalone; + public OffsetDateTime getDisCountdown() { + return disCountdown; } - public void setDevServerVersionStandalone(String devServerVersionStandalone) { - this.devServerVersionStandalone = devServerVersionStandalone; + public void setDisCountdown(OffsetDateTime disCountdown) { + this.disCountdown = disCountdown; } - public APIConfig disCountdown(OffsetDateTime disCountdown) { + public APIConfig disableAVProInProton(Boolean disableAVProInProton) { - this.disCountdown = disCountdown; + this.disableAVProInProton = disableAVProInProton; return this; } /** - * Unknown, \"dis\" maybe for disconnect? - * @return disCountdown + * Unknown + * @return disableAVProInProton **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unknown, \"dis\" maybe for disconnect?") + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") - public OffsetDateTime getDisCountdown() { - return disCountdown; + public Boolean getDisableAVProInProton() { + return disableAVProInProton; } - public void setDisCountdown(OffsetDateTime disCountdown) { - this.disCountdown = disCountdown; + public void setDisableAVProInProton(Boolean disableAVProInProton) { + this.disableAVProInProton = disableAVProInProton; } @@ -1018,6 +1326,29 @@ public void setDisableEmail(Boolean disableEmail) { } + public APIConfig disableCaptcha(Boolean disableCaptcha) { + + this.disableCaptcha = disableCaptcha; + return this; + } + + /** + * Unknown + * @return disableCaptcha + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") + + public Boolean getDisableCaptcha() { + return disableCaptcha; + } + + + public void setDisableCaptcha(Boolean disableCaptcha) { + this.disableCaptcha = disableCaptcha; + } + + public APIConfig disableEventStream(Boolean disableEventStream) { this.disableEventStream = disableEventStream; @@ -1324,360 +1655,261 @@ public void setDynamicWorldRows(Set dynamicWorldRows) { } - public APIConfig events(APIConfigEvents events) { - - this.events = events; - return this; - } - - /** - * Get events - * @return events - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public APIConfigEvents getEvents() { - return events; - } - - - public void setEvents(APIConfigEvents events) { - this.events = events; - } - - - public APIConfig gearDemoRoomId(String gearDemoRoomId) { - - this.gearDemoRoomId = gearDemoRoomId; - return this; - } - - /** - * Unknown - * @return gearDemoRoomId - * @deprecated - **/ - @Deprecated - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unknown") - - public String getGearDemoRoomId() { - return gearDemoRoomId; - } - - - public void setGearDemoRoomId(String gearDemoRoomId) { - this.gearDemoRoomId = gearDemoRoomId; - } - - - public APIConfig homeWorldId(String homeWorldId) { - - this.homeWorldId = homeWorldId; - return this; - } - - /** - * WorldID be \"offline\" on User profiles if you are not friends with that user. - * @return homeWorldId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "wrld_ba913a96-fac4-4048-a062-9aa5db092812", required = true, value = "WorldID be \"offline\" on User profiles if you are not friends with that user.") - - public String getHomeWorldId() { - return homeWorldId; - } - - - public void setHomeWorldId(String homeWorldId) { - this.homeWorldId = homeWorldId; - } - - - public APIConfig homepageRedirectTarget(String homepageRedirectTarget) { - - this.homepageRedirectTarget = homepageRedirectTarget; - return this; - } - - /** - * Redirect target if you try to open the base API domain in your browser - * @return homepageRedirectTarget - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Redirect target if you try to open the base API domain in your browser") - - public String getHomepageRedirectTarget() { - return homepageRedirectTarget; - } - - - public void setHomepageRedirectTarget(String homepageRedirectTarget) { - this.homepageRedirectTarget = homepageRedirectTarget; - } - - - public APIConfig hubWorldId(String hubWorldId) { + public APIConfig economyPauseEnd(String economyPauseEnd) { - this.hubWorldId = hubWorldId; + this.economyPauseEnd = economyPauseEnd; return this; } /** - * WorldID be \"offline\" on User profiles if you are not friends with that user. - * @return hubWorldId + * Unknown + * @return economyPauseEnd **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "wrld_ba913a96-fac4-4048-a062-9aa5db092812", required = true, value = "WorldID be \"offline\" on User profiles if you are not friends with that user.") + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") - public String getHubWorldId() { - return hubWorldId; + public String getEconomyPauseEnd() { + return economyPauseEnd; } - public void setHubWorldId(String hubWorldId) { - this.hubWorldId = hubWorldId; + public void setEconomyPauseEnd(String economyPauseEnd) { + this.economyPauseEnd = economyPauseEnd; } - public APIConfig jobsEmail(String jobsEmail) { + public APIConfig economyPauseStart(String economyPauseStart) { - this.jobsEmail = jobsEmail; + this.economyPauseStart = economyPauseStart; return this; } /** - * VRChat's job application email - * @return jobsEmail + * Unknown + * @return economyPauseStart **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "VRChat's job application email") + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") - public String getJobsEmail() { - return jobsEmail; + public String getEconomyPauseStart() { + return economyPauseStart; } - public void setJobsEmail(String jobsEmail) { - this.jobsEmail = jobsEmail; + public void setEconomyPauseStart(String economyPauseStart) { + this.economyPauseStart = economyPauseStart; } - public APIConfig messageOfTheDay(String messageOfTheDay) { + public APIConfig economyState(Integer economyState) { - this.messageOfTheDay = messageOfTheDay; + this.economyState = economyState; return this; } /** - * MOTD - * @return messageOfTheDay - * @deprecated + * Unknown + * @return economyState **/ - @Deprecated - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "MOTD") + @javax.annotation.Nullable + @ApiModelProperty(value = "Unknown") - public String getMessageOfTheDay() { - return messageOfTheDay; + public Integer getEconomyState() { + return economyState; } - public void setMessageOfTheDay(String messageOfTheDay) { - this.messageOfTheDay = messageOfTheDay; + public void setEconomyState(Integer economyState) { + this.economyState = economyState; } - public APIConfig moderationEmail(String moderationEmail) { + public APIConfig events(APIConfigEvents events) { - this.moderationEmail = moderationEmail; + this.events = events; return this; } /** - * VRChat's moderation related email - * @return moderationEmail + * Get events + * @return events **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "VRChat's moderation related email") + @ApiModelProperty(required = true, value = "") - public String getModerationEmail() { - return moderationEmail; + public APIConfigEvents getEvents() { + return events; } - public void setModerationEmail(String moderationEmail) { - this.moderationEmail = moderationEmail; + public void setEvents(APIConfigEvents events) { + this.events = events; } - public APIConfig moderationQueryPeriod(Integer moderationQueryPeriod) { + public APIConfig homeWorldId(String homeWorldId) { - this.moderationQueryPeriod = moderationQueryPeriod; + this.homeWorldId = homeWorldId; return this; } /** - * Unknown - * @return moderationQueryPeriod + * WorldID be \"offline\" on User profiles if you are not friends with that user. + * @return homeWorldId **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unknown") + @ApiModelProperty(example = "wrld_ba913a96-fac4-4048-a062-9aa5db092812", required = true, value = "WorldID be \"offline\" on User profiles if you are not friends with that user.") - public Integer getModerationQueryPeriod() { - return moderationQueryPeriod; + public String getHomeWorldId() { + return homeWorldId; } - public void setModerationQueryPeriod(Integer moderationQueryPeriod) { - this.moderationQueryPeriod = moderationQueryPeriod; + public void setHomeWorldId(String homeWorldId) { + this.homeWorldId = homeWorldId; } - public APIConfig notAllowedToSelectAvatarInPrivateWorldMessage(String notAllowedToSelectAvatarInPrivateWorldMessage) { + public APIConfig homepageRedirectTarget(String homepageRedirectTarget) { - this.notAllowedToSelectAvatarInPrivateWorldMessage = notAllowedToSelectAvatarInPrivateWorldMessage; + this.homepageRedirectTarget = homepageRedirectTarget; return this; } /** - * Used in-game to notify a user they aren't allowed to select avatars in private worlds - * @return notAllowedToSelectAvatarInPrivateWorldMessage + * Redirect target if you try to open the base API domain in your browser + * @return homepageRedirectTarget **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Used in-game to notify a user they aren't allowed to select avatars in private worlds") + @ApiModelProperty(required = true, value = "Redirect target if you try to open the base API domain in your browser") - public String getNotAllowedToSelectAvatarInPrivateWorldMessage() { - return notAllowedToSelectAvatarInPrivateWorldMessage; + public String getHomepageRedirectTarget() { + return homepageRedirectTarget; } - public void setNotAllowedToSelectAvatarInPrivateWorldMessage(String notAllowedToSelectAvatarInPrivateWorldMessage) { - this.notAllowedToSelectAvatarInPrivateWorldMessage = notAllowedToSelectAvatarInPrivateWorldMessage; + public void setHomepageRedirectTarget(String homepageRedirectTarget) { + this.homepageRedirectTarget = homepageRedirectTarget; } - public APIConfig plugin(String plugin) { + public APIConfig hubWorldId(String hubWorldId) { - this.plugin = plugin; + this.hubWorldId = hubWorldId; return this; } /** - * Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance - * @return plugin + * WorldID be \"offline\" on User profiles if you are not friends with that user. + * @return hubWorldId **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance") + @ApiModelProperty(example = "wrld_ba913a96-fac4-4048-a062-9aa5db092812", required = true, value = "WorldID be \"offline\" on User profiles if you are not friends with that user.") - public String getPlugin() { - return plugin; + public String getHubWorldId() { + return hubWorldId; } - public void setPlugin(String plugin) { - this.plugin = plugin; + public void setHubWorldId(String hubWorldId) { + this.hubWorldId = hubWorldId; } - public APIConfig releaseAppVersionStandalone(String releaseAppVersionStandalone) { + public APIConfig imageHostUrlList(List imageHostUrlList) { - this.releaseAppVersionStandalone = releaseAppVersionStandalone; + this.imageHostUrlList = imageHostUrlList; + return this; + } + + public APIConfig addImageHostUrlListItem(String imageHostUrlListItem) { + this.imageHostUrlList.add(imageHostUrlListItem); return this; } /** - * Version number for game release build - * @return releaseAppVersionStandalone - * @deprecated + * A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage). + * @return imageHostUrlList **/ - @Deprecated @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Version number for game release build") + @ApiModelProperty(required = true, value = "A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage).") - public String getReleaseAppVersionStandalone() { - return releaseAppVersionStandalone; + public List getImageHostUrlList() { + return imageHostUrlList; } - public void setReleaseAppVersionStandalone(String releaseAppVersionStandalone) { - this.releaseAppVersionStandalone = releaseAppVersionStandalone; + public void setImageHostUrlList(List imageHostUrlList) { + this.imageHostUrlList = imageHostUrlList; } - public APIConfig releaseSdkUrl(String releaseSdkUrl) { + public APIConfig jobsEmail(String jobsEmail) { - this.releaseSdkUrl = releaseSdkUrl; + this.jobsEmail = jobsEmail; return this; } /** - * Link to download the release SDK - * @return releaseSdkUrl - * @deprecated + * VRChat's job application email + * @return jobsEmail **/ - @Deprecated @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Link to download the release SDK") + @ApiModelProperty(required = true, value = "VRChat's job application email") - public String getReleaseSdkUrl() { - return releaseSdkUrl; + public String getJobsEmail() { + return jobsEmail; } - public void setReleaseSdkUrl(String releaseSdkUrl) { - this.releaseSdkUrl = releaseSdkUrl; + public void setJobsEmail(String jobsEmail) { + this.jobsEmail = jobsEmail; } - public APIConfig releaseSdkVersion(String releaseSdkVersion) { + public APIConfig moderationEmail(String moderationEmail) { - this.releaseSdkVersion = releaseSdkVersion; + this.moderationEmail = moderationEmail; return this; } /** - * Version of the release SDK - * @return releaseSdkVersion - * @deprecated + * VRChat's moderation related email + * @return moderationEmail **/ - @Deprecated @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Version of the release SDK") + @ApiModelProperty(required = true, value = "VRChat's moderation related email") - public String getReleaseSdkVersion() { - return releaseSdkVersion; + public String getModerationEmail() { + return moderationEmail; } - public void setReleaseSdkVersion(String releaseSdkVersion) { - this.releaseSdkVersion = releaseSdkVersion; + public void setModerationEmail(String moderationEmail) { + this.moderationEmail = moderationEmail; } - public APIConfig releaseServerVersionStandalone(String releaseServerVersionStandalone) { + public APIConfig notAllowedToSelectAvatarInPrivateWorldMessage(String notAllowedToSelectAvatarInPrivateWorldMessage) { - this.releaseServerVersionStandalone = releaseServerVersionStandalone; + this.notAllowedToSelectAvatarInPrivateWorldMessage = notAllowedToSelectAvatarInPrivateWorldMessage; return this; } /** - * Version number for server release build - * @return releaseServerVersionStandalone - * @deprecated + * Used in-game to notify a user they aren't allowed to select avatars in private worlds + * @return notAllowedToSelectAvatarInPrivateWorldMessage **/ - @Deprecated @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Version number for server release build") + @ApiModelProperty(required = true, value = "Used in-game to notify a user they aren't allowed to select avatars in private worlds") - public String getReleaseServerVersionStandalone() { - return releaseServerVersionStandalone; + public String getNotAllowedToSelectAvatarInPrivateWorldMessage() { + return notAllowedToSelectAvatarInPrivateWorldMessage; } - public void setReleaseServerVersionStandalone(String releaseServerVersionStandalone) { - this.releaseServerVersionStandalone = releaseServerVersionStandalone; + public void setNotAllowedToSelectAvatarInPrivateWorldMessage(String notAllowedToSelectAvatarInPrivateWorldMessage) { + this.notAllowedToSelectAvatarInPrivateWorldMessage = notAllowedToSelectAvatarInPrivateWorldMessage; } @@ -1796,6 +2028,34 @@ public void setServerName(String serverName) { } + public APIConfig stringHostUrlList(List stringHostUrlList) { + + this.stringHostUrlList = stringHostUrlList; + return this; + } + + public APIConfig addStringHostUrlListItem(String stringHostUrlListItem) { + this.stringHostUrlList.add(stringHostUrlListItem); + return this; + } + + /** + * 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). + * @return stringHostUrlList + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "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).") + + public List getStringHostUrlList() { + return stringHostUrlList; + } + + + public void setStringHostUrlList(List stringHostUrlList) { + this.stringHostUrlList = stringHostUrlList; + } + + public APIConfig supportEmail(String supportEmail) { this.supportEmail = supportEmail; @@ -2031,98 +2291,6 @@ public void setUseReliableUdpForVoice(Boolean useReliableUdpForVoice) { } - public APIConfig userUpdatePeriod(Integer userUpdatePeriod) { - - this.userUpdatePeriod = userUpdatePeriod; - return this; - } - - /** - * Unknown - * @return userUpdatePeriod - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unknown") - - public Integer getUserUpdatePeriod() { - return userUpdatePeriod; - } - - - public void setUserUpdatePeriod(Integer userUpdatePeriod) { - this.userUpdatePeriod = userUpdatePeriod; - } - - - public APIConfig userVerificationDelay(Integer userVerificationDelay) { - - this.userVerificationDelay = userVerificationDelay; - return this; - } - - /** - * Unknown - * @return userVerificationDelay - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unknown") - - public Integer getUserVerificationDelay() { - return userVerificationDelay; - } - - - public void setUserVerificationDelay(Integer userVerificationDelay) { - this.userVerificationDelay = userVerificationDelay; - } - - - public APIConfig userVerificationRetry(Integer userVerificationRetry) { - - this.userVerificationRetry = userVerificationRetry; - return this; - } - - /** - * Unknown - * @return userVerificationRetry - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unknown") - - public Integer getUserVerificationRetry() { - return userVerificationRetry; - } - - - public void setUserVerificationRetry(Integer userVerificationRetry) { - this.userVerificationRetry = userVerificationRetry; - } - - - public APIConfig userVerificationTimeout(Integer userVerificationTimeout) { - - this.userVerificationTimeout = userVerificationTimeout; - return this; - } - - /** - * Unknown - * @return userVerificationTimeout - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unknown") - - public Integer getUserVerificationTimeout() { - return userVerificationTimeout; - } - - - public void setUserVerificationTimeout(Integer userVerificationTimeout) { - this.userVerificationTimeout = userVerificationTimeout; - } - - public APIConfig viveWindowsUrl(String viveWindowsUrl) { this.viveWindowsUrl = viveWindowsUrl; @@ -2174,72 +2342,49 @@ public void setWhiteListedAssetUrls(List whiteListedAssetUrls) { } - public APIConfig worldUpdatePeriod(Integer worldUpdatePeriod) { - - this.worldUpdatePeriod = worldUpdatePeriod; - return this; - } - - /** - * Unknown - * @return worldUpdatePeriod - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unknown") - - public Integer getWorldUpdatePeriod() { - return worldUpdatePeriod; - } - - - public void setWorldUpdatePeriod(Integer worldUpdatePeriod) { - this.worldUpdatePeriod = worldUpdatePeriod; - } - - - public APIConfig playerUrlResolverHash(String playerUrlResolverHash) { + public APIConfig playerUrlResolverVersion(String playerUrlResolverVersion) { - this.playerUrlResolverHash = playerUrlResolverHash; + this.playerUrlResolverVersion = playerUrlResolverVersion; return this; } /** - * Currently used youtube-dl.exe hash in SHA-256-delimited format - * @return playerUrlResolverHash + * Currently used youtube-dl.exe version + * @return playerUrlResolverVersion **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Currently used youtube-dl.exe hash in SHA-256-delimited format") + @ApiModelProperty(required = true, value = "Currently used youtube-dl.exe version") - public String getPlayerUrlResolverHash() { - return playerUrlResolverHash; + public String getPlayerUrlResolverVersion() { + return playerUrlResolverVersion; } - public void setPlayerUrlResolverHash(String playerUrlResolverHash) { - this.playerUrlResolverHash = playerUrlResolverHash; + public void setPlayerUrlResolverVersion(String playerUrlResolverVersion) { + this.playerUrlResolverVersion = playerUrlResolverVersion; } - public APIConfig playerUrlResolverVersion(String playerUrlResolverVersion) { + public APIConfig playerUrlResolverSha1(String playerUrlResolverSha1) { - this.playerUrlResolverVersion = playerUrlResolverVersion; + this.playerUrlResolverSha1 = playerUrlResolverSha1; return this; } /** - * Currently used youtube-dl.exe version - * @return playerUrlResolverVersion + * Currently used youtube-dl.exe hash in SHA1-delimited format + * @return playerUrlResolverSha1 **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Currently used youtube-dl.exe version") + @ApiModelProperty(required = true, value = "Currently used youtube-dl.exe hash in SHA1-delimited format") - public String getPlayerUrlResolverVersion() { - return playerUrlResolverVersion; + public String getPlayerUrlResolverSha1() { + return playerUrlResolverSha1; } - public void setPlayerUrlResolverVersion(String playerUrlResolverVersion) { - this.playerUrlResolverVersion = playerUrlResolverVersion; + public void setPlayerUrlResolverSha1(String playerUrlResolverSha1) { + this.playerUrlResolverSha1 = playerUrlResolverSha1; } @@ -2258,28 +2403,41 @@ public boolean equals(Object o) { Objects.equals(this.address, apIConfig.address) && Objects.equals(this.announcements, apIConfig.announcements) && Objects.equals(this.appName, apIConfig.appName) && + Objects.equals(this.availableLanguageCodes, apIConfig.availableLanguageCodes) && + Objects.equals(this.availableLanguages, apIConfig.availableLanguages) && Objects.equals(this.buildVersionTag, apIConfig.buildVersionTag) && Objects.equals(this.clientApiKey, apIConfig.clientApiKey) && Objects.equals(this.clientBPSCeiling, apIConfig.clientBPSCeiling) && Objects.equals(this.clientDisconnectTimeout, apIConfig.clientDisconnectTimeout) && + Objects.equals(this.clientNetDispatchThread, apIConfig.clientNetDispatchThread) && + Objects.equals(this.clientNetInThread, apIConfig.clientNetInThread) && + Objects.equals(this.clientNetInThread2, apIConfig.clientNetInThread2) && + Objects.equals(this.clientNetInThreadMobile, apIConfig.clientNetInThreadMobile) && + Objects.equals(this.clientNetInThreadMobile2, apIConfig.clientNetInThreadMobile2) && + Objects.equals(this.clientNetOutThread, apIConfig.clientNetOutThread) && + Objects.equals(this.clientNetOutThread2, apIConfig.clientNetOutThread2) && + Objects.equals(this.clientNetOutThreadMobile, apIConfig.clientNetOutThreadMobile) && + Objects.equals(this.clientNetOutThreadMobile2, apIConfig.clientNetOutThreadMobile2) && + Objects.equals(this.clientQR, apIConfig.clientQR) && Objects.equals(this.clientReservedPlayerBPS, apIConfig.clientReservedPlayerBPS) && Objects.equals(this.clientSentCountAllowance, apIConfig.clientSentCountAllowance) && Objects.equals(this.contactEmail, apIConfig.contactEmail) && Objects.equals(this.copyrightEmail, apIConfig.copyrightEmail) && + Objects.equals(this.currentPrivacyVersion, apIConfig.currentPrivacyVersion) && Objects.equals(this.currentTOSVersion, apIConfig.currentTOSVersion) && Objects.equals(this.defaultAvatar, apIConfig.defaultAvatar) && Objects.equals(this.deploymentGroup, apIConfig.deploymentGroup) && - Objects.equals(this.devAppVersionStandalone, apIConfig.devAppVersionStandalone) && - Objects.equals(this.devDownloadLinkWindows, apIConfig.devDownloadLinkWindows) && + Objects.equals(this.devLanguageCodes, apIConfig.devLanguageCodes) && Objects.equals(this.devSdkUrl, apIConfig.devSdkUrl) && Objects.equals(this.devSdkVersion, apIConfig.devSdkVersion) && - Objects.equals(this.devServerVersionStandalone, apIConfig.devServerVersionStandalone) && Objects.equals(this.disCountdown, apIConfig.disCountdown) && + Objects.equals(this.disableAVProInProton, apIConfig.disableAVProInProton) && Objects.equals(this.disableAvatarCopying, apIConfig.disableAvatarCopying) && Objects.equals(this.disableAvatarGating, apIConfig.disableAvatarGating) && Objects.equals(this.disableCommunityLabs, apIConfig.disableCommunityLabs) && Objects.equals(this.disableCommunityLabsPromotion, apIConfig.disableCommunityLabsPromotion) && Objects.equals(this.disableEmail, apIConfig.disableEmail) && + Objects.equals(this.disableCaptcha, apIConfig.disableCaptcha) && Objects.equals(this.disableEventStream, apIConfig.disableEventStream) && Objects.equals(this.disableFeedbackGating, apIConfig.disableFeedbackGating) && Objects.equals(this.disableFrontendBuilds, apIConfig.disableFrontendBuilds) && @@ -2293,26 +2451,23 @@ public boolean equals(Object o) { Objects.equals(this.downloadLinkWindows, apIConfig.downloadLinkWindows) && Objects.equals(this.downloadUrls, apIConfig.downloadUrls) && Objects.equals(this.dynamicWorldRows, apIConfig.dynamicWorldRows) && + Objects.equals(this.economyPauseEnd, apIConfig.economyPauseEnd) && + Objects.equals(this.economyPauseStart, apIConfig.economyPauseStart) && + Objects.equals(this.economyState, apIConfig.economyState) && Objects.equals(this.events, apIConfig.events) && - Objects.equals(this.gearDemoRoomId, apIConfig.gearDemoRoomId) && Objects.equals(this.homeWorldId, apIConfig.homeWorldId) && Objects.equals(this.homepageRedirectTarget, apIConfig.homepageRedirectTarget) && Objects.equals(this.hubWorldId, apIConfig.hubWorldId) && + Objects.equals(this.imageHostUrlList, apIConfig.imageHostUrlList) && Objects.equals(this.jobsEmail, apIConfig.jobsEmail) && - Objects.equals(this.messageOfTheDay, apIConfig.messageOfTheDay) && Objects.equals(this.moderationEmail, apIConfig.moderationEmail) && - Objects.equals(this.moderationQueryPeriod, apIConfig.moderationQueryPeriod) && Objects.equals(this.notAllowedToSelectAvatarInPrivateWorldMessage, apIConfig.notAllowedToSelectAvatarInPrivateWorldMessage) && - Objects.equals(this.plugin, apIConfig.plugin) && - Objects.equals(this.releaseAppVersionStandalone, apIConfig.releaseAppVersionStandalone) && - Objects.equals(this.releaseSdkUrl, apIConfig.releaseSdkUrl) && - Objects.equals(this.releaseSdkVersion, apIConfig.releaseSdkVersion) && - Objects.equals(this.releaseServerVersionStandalone, apIConfig.releaseServerVersionStandalone) && Objects.equals(this.sdkDeveloperFaqUrl, apIConfig.sdkDeveloperFaqUrl) && Objects.equals(this.sdkDiscordUrl, apIConfig.sdkDiscordUrl) && Objects.equals(this.sdkNotAllowedToPublishMessage, apIConfig.sdkNotAllowedToPublishMessage) && Objects.equals(this.sdkUnityVersion, apIConfig.sdkUnityVersion) && Objects.equals(this.serverName, apIConfig.serverName) && + Objects.equals(this.stringHostUrlList, apIConfig.stringHostUrlList) && Objects.equals(this.supportEmail, apIConfig.supportEmail) && Objects.equals(this.timeOutWorldId, apIConfig.timeOutWorldId) && Objects.equals(this.tutorialWorldId, apIConfig.tutorialWorldId) && @@ -2323,20 +2478,15 @@ public boolean equals(Object o) { Objects.equals(this.uploadAnalysisPercent, apIConfig.uploadAnalysisPercent) && Objects.equals(this.urlList, apIConfig.urlList) && Objects.equals(this.useReliableUdpForVoice, apIConfig.useReliableUdpForVoice) && - Objects.equals(this.userUpdatePeriod, apIConfig.userUpdatePeriod) && - Objects.equals(this.userVerificationDelay, apIConfig.userVerificationDelay) && - Objects.equals(this.userVerificationRetry, apIConfig.userVerificationRetry) && - Objects.equals(this.userVerificationTimeout, apIConfig.userVerificationTimeout) && Objects.equals(this.viveWindowsUrl, apIConfig.viveWindowsUrl) && Objects.equals(this.whiteListedAssetUrls, apIConfig.whiteListedAssetUrls) && - Objects.equals(this.worldUpdatePeriod, apIConfig.worldUpdatePeriod) && - Objects.equals(this.playerUrlResolverHash, apIConfig.playerUrlResolverHash) && - Objects.equals(this.playerUrlResolverVersion, apIConfig.playerUrlResolverVersion); + Objects.equals(this.playerUrlResolverVersion, apIConfig.playerUrlResolverVersion) && + Objects.equals(this.playerUrlResolverSha1, apIConfig.playerUrlResolverSha1); } @Override public int hashCode() { - return Objects.hash(voiceEnableDegradation, voiceEnableReceiverLimiting, address, announcements, appName, buildVersionTag, clientApiKey, clientBPSCeiling, clientDisconnectTimeout, clientReservedPlayerBPS, clientSentCountAllowance, contactEmail, copyrightEmail, currentTOSVersion, defaultAvatar, deploymentGroup, devAppVersionStandalone, devDownloadLinkWindows, devSdkUrl, devSdkVersion, devServerVersionStandalone, disCountdown, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEmail, disableEventStream, disableFeedbackGating, disableFrontendBuilds, disableHello, disableOculusSubs, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, events, gearDemoRoomId, homeWorldId, homepageRedirectTarget, hubWorldId, jobsEmail, messageOfTheDay, moderationEmail, moderationQueryPeriod, notAllowedToSelectAvatarInPrivateWorldMessage, plugin, releaseAppVersionStandalone, releaseSdkUrl, releaseSdkVersion, releaseServerVersionStandalone, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, supportEmail, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, userUpdatePeriod, userVerificationDelay, userVerificationRetry, userVerificationTimeout, viveWindowsUrl, whiteListedAssetUrls, worldUpdatePeriod, playerUrlResolverHash, playerUrlResolverVersion); + return Objects.hash(voiceEnableDegradation, voiceEnableReceiverLimiting, address, announcements, appName, availableLanguageCodes, availableLanguages, buildVersionTag, clientApiKey, clientBPSCeiling, clientDisconnectTimeout, clientNetDispatchThread, clientNetInThread, clientNetInThread2, clientNetInThreadMobile, clientNetInThreadMobile2, clientNetOutThread, clientNetOutThread2, clientNetOutThreadMobile, clientNetOutThreadMobile2, clientQR, clientReservedPlayerBPS, clientSentCountAllowance, 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, homeWorldId, homepageRedirectTarget, hubWorldId, imageHostUrlList, jobsEmail, moderationEmail, notAllowedToSelectAvatarInPrivateWorldMessage, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, stringHostUrlList, supportEmail, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, viveWindowsUrl, whiteListedAssetUrls, playerUrlResolverVersion, playerUrlResolverSha1); } @Override @@ -2348,28 +2498,41 @@ public String toString() { sb.append(" address: ").append(toIndentedString(address)).append("\n"); sb.append(" announcements: ").append(toIndentedString(announcements)).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(" buildVersionTag: ").append(toIndentedString(buildVersionTag)).append("\n"); sb.append(" clientApiKey: ").append(toIndentedString(clientApiKey)).append("\n"); sb.append(" clientBPSCeiling: ").append(toIndentedString(clientBPSCeiling)).append("\n"); sb.append(" clientDisconnectTimeout: ").append(toIndentedString(clientDisconnectTimeout)).append("\n"); + sb.append(" clientNetDispatchThread: ").append(toIndentedString(clientNetDispatchThread)).append("\n"); + sb.append(" clientNetInThread: ").append(toIndentedString(clientNetInThread)).append("\n"); + sb.append(" clientNetInThread2: ").append(toIndentedString(clientNetInThread2)).append("\n"); + sb.append(" clientNetInThreadMobile: ").append(toIndentedString(clientNetInThreadMobile)).append("\n"); + sb.append(" clientNetInThreadMobile2: ").append(toIndentedString(clientNetInThreadMobile2)).append("\n"); + sb.append(" clientNetOutThread: ").append(toIndentedString(clientNetOutThread)).append("\n"); + sb.append(" clientNetOutThread2: ").append(toIndentedString(clientNetOutThread2)).append("\n"); + sb.append(" clientNetOutThreadMobile: ").append(toIndentedString(clientNetOutThreadMobile)).append("\n"); + sb.append(" clientNetOutThreadMobile2: ").append(toIndentedString(clientNetOutThreadMobile2)).append("\n"); + sb.append(" clientQR: ").append(toIndentedString(clientQR)).append("\n"); sb.append(" clientReservedPlayerBPS: ").append(toIndentedString(clientReservedPlayerBPS)).append("\n"); sb.append(" clientSentCountAllowance: ").append(toIndentedString(clientSentCountAllowance)).append("\n"); sb.append(" contactEmail: ").append(toIndentedString(contactEmail)).append("\n"); sb.append(" copyrightEmail: ").append(toIndentedString(copyrightEmail)).append("\n"); + 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(" deploymentGroup: ").append(toIndentedString(deploymentGroup)).append("\n"); - sb.append(" devAppVersionStandalone: ").append(toIndentedString(devAppVersionStandalone)).append("\n"); - sb.append(" devDownloadLinkWindows: ").append(toIndentedString(devDownloadLinkWindows)).append("\n"); + sb.append(" devLanguageCodes: ").append(toIndentedString(devLanguageCodes)).append("\n"); sb.append(" devSdkUrl: ").append(toIndentedString(devSdkUrl)).append("\n"); sb.append(" devSdkVersion: ").append(toIndentedString(devSdkVersion)).append("\n"); - sb.append(" devServerVersionStandalone: ").append(toIndentedString(devServerVersionStandalone)).append("\n"); sb.append(" disCountdown: ").append(toIndentedString(disCountdown)).append("\n"); + sb.append(" disableAVProInProton: ").append(toIndentedString(disableAVProInProton)).append("\n"); sb.append(" disableAvatarCopying: ").append(toIndentedString(disableAvatarCopying)).append("\n"); sb.append(" disableAvatarGating: ").append(toIndentedString(disableAvatarGating)).append("\n"); sb.append(" disableCommunityLabs: ").append(toIndentedString(disableCommunityLabs)).append("\n"); sb.append(" disableCommunityLabsPromotion: ").append(toIndentedString(disableCommunityLabsPromotion)).append("\n"); sb.append(" disableEmail: ").append(toIndentedString(disableEmail)).append("\n"); + sb.append(" disableCaptcha: ").append(toIndentedString(disableCaptcha)).append("\n"); sb.append(" disableEventStream: ").append(toIndentedString(disableEventStream)).append("\n"); sb.append(" disableFeedbackGating: ").append(toIndentedString(disableFeedbackGating)).append("\n"); sb.append(" disableFrontendBuilds: ").append(toIndentedString(disableFrontendBuilds)).append("\n"); @@ -2383,26 +2546,23 @@ public String toString() { sb.append(" downloadLinkWindows: ").append(toIndentedString(downloadLinkWindows)).append("\n"); sb.append(" downloadUrls: ").append(toIndentedString(downloadUrls)).append("\n"); sb.append(" dynamicWorldRows: ").append(toIndentedString(dynamicWorldRows)).append("\n"); + sb.append(" economyPauseEnd: ").append(toIndentedString(economyPauseEnd)).append("\n"); + sb.append(" economyPauseStart: ").append(toIndentedString(economyPauseStart)).append("\n"); + sb.append(" economyState: ").append(toIndentedString(economyState)).append("\n"); sb.append(" events: ").append(toIndentedString(events)).append("\n"); - sb.append(" gearDemoRoomId: ").append(toIndentedString(gearDemoRoomId)).append("\n"); sb.append(" homeWorldId: ").append(toIndentedString(homeWorldId)).append("\n"); sb.append(" homepageRedirectTarget: ").append(toIndentedString(homepageRedirectTarget)).append("\n"); sb.append(" hubWorldId: ").append(toIndentedString(hubWorldId)).append("\n"); + sb.append(" imageHostUrlList: ").append(toIndentedString(imageHostUrlList)).append("\n"); sb.append(" jobsEmail: ").append(toIndentedString(jobsEmail)).append("\n"); - sb.append(" messageOfTheDay: ").append(toIndentedString(messageOfTheDay)).append("\n"); sb.append(" moderationEmail: ").append(toIndentedString(moderationEmail)).append("\n"); - sb.append(" moderationQueryPeriod: ").append(toIndentedString(moderationQueryPeriod)).append("\n"); sb.append(" notAllowedToSelectAvatarInPrivateWorldMessage: ").append(toIndentedString(notAllowedToSelectAvatarInPrivateWorldMessage)).append("\n"); - sb.append(" plugin: ").append(toIndentedString(plugin)).append("\n"); - sb.append(" releaseAppVersionStandalone: ").append(toIndentedString(releaseAppVersionStandalone)).append("\n"); - sb.append(" releaseSdkUrl: ").append(toIndentedString(releaseSdkUrl)).append("\n"); - sb.append(" releaseSdkVersion: ").append(toIndentedString(releaseSdkVersion)).append("\n"); - sb.append(" releaseServerVersionStandalone: ").append(toIndentedString(releaseServerVersionStandalone)).append("\n"); sb.append(" sdkDeveloperFaqUrl: ").append(toIndentedString(sdkDeveloperFaqUrl)).append("\n"); sb.append(" sdkDiscordUrl: ").append(toIndentedString(sdkDiscordUrl)).append("\n"); sb.append(" sdkNotAllowedToPublishMessage: ").append(toIndentedString(sdkNotAllowedToPublishMessage)).append("\n"); sb.append(" sdkUnityVersion: ").append(toIndentedString(sdkUnityVersion)).append("\n"); 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(" timeOutWorldId: ").append(toIndentedString(timeOutWorldId)).append("\n"); sb.append(" tutorialWorldId: ").append(toIndentedString(tutorialWorldId)).append("\n"); @@ -2413,15 +2573,10 @@ public String toString() { sb.append(" uploadAnalysisPercent: ").append(toIndentedString(uploadAnalysisPercent)).append("\n"); sb.append(" urlList: ").append(toIndentedString(urlList)).append("\n"); sb.append(" useReliableUdpForVoice: ").append(toIndentedString(useReliableUdpForVoice)).append("\n"); - sb.append(" userUpdatePeriod: ").append(toIndentedString(userUpdatePeriod)).append("\n"); - sb.append(" userVerificationDelay: ").append(toIndentedString(userVerificationDelay)).append("\n"); - sb.append(" userVerificationRetry: ").append(toIndentedString(userVerificationRetry)).append("\n"); - sb.append(" userVerificationTimeout: ").append(toIndentedString(userVerificationTimeout)).append("\n"); sb.append(" viveWindowsUrl: ").append(toIndentedString(viveWindowsUrl)).append("\n"); sb.append(" whiteListedAssetUrls: ").append(toIndentedString(whiteListedAssetUrls)).append("\n"); - sb.append(" worldUpdatePeriod: ").append(toIndentedString(worldUpdatePeriod)).append("\n"); - sb.append(" playerUrlResolverHash: ").append(toIndentedString(playerUrlResolverHash)).append("\n"); sb.append(" playerUrlResolverVersion: ").append(toIndentedString(playerUrlResolverVersion)).append("\n"); + sb.append(" playerUrlResolverSha1: ").append(toIndentedString(playerUrlResolverSha1)).append("\n"); sb.append("}"); return sb.toString(); } @@ -2449,28 +2604,41 @@ private String toIndentedString(Object o) { openapiFields.add("address"); openapiFields.add("announcements"); openapiFields.add("appName"); + openapiFields.add("availableLanguageCodes"); + openapiFields.add("availableLanguages"); openapiFields.add("buildVersionTag"); openapiFields.add("clientApiKey"); openapiFields.add("clientBPSCeiling"); openapiFields.add("clientDisconnectTimeout"); + openapiFields.add("clientNetDispatchThread"); + openapiFields.add("clientNetInThread"); + openapiFields.add("clientNetInThread2"); + openapiFields.add("clientNetInThreadMobile"); + openapiFields.add("clientNetInThreadMobile2"); + openapiFields.add("clientNetOutThread"); + openapiFields.add("clientNetOutThread2"); + openapiFields.add("clientNetOutThreadMobile"); + openapiFields.add("clientNetOutThreadMobile2"); + openapiFields.add("clientQR"); openapiFields.add("clientReservedPlayerBPS"); openapiFields.add("clientSentCountAllowance"); openapiFields.add("contactEmail"); openapiFields.add("copyrightEmail"); + openapiFields.add("currentPrivacyVersion"); openapiFields.add("currentTOSVersion"); openapiFields.add("defaultAvatar"); openapiFields.add("deploymentGroup"); - openapiFields.add("devAppVersionStandalone"); - openapiFields.add("devDownloadLinkWindows"); + openapiFields.add("devLanguageCodes"); openapiFields.add("devSdkUrl"); openapiFields.add("devSdkVersion"); - openapiFields.add("devServerVersionStandalone"); openapiFields.add("dis-countdown"); + openapiFields.add("disableAVProInProton"); openapiFields.add("disableAvatarCopying"); openapiFields.add("disableAvatarGating"); openapiFields.add("disableCommunityLabs"); openapiFields.add("disableCommunityLabsPromotion"); openapiFields.add("disableEmail"); + openapiFields.add("disableCaptcha"); openapiFields.add("disableEventStream"); openapiFields.add("disableFeedbackGating"); openapiFields.add("disableFrontendBuilds"); @@ -2484,26 +2652,23 @@ private String toIndentedString(Object o) { openapiFields.add("downloadLinkWindows"); openapiFields.add("downloadUrls"); openapiFields.add("dynamicWorldRows"); + openapiFields.add("economyPauseEnd"); + openapiFields.add("economyPauseStart"); + openapiFields.add("economyState"); openapiFields.add("events"); - openapiFields.add("gearDemoRoomId"); openapiFields.add("homeWorldId"); openapiFields.add("homepageRedirectTarget"); openapiFields.add("hubWorldId"); + openapiFields.add("imageHostUrlList"); openapiFields.add("jobsEmail"); - openapiFields.add("messageOfTheDay"); openapiFields.add("moderationEmail"); - openapiFields.add("moderationQueryPeriod"); openapiFields.add("notAllowedToSelectAvatarInPrivateWorldMessage"); - openapiFields.add("plugin"); - openapiFields.add("releaseAppVersionStandalone"); - openapiFields.add("releaseSdkUrl"); - openapiFields.add("releaseSdkVersion"); - openapiFields.add("releaseServerVersionStandalone"); openapiFields.add("sdkDeveloperFaqUrl"); openapiFields.add("sdkDiscordUrl"); openapiFields.add("sdkNotAllowedToPublishMessage"); openapiFields.add("sdkUnityVersion"); openapiFields.add("serverName"); + openapiFields.add("stringHostUrlList"); openapiFields.add("supportEmail"); openapiFields.add("timeOutWorldId"); openapiFields.add("tutorialWorldId"); @@ -2514,15 +2679,10 @@ private String toIndentedString(Object o) { openapiFields.add("uploadAnalysisPercent"); openapiFields.add("urlList"); openapiFields.add("useReliableUdpForVoice"); - openapiFields.add("userUpdatePeriod"); - openapiFields.add("userVerificationDelay"); - openapiFields.add("userVerificationRetry"); - openapiFields.add("userVerificationTimeout"); openapiFields.add("viveWindowsUrl"); openapiFields.add("whiteListedAssetUrls"); - openapiFields.add("worldUpdatePeriod"); - openapiFields.add("player-url-resolver-hash"); openapiFields.add("player-url-resolver-version"); + openapiFields.add("player-url-resolver-sha1"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -2531,6 +2691,8 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("address"); openapiRequiredFields.add("announcements"); openapiRequiredFields.add("appName"); + openapiRequiredFields.add("availableLanguageCodes"); + openapiRequiredFields.add("availableLanguages"); openapiRequiredFields.add("buildVersionTag"); openapiRequiredFields.add("clientApiKey"); openapiRequiredFields.add("clientBPSCeiling"); @@ -2542,11 +2704,8 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("currentTOSVersion"); openapiRequiredFields.add("defaultAvatar"); openapiRequiredFields.add("deploymentGroup"); - openapiRequiredFields.add("devAppVersionStandalone"); - openapiRequiredFields.add("devDownloadLinkWindows"); openapiRequiredFields.add("devSdkUrl"); openapiRequiredFields.add("devSdkVersion"); - openapiRequiredFields.add("devServerVersionStandalone"); openapiRequiredFields.add("dis-countdown"); openapiRequiredFields.add("disableAvatarCopying"); openapiRequiredFields.add("disableAvatarGating"); @@ -2567,25 +2726,19 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("downloadUrls"); openapiRequiredFields.add("dynamicWorldRows"); openapiRequiredFields.add("events"); - openapiRequiredFields.add("gearDemoRoomId"); openapiRequiredFields.add("homeWorldId"); openapiRequiredFields.add("homepageRedirectTarget"); openapiRequiredFields.add("hubWorldId"); + openapiRequiredFields.add("imageHostUrlList"); openapiRequiredFields.add("jobsEmail"); - openapiRequiredFields.add("messageOfTheDay"); openapiRequiredFields.add("moderationEmail"); - openapiRequiredFields.add("moderationQueryPeriod"); openapiRequiredFields.add("notAllowedToSelectAvatarInPrivateWorldMessage"); - openapiRequiredFields.add("plugin"); - openapiRequiredFields.add("releaseAppVersionStandalone"); - openapiRequiredFields.add("releaseSdkUrl"); - openapiRequiredFields.add("releaseSdkVersion"); - openapiRequiredFields.add("releaseServerVersionStandalone"); openapiRequiredFields.add("sdkDeveloperFaqUrl"); openapiRequiredFields.add("sdkDiscordUrl"); openapiRequiredFields.add("sdkNotAllowedToPublishMessage"); openapiRequiredFields.add("sdkUnityVersion"); openapiRequiredFields.add("serverName"); + openapiRequiredFields.add("stringHostUrlList"); openapiRequiredFields.add("supportEmail"); openapiRequiredFields.add("timeOutWorldId"); openapiRequiredFields.add("tutorialWorldId"); @@ -2596,15 +2749,10 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("uploadAnalysisPercent"); openapiRequiredFields.add("urlList"); openapiRequiredFields.add("useReliableUdpForVoice"); - openapiRequiredFields.add("userUpdatePeriod"); - openapiRequiredFields.add("userVerificationDelay"); - openapiRequiredFields.add("userVerificationRetry"); - openapiRequiredFields.add("userVerificationTimeout"); openapiRequiredFields.add("viveWindowsUrl"); openapiRequiredFields.add("whiteListedAssetUrls"); - openapiRequiredFields.add("worldUpdatePeriod"); - openapiRequiredFields.add("player-url-resolver-hash"); openapiRequiredFields.add("player-url-resolver-version"); + openapiRequiredFields.add("player-url-resolver-sha1"); } /** @@ -2650,6 +2798,18 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (!jsonObj.get("appName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `appName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("appName").toString())); } + // ensure the required json array is present + if (jsonObj.get("availableLanguageCodes") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("availableLanguageCodes").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `availableLanguageCodes` to be an array in the JSON string but got `%s`", jsonObj.get("availableLanguageCodes").toString())); + } + // ensure the required json array is present + if (jsonObj.get("availableLanguages") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } 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())); + } 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())); } @@ -2665,11 +2825,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("devAppVersionStandalone").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `devAppVersionStandalone` to be a primitive type in the JSON string but got `%s`", jsonObj.get("devAppVersionStandalone").toString())); - } - if (!jsonObj.get("devDownloadLinkWindows").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `devDownloadLinkWindows` to be a primitive type in the JSON string but got `%s`", jsonObj.get("devDownloadLinkWindows").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())); } if (!jsonObj.get("devSdkUrl").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `devSdkUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("devSdkUrl").toString())); @@ -2677,9 +2835,6 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (!jsonObj.get("devSdkVersion").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `devSdkVersion` to be a primitive type in the JSON string but got `%s`", jsonObj.get("devSdkVersion").toString())); } - if (!jsonObj.get("devServerVersionStandalone").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `devServerVersionStandalone` to be a primitive type in the JSON string but got `%s`", jsonObj.get("devServerVersionStandalone").toString())); - } if (!jsonObj.get("downloadLinkWindows").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `downloadLinkWindows` to be a primitive type in the JSON string but got `%s`", jsonObj.get("downloadLinkWindows").toString())); } @@ -2695,11 +2850,14 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { for (int i = 0; i < jsonArraydynamicWorldRows.size(); i++) { DynamicContentRow.validateJsonObject(jsonArraydynamicWorldRows.get(i).getAsJsonObject()); }; + if ((jsonObj.get("economyPauseEnd") != null && !jsonObj.get("economyPauseEnd").isJsonNull()) && !jsonObj.get("economyPauseEnd").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `economyPauseEnd` to be a primitive type in the JSON string but got `%s`", jsonObj.get("economyPauseEnd").toString())); + } + if ((jsonObj.get("economyPauseStart") != null && !jsonObj.get("economyPauseStart").isJsonNull()) && !jsonObj.get("economyPauseStart").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `economyPauseStart` to be a primitive type in the JSON string but got `%s`", jsonObj.get("economyPauseStart").toString())); + } // validate the required field `events` APIConfigEvents.validateJsonObject(jsonObj.getAsJsonObject("events")); - if (!jsonObj.get("gearDemoRoomId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `gearDemoRoomId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("gearDemoRoomId").toString())); - } if (!jsonObj.get("homeWorldId").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `homeWorldId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("homeWorldId").toString())); } @@ -2709,33 +2867,21 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (!jsonObj.get("hubWorldId").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `hubWorldId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hubWorldId").toString())); } + // ensure the required json array is present + if (jsonObj.get("imageHostUrlList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("imageHostUrlList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `imageHostUrlList` to be an array in the JSON string but got `%s`", jsonObj.get("imageHostUrlList").toString())); + } if (!jsonObj.get("jobsEmail").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `jobsEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("jobsEmail").toString())); } - if (!jsonObj.get("messageOfTheDay").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `messageOfTheDay` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageOfTheDay").toString())); - } if (!jsonObj.get("moderationEmail").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `moderationEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("moderationEmail").toString())); } if (!jsonObj.get("notAllowedToSelectAvatarInPrivateWorldMessage").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `notAllowedToSelectAvatarInPrivateWorldMessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notAllowedToSelectAvatarInPrivateWorldMessage").toString())); } - if (!jsonObj.get("plugin").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `plugin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("plugin").toString())); - } - if (!jsonObj.get("releaseAppVersionStandalone").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `releaseAppVersionStandalone` to be a primitive type in the JSON string but got `%s`", jsonObj.get("releaseAppVersionStandalone").toString())); - } - if (!jsonObj.get("releaseSdkUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `releaseSdkUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("releaseSdkUrl").toString())); - } - if (!jsonObj.get("releaseSdkVersion").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `releaseSdkVersion` to be a primitive type in the JSON string but got `%s`", jsonObj.get("releaseSdkVersion").toString())); - } - if (!jsonObj.get("releaseServerVersionStandalone").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `releaseServerVersionStandalone` to be a primitive type in the JSON string but got `%s`", jsonObj.get("releaseServerVersionStandalone").toString())); - } if (!jsonObj.get("sdkDeveloperFaqUrl").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `sdkDeveloperFaqUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sdkDeveloperFaqUrl").toString())); } @@ -2751,6 +2897,12 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (!jsonObj.get("serverName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `serverName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("serverName").toString())); } + // ensure the required json array is present + if (jsonObj.get("stringHostUrlList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("stringHostUrlList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `stringHostUrlList` to be an array in the JSON string but got `%s`", jsonObj.get("stringHostUrlList").toString())); + } 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())); } @@ -2775,12 +2927,12 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { } else if (!jsonObj.get("whiteListedAssetUrls").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `whiteListedAssetUrls` to be an array in the JSON string but got `%s`", jsonObj.get("whiteListedAssetUrls").toString())); } - if (!jsonObj.get("player-url-resolver-hash").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `player-url-resolver-hash` to be a primitive type in the JSON string but got `%s`", jsonObj.get("player-url-resolver-hash").toString())); - } if (!jsonObj.get("player-url-resolver-version").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `player-url-resolver-version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("player-url-resolver-version").toString())); } + if (!jsonObj.get("player-url-resolver-sha1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `player-url-resolver-sha1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("player-url-resolver-sha1").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/io/github/vrchatapi/model/APIConfigAnnouncement.java b/src/main/java/io/github/vrchatapi/model/APIConfigAnnouncement.java index ca864db6..5d7188d8 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 b3495281..41a9e517 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 3587b529..36caf0a8 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 4c9e4bce..4b6b130e 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 0be0d71e..b5e39378 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 16ff9bec..8e9eced5 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 38c10c5a..b13f6929 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 b33e2653..ffb383e7 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 e30625b9..c24ecd12 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 de617168..d725830d 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 63569eb4..9dace559 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 09656809..16319035 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 013bf519..c6715872 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 636590dd..0fa6c605 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 be71a766..ccd5df5d 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 f4a82ed2..ac39e92b 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 c12686e4..ca7a56f0 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 d6e63177..553ab050 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 fb056aa4..9a5b876c 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 20127eb4..bec64143 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 53df727f..76c85714 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 39124442..3ffbe730 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 72f36c97..b4fb321f 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 cc701a59..681069f4 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.0 + * The version of the OpenAPI document: 1.18.1 * 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/CurrentUserPresence.java b/src/main/java/io/github/vrchatapi/model/CurrentUserPresence.java index 7bc75fdf..2672f3c5 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 02f203b4..ede77c1c 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 0c098777..7e332044 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 25b93b71..02213a78 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 52d099fc..33f43500 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 ee5b45c5..a377d834 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 85a3a817..13710551 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 d4f679de..f8b56976 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 7393d0e9..0d221e20 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.0 + * The version of the OpenAPI document: 1.18.1 * 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/FileData.java b/src/main/java/io/github/vrchatapi/model/FileData.java index 44b031bc..8f380a4b 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -187,8 +187,8 @@ public FileData md5(String md5) { * Get md5 * @return md5 **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") + @javax.annotation.Nullable + @ApiModelProperty(value = "") public String getMd5() { return md5; @@ -362,7 +362,6 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); openapiRequiredFields.add("category"); openapiRequiredFields.add("fileName"); - openapiRequiredFields.add("md5"); openapiRequiredFields.add("sizeInBytes"); openapiRequiredFields.add("status"); openapiRequiredFields.add("uploadId"); @@ -402,7 +401,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (!jsonObj.get("fileName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `fileName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fileName").toString())); } - if (!jsonObj.get("md5").isJsonPrimitive()) { + if ((jsonObj.get("md5") != null && !jsonObj.get("md5").isJsonNull()) && !jsonObj.get("md5").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `md5` to be a primitive type in the JSON string but got `%s`", jsonObj.get("md5").toString())); } if (!jsonObj.get("uploadId").isJsonPrimitive()) { diff --git a/src/main/java/io/github/vrchatapi/model/FileStatus.java b/src/main/java/io/github/vrchatapi/model/FileStatus.java index 23a97c2e..30b82f9e 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 84cb0125..4a15e11b 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 bcec9416..b4023ced 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 bdb218a1..6e1e82e6 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 fd3f6e3d..0c8e1e81 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 6e320892..ec345318 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 a4ceffde..ddea4b0d 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -135,6 +135,10 @@ public class Group { @SerializedName(SERIALIZED_NAME_TAGS) private List tags = null; + public static final String SERIALIZED_NAME_TRANSFER_TARGET_ID = "transferTargetId"; + @SerializedName(SERIALIZED_NAME_TRANSFER_TARGET_ID) + private String transferTargetId; + public static final String SERIALIZED_NAME_GALLERIES = "galleries"; @SerializedName(SERIALIZED_NAME_GALLERIES) private List galleries = null; @@ -143,6 +147,14 @@ public class Group { @SerializedName(SERIALIZED_NAME_CREATED_AT) private OffsetDateTime createdAt; + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_LAST_POST_CREATED_AT = "lastPostCreatedAt"; + @SerializedName(SERIALIZED_NAME_LAST_POST_CREATED_AT) + private OffsetDateTime lastPostCreatedAt; + public static final String SERIALIZED_NAME_ONLINE_MEMBER_COUNT = "onlineMemberCount"; @SerializedName(SERIALIZED_NAME_ONLINE_MEMBER_COUNT) private Integer onlineMemberCount; @@ -623,6 +635,29 @@ public void setTags(List tags) { } + public Group transferTargetId(String transferTargetId) { + + this.transferTargetId = transferTargetId; + return this; + } + + /** + * 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. + * @return transferTargetId + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", value = "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.") + + public String getTransferTargetId() { + return transferTargetId; + } + + + public void setTransferTargetId(String transferTargetId) { + this.transferTargetId = transferTargetId; + } + + public Group galleries(List galleries) { this.galleries = galleries; @@ -677,6 +712,52 @@ public void setCreatedAt(OffsetDateTime createdAt) { } + public Group updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public Group lastPostCreatedAt(OffsetDateTime lastPostCreatedAt) { + + this.lastPostCreatedAt = lastPostCreatedAt; + return this; + } + + /** + * Get lastPostCreatedAt + * @return lastPostCreatedAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getLastPostCreatedAt() { + return lastPostCreatedAt; + } + + + public void setLastPostCreatedAt(OffsetDateTime lastPostCreatedAt) { + this.lastPostCreatedAt = lastPostCreatedAt; + } + + public Group onlineMemberCount(Integer onlineMemberCount) { this.onlineMemberCount = onlineMemberCount; @@ -806,8 +887,11 @@ public boolean equals(Object o) { Objects.equals(this.isVerified, group.isVerified) && Objects.equals(this.joinState, group.joinState) && Objects.equals(this.tags, group.tags) && + Objects.equals(this.transferTargetId, group.transferTargetId) && Objects.equals(this.galleries, group.galleries) && Objects.equals(this.createdAt, group.createdAt) && + Objects.equals(this.updatedAt, group.updatedAt) && + Objects.equals(this.lastPostCreatedAt, group.lastPostCreatedAt) && Objects.equals(this.onlineMemberCount, group.onlineMemberCount) && Objects.equals(this.membershipStatus, group.membershipStatus) && Objects.equals(this.myMember, group.myMember) && @@ -820,7 +904,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(id, name, shortCode, discriminator, description, iconUrl, bannerUrl, privacy, ownerId, rules, links, languages, iconId, bannerId, memberCount, memberCountSyncedAt, isVerified, joinState, tags, galleries, createdAt, onlineMemberCount, membershipStatus, myMember, roles); + return Objects.hash(id, name, shortCode, discriminator, description, iconUrl, bannerUrl, privacy, ownerId, rules, links, languages, iconId, bannerId, memberCount, memberCountSyncedAt, isVerified, joinState, tags, transferTargetId, galleries, createdAt, updatedAt, lastPostCreatedAt, onlineMemberCount, membershipStatus, myMember, roles); } private static int hashCodeNullable(JsonNullable a) { @@ -853,8 +937,11 @@ public String toString() { sb.append(" isVerified: ").append(toIndentedString(isVerified)).append("\n"); sb.append(" joinState: ").append(toIndentedString(joinState)).append("\n"); sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append(" transferTargetId: ").append(toIndentedString(transferTargetId)).append("\n"); sb.append(" galleries: ").append(toIndentedString(galleries)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" lastPostCreatedAt: ").append(toIndentedString(lastPostCreatedAt)).append("\n"); sb.append(" onlineMemberCount: ").append(toIndentedString(onlineMemberCount)).append("\n"); sb.append(" membershipStatus: ").append(toIndentedString(membershipStatus)).append("\n"); sb.append(" myMember: ").append(toIndentedString(myMember)).append("\n"); @@ -900,8 +987,11 @@ private String toIndentedString(Object o) { openapiFields.add("isVerified"); openapiFields.add("joinState"); openapiFields.add("tags"); + openapiFields.add("transferTargetId"); openapiFields.add("galleries"); openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + openapiFields.add("lastPostCreatedAt"); openapiFields.add("onlineMemberCount"); openapiFields.add("membershipStatus"); openapiFields.add("myMember"); @@ -976,6 +1066,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } + if ((jsonObj.get("transferTargetId") != null && !jsonObj.get("transferTargetId").isJsonNull()) && !jsonObj.get("transferTargetId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `transferTargetId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("transferTargetId").toString())); + } if (jsonObj.get("galleries") != null && !jsonObj.get("galleries").isJsonNull()) { JsonArray jsonArraygalleries = jsonObj.getAsJsonArray("galleries"); if (jsonArraygalleries != null) { diff --git a/src/main/java/io/github/vrchatapi/model/GroupAccessType.java b/src/main/java/io/github/vrchatapi/model/GroupAccessType.java index 76e0c1b1..ec6a6527 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 e2fff96f..e4874ae4 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 aa71f475..525c8019 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 5148c1e8..fda9bfaf 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 44fceb23..53900b3e 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 0d27cd40..eda1dbee 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 f225864c..c8343e88 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 0a198f39..18334dc7 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 d14cf003..9712a0ff 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 4cd39de9..32bdfea4 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 aee04890..c46f02f0 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 5e3cc141..f72d11f2 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 4dc2b123..8741a89a 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -69,6 +69,18 @@ public class GroupMyMember { @SerializedName(SERIALIZED_NAME_ROLE_IDS) private List roleIds = null; + public static final String SERIALIZED_NAME_ACCEPTED_BY_DISPLAY_NAME = "acceptedByDisplayName"; + @SerializedName(SERIALIZED_NAME_ACCEPTED_BY_DISPLAY_NAME) + private String acceptedByDisplayName; + + public static final String SERIALIZED_NAME_ACCEPTED_BY_ID = "acceptedById"; + @SerializedName(SERIALIZED_NAME_ACCEPTED_BY_ID) + private String acceptedById; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + public static final String SERIALIZED_NAME_MANAGER_NOTES = "managerNotes"; @SerializedName(SERIALIZED_NAME_MANAGER_NOTES) private String managerNotes; @@ -101,6 +113,18 @@ public class GroupMyMember { @SerializedName(SERIALIZED_NAME_HAS2_F_A) private Boolean has2FA = false; + public static final String SERIALIZED_NAME_HAS_JOINED_FROM_PURCHASE = "hasJoinedFromPurchase"; + @SerializedName(SERIALIZED_NAME_HAS_JOINED_FROM_PURCHASE) + private Boolean hasJoinedFromPurchase = false; + + public static final String SERIALIZED_NAME_LAST_POST_READ_AT = "lastPostReadAt"; + @SerializedName(SERIALIZED_NAME_LAST_POST_READ_AT) + private OffsetDateTime lastPostReadAt; + + public static final String SERIALIZED_NAME_M_ROLE_IDS = "mRoleIds"; + @SerializedName(SERIALIZED_NAME_M_ROLE_IDS) + private List mRoleIds = null; + public static final String SERIALIZED_NAME_PERMISSIONS = "permissions"; @SerializedName(SERIALIZED_NAME_PERMISSIONS) private List permissions = null; @@ -208,6 +232,75 @@ public void setRoleIds(List roleIds) { } + public GroupMyMember acceptedByDisplayName(String acceptedByDisplayName) { + + this.acceptedByDisplayName = acceptedByDisplayName; + return this; + } + + /** + * Get acceptedByDisplayName + * @return acceptedByDisplayName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getAcceptedByDisplayName() { + return acceptedByDisplayName; + } + + + public void setAcceptedByDisplayName(String acceptedByDisplayName) { + this.acceptedByDisplayName = acceptedByDisplayName; + } + + + public GroupMyMember acceptedById(String acceptedById) { + + this.acceptedById = acceptedById; + return this; + } + + /** + * 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. + * @return acceptedById + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", value = "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.") + + public String getAcceptedById() { + return acceptedById; + } + + + public void setAcceptedById(String acceptedById) { + this.acceptedById = acceptedById; + } + + + public GroupMyMember createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + public GroupMyMember managerNotes(String managerNotes) { this.managerNotes = managerNotes; @@ -392,6 +485,83 @@ public void setHas2FA(Boolean has2FA) { } + public GroupMyMember hasJoinedFromPurchase(Boolean hasJoinedFromPurchase) { + + this.hasJoinedFromPurchase = hasJoinedFromPurchase; + return this; + } + + /** + * Get hasJoinedFromPurchase + * @return hasJoinedFromPurchase + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getHasJoinedFromPurchase() { + return hasJoinedFromPurchase; + } + + + public void setHasJoinedFromPurchase(Boolean hasJoinedFromPurchase) { + this.hasJoinedFromPurchase = hasJoinedFromPurchase; + } + + + public GroupMyMember lastPostReadAt(OffsetDateTime lastPostReadAt) { + + this.lastPostReadAt = lastPostReadAt; + return this; + } + + /** + * Get lastPostReadAt + * @return lastPostReadAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getLastPostReadAt() { + return lastPostReadAt; + } + + + public void setLastPostReadAt(OffsetDateTime lastPostReadAt) { + this.lastPostReadAt = lastPostReadAt; + } + + + public GroupMyMember mRoleIds(List mRoleIds) { + + this.mRoleIds = mRoleIds; + return this; + } + + public GroupMyMember addMRoleIdsItem(String mRoleIdsItem) { + if (this.mRoleIds == null) { + this.mRoleIds = new ArrayList<>(); + } + this.mRoleIds.add(mRoleIdsItem); + return this; + } + + /** + * Get mRoleIds + * @return mRoleIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getmRoleIds() { + return mRoleIds; + } + + + public void setmRoleIds(List mRoleIds) { + this.mRoleIds = mRoleIds; + } + + public GroupMyMember permissions(List permissions) { this.permissions = permissions; @@ -437,6 +607,9 @@ public boolean equals(Object o) { Objects.equals(this.groupId, groupMyMember.groupId) && Objects.equals(this.userId, groupMyMember.userId) && Objects.equals(this.roleIds, groupMyMember.roleIds) && + Objects.equals(this.acceptedByDisplayName, groupMyMember.acceptedByDisplayName) && + Objects.equals(this.acceptedById, groupMyMember.acceptedById) && + Objects.equals(this.createdAt, groupMyMember.createdAt) && Objects.equals(this.managerNotes, groupMyMember.managerNotes) && Objects.equals(this.membershipStatus, groupMyMember.membershipStatus) && Objects.equals(this.isSubscribedToAnnouncements, groupMyMember.isSubscribedToAnnouncements) && @@ -445,6 +618,9 @@ public boolean equals(Object o) { Objects.equals(this.joinedAt, groupMyMember.joinedAt) && Objects.equals(this.bannedAt, groupMyMember.bannedAt) && Objects.equals(this.has2FA, groupMyMember.has2FA) && + Objects.equals(this.hasJoinedFromPurchase, groupMyMember.hasJoinedFromPurchase) && + Objects.equals(this.lastPostReadAt, groupMyMember.lastPostReadAt) && + Objects.equals(this.mRoleIds, groupMyMember.mRoleIds) && Objects.equals(this.permissions, groupMyMember.permissions); } @@ -454,7 +630,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(id, groupId, userId, roleIds, managerNotes, membershipStatus, isSubscribedToAnnouncements, visibility, isRepresenting, joinedAt, bannedAt, has2FA, permissions); + return Objects.hash(id, groupId, userId, roleIds, acceptedByDisplayName, acceptedById, createdAt, managerNotes, membershipStatus, isSubscribedToAnnouncements, visibility, isRepresenting, joinedAt, bannedAt, has2FA, hasJoinedFromPurchase, lastPostReadAt, mRoleIds, permissions); } private static int hashCodeNullable(JsonNullable a) { @@ -472,6 +648,9 @@ public String toString() { sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); sb.append(" roleIds: ").append(toIndentedString(roleIds)).append("\n"); + sb.append(" acceptedByDisplayName: ").append(toIndentedString(acceptedByDisplayName)).append("\n"); + sb.append(" acceptedById: ").append(toIndentedString(acceptedById)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" managerNotes: ").append(toIndentedString(managerNotes)).append("\n"); sb.append(" membershipStatus: ").append(toIndentedString(membershipStatus)).append("\n"); sb.append(" isSubscribedToAnnouncements: ").append(toIndentedString(isSubscribedToAnnouncements)).append("\n"); @@ -480,6 +659,9 @@ public String toString() { sb.append(" joinedAt: ").append(toIndentedString(joinedAt)).append("\n"); sb.append(" bannedAt: ").append(toIndentedString(bannedAt)).append("\n"); sb.append(" has2FA: ").append(toIndentedString(has2FA)).append("\n"); + sb.append(" hasJoinedFromPurchase: ").append(toIndentedString(hasJoinedFromPurchase)).append("\n"); + sb.append(" lastPostReadAt: ").append(toIndentedString(lastPostReadAt)).append("\n"); + sb.append(" mRoleIds: ").append(toIndentedString(mRoleIds)).append("\n"); sb.append(" permissions: ").append(toIndentedString(permissions)).append("\n"); sb.append("}"); return sb.toString(); @@ -507,6 +689,9 @@ private String toIndentedString(Object o) { openapiFields.add("groupId"); openapiFields.add("userId"); openapiFields.add("roleIds"); + openapiFields.add("acceptedByDisplayName"); + openapiFields.add("acceptedById"); + openapiFields.add("createdAt"); openapiFields.add("managerNotes"); openapiFields.add("membershipStatus"); openapiFields.add("isSubscribedToAnnouncements"); @@ -515,6 +700,9 @@ private String toIndentedString(Object o) { openapiFields.add("joinedAt"); openapiFields.add("bannedAt"); openapiFields.add("has2FA"); + openapiFields.add("hasJoinedFromPurchase"); + openapiFields.add("lastPostReadAt"); + openapiFields.add("mRoleIds"); openapiFields.add("permissions"); // a set of required properties/fields (JSON key names) @@ -554,6 +742,12 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj.get("roleIds") != null && !jsonObj.get("roleIds").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `roleIds` to be an array in the JSON string but got `%s`", jsonObj.get("roleIds").toString())); } + if ((jsonObj.get("acceptedByDisplayName") != null && !jsonObj.get("acceptedByDisplayName").isJsonNull()) && !jsonObj.get("acceptedByDisplayName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `acceptedByDisplayName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("acceptedByDisplayName").toString())); + } + if ((jsonObj.get("acceptedById") != null && !jsonObj.get("acceptedById").isJsonNull()) && !jsonObj.get("acceptedById").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `acceptedById` to be a primitive type in the JSON string but got `%s`", jsonObj.get("acceptedById").toString())); + } if ((jsonObj.get("managerNotes") != null && !jsonObj.get("managerNotes").isJsonNull()) && !jsonObj.get("managerNotes").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `managerNotes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("managerNotes").toString())); } @@ -567,6 +761,10 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("Expected the field `bannedAt` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bannedAt").toString())); } // ensure the optional json data is an array if present + if (jsonObj.get("mRoleIds") != null && !jsonObj.get("mRoleIds").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `mRoleIds` to be an array in the JSON string but got `%s`", jsonObj.get("mRoleIds").toString())); + } + // ensure the optional json data is an array if present if (jsonObj.get("permissions") != null && !jsonObj.get("permissions").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `permissions` to be an array in the JSON string but got `%s`", jsonObj.get("permissions").toString())); } diff --git a/src/main/java/io/github/vrchatapi/model/GroupPermission.java b/src/main/java/io/github/vrchatapi/model/GroupPermission.java index ad20cbb4..bc700fbd 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 7f0731e2..2cd0f535 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 e214c6fe..1a5088c3 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 5d6e98b6..b4f330fb 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 04cd43c6..6c3c834f 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 3ddf6852..9af70895 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 d0c8e251..753ef0a8 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 2c701571..764a997e 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 7cea12b4..576dc37c 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 6097fccd..67616458 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 388b0849..b1d55d11 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 094289cc..db767404 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 4ea8f25c..3e2123f7 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 e0a7156b..0bab3362 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.0 + * The version of the OpenAPI document: 1.18.1 * 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/InstancePlatforms.java b/src/main/java/io/github/vrchatapi/model/InstancePlatforms.java index 2d4eccd1..5685ffd2 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 53d4cc12..7c1dbcf8 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 d8121cb3..4a15e4a6 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 cd920463..24feb6ee 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 c8d0d8cc..1256034a 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 5e244e4a..9be4444b 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 085462ce..dc468544 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 69c203e9..61d878f1 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 958dce4e..5f5e9f00 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 9e29a039..98452263 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 918deaa0..99b0ca12 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 82b67339..4c453af1 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 68c4d914..049f516c 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 b889b537..0d155ee5 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 10f06954..69e8acb1 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 9a5d329e..f3ef8b77 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 03fa4d92..0be54fda 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 488a756b..b60175f9 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 f5b20462..8d6e2ab0 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 fa86e7e3..3f2f0f30 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 229c96b5..4d766560 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 52879d4f..54e71a5c 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 dc40a88f..22b5cd83 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 4e9e1e65..b6ac0799 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 74215792..160ddaf2 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 110287e8..0c2f8a11 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 93dfa78a..b11aa37c 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 cbf56d6f..1553559c 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 894b9de3..1f962efe 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 30096197..596abb6e 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 2afc161e..b3415598 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,6 +54,10 @@ public class Permission { @SerializedName(SERIALIZED_NAME_ID) private String id; + public static final String SERIALIZED_NAME_OWNER_DISPLAY_NAME = "ownerDisplayName"; + @SerializedName(SERIALIZED_NAME_OWNER_DISPLAY_NAME) + private String ownerDisplayName; + public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) private String name; @@ -92,6 +96,29 @@ public void setId(String id) { } + public Permission ownerDisplayName(String ownerDisplayName) { + + this.ownerDisplayName = ownerDisplayName; + return this; + } + + /** + * Get ownerDisplayName + * @return ownerDisplayName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getOwnerDisplayName() { + return ownerDisplayName; + } + + + public void setOwnerDisplayName(String ownerDisplayName) { + this.ownerDisplayName = ownerDisplayName; + } + + public Permission name(String name) { this.name = name; @@ -172,6 +199,7 @@ public boolean equals(Object o) { } Permission permission = (Permission) o; return Objects.equals(this.id, permission.id) && + Objects.equals(this.ownerDisplayName, permission.ownerDisplayName) && Objects.equals(this.name, permission.name) && Objects.equals(this.ownerId, permission.ownerId) && Objects.equals(this.data, permission.data); @@ -179,7 +207,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(id, name, ownerId, data); + return Objects.hash(id, ownerDisplayName, name, ownerId, data); } @Override @@ -187,6 +215,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Permission {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" ownerDisplayName: ").append(toIndentedString(ownerDisplayName)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" ownerId: ").append(toIndentedString(ownerId)).append("\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); @@ -213,6 +242,7 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("id"); + openapiFields.add("ownerDisplayName"); openapiFields.add("name"); openapiFields.add("ownerId"); openapiFields.add("data"); @@ -220,6 +250,7 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); openapiRequiredFields.add("id"); + openapiRequiredFields.add("ownerDisplayName"); openapiRequiredFields.add("name"); openapiRequiredFields.add("ownerId"); } @@ -254,6 +285,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (!jsonObj.get("id").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); } + if (!jsonObj.get("ownerDisplayName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ownerDisplayName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ownerDisplayName").toString())); + } if (!jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } diff --git a/src/main/java/io/github/vrchatapi/model/PlayerModeration.java b/src/main/java/io/github/vrchatapi/model/PlayerModeration.java index 886c11d2..a5e7b4c6 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 9f99be49..9011c528 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 e3980bd8..d31a62ea 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 1bd153e1..f2eb3e7f 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 a295812a..4aa6ffc8 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 5ad19255..a71bd38a 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 e579b7f2..62c0d11f 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 8ba33e19..edca1a1e 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 3b1f81c8..e4b4286e 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 e2ce9251..eb473da6 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 6c6598cb..6a9b31d1 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 ec1b081c..1b60d41b 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 75118f1b..43d979af 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 683816ca..3d3eb036 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 92d6f1b2..0a294302 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -46,9 +46,9 @@ import io.github.vrchatapi.JSON; /** - * + * Represents a single Transaction, which is likely between VRChat and Steam. */ -@ApiModel(description = "") +@ApiModel(description = "Represents a single Transaction, which is likely between VRChat and Steam.") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class TransactionAgreement { public static final String SERIALIZED_NAME_AGREEMENT_ID = "agreementId"; @@ -59,6 +59,10 @@ public class TransactionAgreement { @SerializedName(SERIALIZED_NAME_ITEM_ID) private BigDecimal itemId; + public static final String SERIALIZED_NAME_AGREEMENT = "agreement"; + @SerializedName(SERIALIZED_NAME_AGREEMENT) + private String agreement; + public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private String status; @@ -168,6 +172,29 @@ public void setItemId(BigDecimal itemId) { } + public TransactionAgreement agreement(String agreement) { + + this.agreement = agreement; + return this; + } + + /** + * Get agreement + * @return agreement + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getAgreement() { + return agreement; + } + + + public void setAgreement(String agreement) { + this.agreement = agreement; + } + + public TransactionAgreement status(String status) { this.status = status; @@ -525,6 +552,7 @@ public boolean equals(Object o) { TransactionAgreement transactionAgreement = (TransactionAgreement) o; return Objects.equals(this.agreementId, transactionAgreement.agreementId) && Objects.equals(this.itemId, transactionAgreement.itemId) && + Objects.equals(this.agreement, transactionAgreement.agreement) && Objects.equals(this.status, transactionAgreement.status) && Objects.equals(this.period, transactionAgreement.period) && Objects.equals(this.frequency, transactionAgreement.frequency) && @@ -544,7 +572,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(agreementId, itemId, status, period, frequency, billingType, startDate, endDate, recurringAmt, currency, timeCreated, nextPayment, lastPayment, lastAmount, lastAmountVat, outstanding, failedAttempts); + return Objects.hash(agreementId, itemId, agreement, status, period, frequency, billingType, startDate, endDate, recurringAmt, currency, timeCreated, nextPayment, lastPayment, lastAmount, lastAmountVat, outstanding, failedAttempts); } @Override @@ -553,6 +581,7 @@ public String toString() { sb.append("class TransactionAgreement {\n"); sb.append(" agreementId: ").append(toIndentedString(agreementId)).append("\n"); sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n"); + sb.append(" agreement: ").append(toIndentedString(agreement)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" period: ").append(toIndentedString(period)).append("\n"); sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n"); @@ -592,6 +621,7 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("agreementId"); openapiFields.add("itemId"); + openapiFields.add("agreement"); openapiFields.add("status"); openapiFields.add("period"); openapiFields.add("frequency"); @@ -612,6 +642,7 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); openapiRequiredFields.add("agreementId"); openapiRequiredFields.add("itemId"); + openapiRequiredFields.add("agreement"); openapiRequiredFields.add("status"); openapiRequiredFields.add("period"); openapiRequiredFields.add("frequency"); @@ -659,6 +690,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (!jsonObj.get("agreementId").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `agreementId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("agreementId").toString())); } + if (!jsonObj.get("agreement").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `agreement` to be a primitive type in the JSON string but got `%s`", jsonObj.get("agreement").toString())); + } if (!jsonObj.get("status").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("status").toString())); } diff --git a/src/main/java/io/github/vrchatapi/model/TransactionStatus.java b/src/main/java/io/github/vrchatapi/model/TransactionStatus.java index 2cd41c14..a365a40a 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 f6d363c3..d7cc0eab 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 5c923b9f..73cd4369 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 c87ccbf4..139c7b6e 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 66592f1b..6012ac0e 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 5f8f9a5a..7c9434ea 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 96f45ef9..eece5857 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 b058dead..f64ce1b0 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 c539db6a..d2fc6712 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 82369d8b..e777b66e 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 951e83ea..6850cef0 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 abec362f..1b66ff15 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 1df5e696..a4c2ccd4 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 5c513829..7a17f79c 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 8d833cb0..da4aa1b4 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 78e69d56..6c7bfa34 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.0 + * The version of the OpenAPI document: 1.18.1 * 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/UserExists.java b/src/main/java/io/github/vrchatapi/model/UserExists.java index 9120c10f..75fe0594 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 07849e6f..6b7b8948 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 0e363578..5f7de37c 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 a53096e1..91ee97dd 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -96,6 +96,10 @@ public class UserSubscription { @SerializedName(SERIALIZED_NAME_STATUS) private TransactionStatus status = TransactionStatus.ACTIVE; + public static final String SERIALIZED_NAME_STARTS = "starts"; + @SerializedName(SERIALIZED_NAME_STARTS) + private OffsetDateTime starts; + public static final String SERIALIZED_NAME_EXPIRES = "expires"; @SerializedName(SERIALIZED_NAME_EXPIRES) private OffsetDateTime expires; @@ -130,7 +134,7 @@ public UserSubscription id(String id) { * @return id **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "vrchatplus-yearly", required = true, value = "") public String getId() { return id; @@ -176,7 +180,7 @@ public UserSubscription store(String store) { * @return store **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\".") + @ApiModelProperty(example = "Steam", required = true, value = "Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\".") public String getStore() { return store; @@ -199,7 +203,7 @@ public UserSubscription steamItemId(String steamItemId) { * @return steamItemId **/ @javax.annotation.Nullable - @ApiModelProperty(value = "") + @ApiModelProperty(example = "5000", value = "") public String getSteamItemId() { return steamItemId; @@ -222,7 +226,7 @@ public UserSubscription amount(BigDecimal amount) { * @return amount **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "9999", required = true, value = "") public BigDecimal getAmount() { return amount; @@ -245,7 +249,7 @@ public UserSubscription description(String description) { * @return description **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "VRChat Plus (Yearly)", required = true, value = "") public String getDescription() { return description; @@ -291,7 +295,7 @@ public UserSubscription tier(BigDecimal tier) { * @return tier **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "5", required = true, value = "") public BigDecimal getTier() { return tier; @@ -349,6 +353,29 @@ public void setStatus(TransactionStatus status) { } + public UserSubscription starts(OffsetDateTime starts) { + + this.starts = starts; + return this; + } + + /** + * Get starts + * @return starts + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "2022-03-04T00:00Z", value = "") + + public OffsetDateTime getStarts() { + return starts; + } + + + public void setStarts(OffsetDateTime starts) { + this.starts = starts; + } + + public UserSubscription expires(OffsetDateTime expires) { this.expires = expires; @@ -360,7 +387,7 @@ public UserSubscription expires(OffsetDateTime expires) { * @return expires **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "2022-03-04T00:00Z", required = true, value = "") public OffsetDateTime getExpires() { return expires; @@ -383,7 +410,7 @@ public UserSubscription createdAt(OffsetDateTime createdAt) { * @return createdAt **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "2022-03-04T00:00Z", required = true, value = "") public OffsetDateTime getCreatedAt() { return createdAt; @@ -406,7 +433,7 @@ public UserSubscription updatedAt(OffsetDateTime updatedAt) { * @return updatedAt **/ @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "2022-03-04T00:00Z", required = true, value = "") public OffsetDateTime getUpdatedAt() { return updatedAt; @@ -489,6 +516,7 @@ public boolean equals(Object o) { Objects.equals(this.tier, userSubscription.tier) && Objects.equals(this.active, userSubscription.active) && Objects.equals(this.status, userSubscription.status) && + Objects.equals(this.starts, userSubscription.starts) && Objects.equals(this.expires, userSubscription.expires) && Objects.equals(this.createdAt, userSubscription.createdAt) && Objects.equals(this.updatedAt, userSubscription.updatedAt) && @@ -498,7 +526,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(id, transactionId, store, steamItemId, amount, description, period, tier, active, status, expires, createdAt, updatedAt, licenseGroups, isGift); + return Objects.hash(id, transactionId, store, steamItemId, amount, description, period, tier, active, status, starts, expires, createdAt, updatedAt, licenseGroups, isGift); } @Override @@ -515,6 +543,7 @@ public String toString() { sb.append(" tier: ").append(toIndentedString(tier)).append("\n"); sb.append(" active: ").append(toIndentedString(active)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" starts: ").append(toIndentedString(starts)).append("\n"); sb.append(" expires: ").append(toIndentedString(expires)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); @@ -552,6 +581,7 @@ private String toIndentedString(Object o) { openapiFields.add("tier"); openapiFields.add("active"); openapiFields.add("status"); + openapiFields.add("starts"); openapiFields.add("expires"); openapiFields.add("created_at"); openapiFields.add("updated_at"); diff --git a/src/main/java/io/github/vrchatapi/model/Verify2FAEmailCodeResult.java b/src/main/java/io/github/vrchatapi/model/Verify2FAEmailCodeResult.java index b0ef0146..300987e9 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 57a51d08..1fd20e08 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 9694e692..4aa8d810 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 bcd71a1d..9335e62d 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.0 + * The version of the OpenAPI document: 1.18.1 * 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/WorldMetadata.java b/src/main/java/io/github/vrchatapi/model/WorldMetadata.java index f4e78dc8..f42aa8d1 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.0 + * The version of the OpenAPI document: 1.18.1 * 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 09a2ef08..35d7d180 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.0 + * The version of the OpenAPI document: 1.18.1 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).