Skip to content

Commit e35ac2b

Browse files
committed
Upgrade Java SDK to spec 1.21.1-nightly.12
1 parent 895f005 commit e35ac2b

14 files changed

Lines changed: 316 additions & 56 deletions

.openapi-generator/FILES

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ docs/CreateProductRequest.md
9191
docs/CreatePropRequest.md
9292
docs/CreateWorldRequest.md
9393
docs/CurrentUser.md
94-
docs/CurrentUserPlatformHistoryInner.md
9594
docs/CurrentUserPresence.md
9695
docs/DeclineGroupInviteRequest.md
9796
docs/DeveloperType.md
@@ -267,6 +266,7 @@ docs/PerformanceRatings.md
267266
docs/Permission.md
268267
docs/PermissionData.md
269268
docs/PlatformBuildInfo.md
269+
docs/PlatformHistoryEntry.md
270270
docs/PlayerModeration.md
271271
docs/PlayerModerationType.md
272272
docs/PlayermoderationApi.md
@@ -530,7 +530,6 @@ src/main/java/io/github/vrchatapi/model/CreateProductRequest.java
530530
src/main/java/io/github/vrchatapi/model/CreatePropRequest.java
531531
src/main/java/io/github/vrchatapi/model/CreateWorldRequest.java
532532
src/main/java/io/github/vrchatapi/model/CurrentUser.java
533-
src/main/java/io/github/vrchatapi/model/CurrentUserPlatformHistoryInner.java
534533
src/main/java/io/github/vrchatapi/model/CurrentUserPresence.java
535534
src/main/java/io/github/vrchatapi/model/DeclineGroupInviteRequest.java
536535
src/main/java/io/github/vrchatapi/model/DeveloperType.java
@@ -695,6 +694,7 @@ src/main/java/io/github/vrchatapi/model/PerformanceRatings.java
695694
src/main/java/io/github/vrchatapi/model/Permission.java
696695
src/main/java/io/github/vrchatapi/model/PermissionData.java
697696
src/main/java/io/github/vrchatapi/model/PlatformBuildInfo.java
697+
src/main/java/io/github/vrchatapi/model/PlatformHistoryEntry.java
698698
src/main/java/io/github/vrchatapi/model/PlayerModeration.java
699699
src/main/java/io/github/vrchatapi/model/PlayerModerationType.java
700700
src/main/java/io/github/vrchatapi/model/Print.java

docs/APIConfigProfileDefaults.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# APIConfigProfileDefaults
44

5-
Default profile theme colours, each a hex RGB triplet without a leading `#`.
5+
Default profile theme colors.
66

77
## Properties
88

docs/CurrentUser.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
|**ageVerificationStatus** | **AgeVerificationStatus** | | |
1616
|**ageVerified** | **Boolean** | `true` if, user is age verified (not 18+). | |
1717
|**allowAvatarCopying** | **Boolean** | | |
18-
|**appleDetails** | **Object** | | [optional] |
18+
|**appleDetails** | **Object** | Details of an account on another service linked to this one. | [optional] |
1919
|**appleId** | **String** | | [optional] |
2020
|**authToken** | **String** | The auth token for NEWLY REGISTERED ACCOUNTS ONLY (/auth/register) | [optional] |
2121
|**bannerColor** | **String** | Six hexadecimal digits, without a leading `#`. May be empty. | [optional] |
@@ -38,7 +38,7 @@
3838
|**friendKey** | **String** | | |
3939
|**friendRequestStatus** | **String** | State of a friend request between the caller and this user. VRChat sends the string `\"null\"`, not JSON `null`. | [optional] |
4040
|**friends** | **List<String>** | | |
41-
|**googleDetails** | **Object** | | [optional] |
41+
|**googleDetails** | **Object** | Details of an account on another service linked to this one. | [optional] |
4242
|**googleId** | **String** | | [optional] |
4343
|**hasBirthday** | **Boolean** | | |
4444
|**hasDiscordFriendsOptOut** | **Boolean** | | [optional] |
@@ -73,7 +73,7 @@
7373
|**personalizationOptOut** | **Boolean** | | [optional] |
7474
|**picoId** | **String** | | [optional] |
7575
|**platform** | **String** | | [optional] |
76-
|**platformHistory** | [**List<CurrentUserPlatformHistoryInner>**](CurrentUserPlatformHistoryInner.md) | | [optional] |
76+
|**platformHistory** | [**List<PlatformHistoryEntry>**](PlatformHistoryEntry.md) | | [optional] |
7777
|**presence** | [**CurrentUserPresence**](CurrentUserPresence.md) | | [optional] |
7878
|**profileEffect** | **String** | | [optional] |
7979
|**pronouns** | **String** | | |
@@ -85,14 +85,14 @@
8585
|**statusDescription** | **String** | | |
8686
|**statusFirstTime** | **Boolean** | | |
8787
|**statusHistory** | **List<String>** | | |
88-
|**steamDetails** | **Object** | | |
88+
|**steamDetails** | **Object** | Details of an account on another service linked to this one. | |
8989
|**steamId** | **String** | | |
9090
|**tags** | **List<String>** | | |
9191
|**temporaryExpiryDate** | **Object** | | [optional] |
9292
|**travelingToInstance** | **String** | | [optional] |
9393
|**travelingToLocation** | **String** | | [optional] |
9494
|**travelingToWorld** | **String** | | [optional] |
95-
|**twitchDetails** | **Object** | | [optional] |
95+
|**twitchDetails** | **Object** | Details of an account on another service linked to this one. | [optional] |
9696
|**twitchId** | **String** | | [optional] |
9797
|**twoFactorAuthEnabled** | **Boolean** | | |
9898
|**twoFactorAuthEnabledDate** | **OffsetDateTime** | | [optional] |

docs/InventoryApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1*
77
| [**consumeOwnInventoryItem**](InventoryApi.md#consumeOwnInventoryItem) | **PUT** /inventory/{inventoryItemId}/consume | Consume Own Inventory Item |
88
| [**deleteOwnInventoryItem**](InventoryApi.md#deleteOwnInventoryItem) | **DELETE** /inventory/{inventoryItemId} | Delete Own Inventory Item |
99
| [**equipOwnInventoryItem**](InventoryApi.md#equipOwnInventoryItem) | **PUT** /inventory/{inventoryItemId}/equip | Equip Own Inventory Item |
10-
| [**getCosmeticIndex**](InventoryApi.md#getCosmeticIndex) | **GET** /cosmetics/index/{itemType} | List Cosmetics |
10+
| [**getCosmetics**](InventoryApi.md#getCosmetics) | **GET** /cosmetics/index/{itemType} | List Cosmetics |
1111
| [**getInventory**](InventoryApi.md#getInventory) | **GET** /inventory | Get Inventory |
1212
| [**getInventoryCollections**](InventoryApi.md#getInventoryCollections) | **GET** /inventory/collections | List Inventory Collections |
1313
| [**getInventoryDrops**](InventoryApi.md#getInventoryDrops) | **GET** /inventory/drops | List Inventory Drops |
@@ -237,9 +237,9 @@ public class Example {
237237
| **400** | Error response when trying to equip an InventoryItem lacking the equippable flag. | - |
238238
| **401** | Error response due to missing auth cookie. | - |
239239

240-
<a id="getCosmeticIndex"></a>
241-
# **getCosmeticIndex**
242-
> List&lt;InventoryTemplate&gt; getCosmeticIndex(itemType)
240+
<a id="getCosmetics"></a>
241+
# **getCosmetics**
242+
> List&lt;InventoryTemplate&gt; getCosmetics(itemType)
243243
244244
List Cosmetics
245245

@@ -269,10 +269,10 @@ public class Example {
269269
InventoryApi apiInstance = new InventoryApi(defaultClient);
270270
String itemType = "droneskin"; // String | The kind of cosmetic to list.
271271
try {
272-
List<InventoryTemplate> result = apiInstance.getCosmeticIndex(itemType);
272+
List<InventoryTemplate> result = apiInstance.getCosmetics(itemType);
273273
System.out.println(result);
274274
} catch (ApiException e) {
275-
System.err.println("Exception when calling InventoryApi#getCosmeticIndex");
275+
System.err.println("Exception when calling InventoryApi#getCosmetics");
276276
System.err.println("Status code: " + e.getCode());
277277
System.err.println("Reason: " + e.getResponseBody());
278278
System.err.println("Response headers: " + e.getResponseHeaders());

docs/PlatformHistoryEntry.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# PlatformHistoryEntry
4+
5+
A platform the user was recorded on, and when.
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**isMobile** | **Boolean** | | [optional] |
12+
|**platform** | **String** | This is normally &#x60;android&#x60;, &#x60;ios&#x60;, &#x60;standalonewindows&#x60;, &#x60;web&#x60;, or the empty value &#x60;&#x60;, but also supposedly can be any random Unity version such as &#x60;2019.2.4-801-Release&#x60; or &#x60;2019.2.2-772-Release&#x60; or even &#x60;unknownplatform&#x60;. | [optional] |
13+
|**recorded** | **OffsetDateTime** | | [optional] |
14+
15+
16+

docs/User.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
|**ageVerificationStatus** | **AgeVerificationStatus** | | |
1515
|**ageVerified** | **Boolean** | &#x60;true&#x60; if, user is age verified (not 18+). | |
1616
|**allowAvatarCopying** | **Boolean** | | |
17-
|**appleDetails** | **Map&lt;String, Object&gt;** | | [optional] |
17+
|**appleDetails** | **Object** | Details of an account on another service linked to this one. | [optional] |
1818
|**bannerColor** | **String** | Six hexadecimal digits, without a leading &#x60;#&#x60;. May be empty. | [optional] |
1919
|**bannerType** | **String** | | [optional] |
2020
|**bannerUrl** | **String** | | [optional] |

docs/WorldFavoriteList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# WorldFavoriteList
44

5-
A world favorite group summarised for a public profile, with a sample of its worlds' thumbnails.
5+
A world favorite group as a public profile lists it, with a sample of its worlds' thumbnails.
66

77
## Properties
88

src/main/java/io/github/vrchatapi/JSON.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
168168
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.CreatePropRequest.CustomTypeAdapterFactory());
169169
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.CreateWorldRequest.CustomTypeAdapterFactory());
170170
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.CurrentUser.CustomTypeAdapterFactory());
171-
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.CurrentUserPlatformHistoryInner.CustomTypeAdapterFactory());
172171
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.CurrentUserPresence.CustomTypeAdapterFactory());
173172
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.DeclineGroupInviteRequest.CustomTypeAdapterFactory());
174173
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.Disable2FAResult.CustomTypeAdapterFactory());
@@ -301,6 +300,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
301300
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.Permission.CustomTypeAdapterFactory());
302301
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.PermissionData.CustomTypeAdapterFactory());
303302
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.PlatformBuildInfo.CustomTypeAdapterFactory());
303+
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.PlatformHistoryEntry.CustomTypeAdapterFactory());
304304
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.PlayerModeration.CustomTypeAdapterFactory());
305305
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.Print.CustomTypeAdapterFactory());
306306
gsonBuilder.registerTypeAdapterFactory(new io.github.vrchatapi.model.PrintFiles.CustomTypeAdapterFactory());

src/main/java/io/github/vrchatapi/api/InventoryApi.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ public okhttp3.Call equipOwnInventoryItemAsync(@javax.annotation.Nonnull String
495495
return localVarCall;
496496
}
497497
/**
498-
* Build call for getCosmeticIndex
498+
* Build call for getCosmetics
499499
* @param itemType The kind of cosmetic to list. (required)
500500
* @param _callback Callback for upload/download progress
501501
* @return Call to execute
@@ -509,7 +509,7 @@ public okhttp3.Call equipOwnInventoryItemAsync(@javax.annotation.Nonnull String
509509
<tr><td> 401 </td><td> Error response due to missing auth cookie. </td><td> - </td></tr>
510510
</table>
511511
*/
512-
public okhttp3.Call getCosmeticIndexCall(@javax.annotation.Nonnull String itemType, final ApiCallback _callback) throws ApiException {
512+
public okhttp3.Call getCosmeticsCall(@javax.annotation.Nonnull String itemType, final ApiCallback _callback) throws ApiException {
513513
String basePath = null;
514514
// Operation Servers
515515
String[] localBasePaths = new String[] { };
@@ -555,13 +555,13 @@ public okhttp3.Call getCosmeticIndexCall(@javax.annotation.Nonnull String itemTy
555555
}
556556

557557
@SuppressWarnings("rawtypes")
558-
private okhttp3.Call getCosmeticIndexValidateBeforeCall(@javax.annotation.Nonnull String itemType, final ApiCallback _callback) throws ApiException {
558+
private okhttp3.Call getCosmeticsValidateBeforeCall(@javax.annotation.Nonnull String itemType, final ApiCallback _callback) throws ApiException {
559559
// verify the required parameter 'itemType' is set
560560
if (itemType == null) {
561-
throw new ApiException("Missing the required parameter 'itemType' when calling getCosmeticIndex(Async)");
561+
throw new ApiException("Missing the required parameter 'itemType' when calling getCosmetics(Async)");
562562
}
563563

564-
return getCosmeticIndexCall(itemType, _callback);
564+
return getCosmeticsCall(itemType, _callback);
565565

566566
}
567567

@@ -580,8 +580,8 @@ private okhttp3.Call getCosmeticIndexValidateBeforeCall(@javax.annotation.Nonnul
580580
<tr><td> 401 </td><td> Error response due to missing auth cookie. </td><td> - </td></tr>
581581
</table>
582582
*/
583-
public List<InventoryTemplate> getCosmeticIndex(@javax.annotation.Nonnull String itemType) throws ApiException {
584-
ApiResponse<List<InventoryTemplate>> localVarResp = getCosmeticIndexWithHttpInfo(itemType);
583+
public List<InventoryTemplate> getCosmetics(@javax.annotation.Nonnull String itemType) throws ApiException {
584+
ApiResponse<List<InventoryTemplate>> localVarResp = getCosmeticsWithHttpInfo(itemType);
585585
return localVarResp.getData();
586586
}
587587

@@ -600,8 +600,8 @@ public List<InventoryTemplate> getCosmeticIndex(@javax.annotation.Nonnull String
600600
<tr><td> 401 </td><td> Error response due to missing auth cookie. </td><td> - </td></tr>
601601
</table>
602602
*/
603-
public ApiResponse<List<InventoryTemplate>> getCosmeticIndexWithHttpInfo(@javax.annotation.Nonnull String itemType) throws ApiException {
604-
okhttp3.Call localVarCall = getCosmeticIndexValidateBeforeCall(itemType, null);
603+
public ApiResponse<List<InventoryTemplate>> getCosmeticsWithHttpInfo(@javax.annotation.Nonnull String itemType) throws ApiException {
604+
okhttp3.Call localVarCall = getCosmeticsValidateBeforeCall(itemType, null);
605605
Type localVarReturnType = new TypeToken<List<InventoryTemplate>>(){}.getType();
606606
return localVarApiClient.execute(localVarCall, localVarReturnType);
607607
}
@@ -622,9 +622,9 @@ public ApiResponse<List<InventoryTemplate>> getCosmeticIndexWithHttpInfo(@javax.
622622
<tr><td> 401 </td><td> Error response due to missing auth cookie. </td><td> - </td></tr>
623623
</table>
624624
*/
625-
public okhttp3.Call getCosmeticIndexAsync(@javax.annotation.Nonnull String itemType, final ApiCallback<List<InventoryTemplate>> _callback) throws ApiException {
625+
public okhttp3.Call getCosmeticsAsync(@javax.annotation.Nonnull String itemType, final ApiCallback<List<InventoryTemplate>> _callback) throws ApiException {
626626

627-
okhttp3.Call localVarCall = getCosmeticIndexValidateBeforeCall(itemType, _callback);
627+
okhttp3.Call localVarCall = getCosmeticsValidateBeforeCall(itemType, _callback);
628628
Type localVarReturnType = new TypeToken<List<InventoryTemplate>>(){}.getType();
629629
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
630630
return localVarCall;

src/main/java/io/github/vrchatapi/model/APIConfigProfileDefaults.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
import io.github.vrchatapi.JSON;
4646

4747
/**
48-
* Default profile theme colours, each a hex RGB triplet without a leading &#x60;#&#x60;.
48+
* Default profile theme colors.
4949
*/
5050
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.24.0")
5151
public class APIConfigProfileDefaults {

0 commit comments

Comments
 (0)