Skip to content

Commit

Permalink
Upgrade Java SDK to spec 1.17.5
Browse files Browse the repository at this point in the history
  • Loading branch information
VRCCat committed May 27, 2024
1 parent a9f7434 commit 473353b
Show file tree
Hide file tree
Showing 207 changed files with 2,768 additions and 451 deletions.
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ docs/AuthenticationApi.md
docs/Avatar.md
docs/AvatarUnityPackageUrlObject.md
docs/AvatarsApi.md
docs/Badge.md
docs/BanGroupMemberRequest.md
docs/CreateAvatarRequest.md
docs/CreateFileRequest.md
Expand Down Expand Up @@ -77,6 +78,7 @@ docs/InfoPushDataArticleContent.md
docs/InfoPushDataClickable.md
docs/Instance.md
docs/InstancePlatforms.md
docs/InstanceRegion.md
docs/InstanceShortNameResponse.md
docs/InstanceType.md
docs/InstancesApi.md
Expand All @@ -92,6 +94,7 @@ docs/LicenseType.md
docs/LimitedGroup.md
docs/LimitedUnityPackage.md
docs/LimitedUser.md
docs/LimitedUserGroups.md
docs/LimitedWorld.md
docs/MIMEType.md
docs/ModelFile.md
Expand Down Expand Up @@ -206,6 +209,7 @@ src/main/java/io/github/vrchatapi/model/AddFavoriteRequest.java
src/main/java/io/github/vrchatapi/model/AddGroupGalleryImageRequest.java
src/main/java/io/github/vrchatapi/model/Avatar.java
src/main/java/io/github/vrchatapi/model/AvatarUnityPackageUrlObject.java
src/main/java/io/github/vrchatapi/model/Badge.java
src/main/java/io/github/vrchatapi/model/BanGroupMemberRequest.java
src/main/java/io/github/vrchatapi/model/CreateAvatarRequest.java
src/main/java/io/github/vrchatapi/model/CreateFileRequest.java
Expand Down Expand Up @@ -264,6 +268,7 @@ src/main/java/io/github/vrchatapi/model/InfoPushDataArticleContent.java
src/main/java/io/github/vrchatapi/model/InfoPushDataClickable.java
src/main/java/io/github/vrchatapi/model/Instance.java
src/main/java/io/github/vrchatapi/model/InstancePlatforms.java
src/main/java/io/github/vrchatapi/model/InstanceRegion.java
src/main/java/io/github/vrchatapi/model/InstanceShortNameResponse.java
src/main/java/io/github/vrchatapi/model/InstanceType.java
src/main/java/io/github/vrchatapi/model/InviteMessage.java
Expand All @@ -277,6 +282,7 @@ src/main/java/io/github/vrchatapi/model/LicenseType.java
src/main/java/io/github/vrchatapi/model/LimitedGroup.java
src/main/java/io/github/vrchatapi/model/LimitedUnityPackage.java
src/main/java/io/github/vrchatapi/model/LimitedUser.java
src/main/java/io/github/vrchatapi/model/LimitedUserGroups.java
src/main/java/io/github/vrchatapi/model/LimitedWorld.java
src/main/java/io/github/vrchatapi/model/MIMEType.java
src/main/java/io/github/vrchatapi/model/ModelFile.java
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'io.github.vrchatapi'
version = '1.17.3'
version = '1.17.5'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "io.github.vrchatapi",
name := "vrchatapi",
version := "1.17.3",
version := "1.17.5",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
18 changes: 9 additions & 9 deletions docs/AuthenticationApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AuthenticationApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

| Method | HTTP request | Description |
|------------- | ------------- | -------------|
Expand Down Expand Up @@ -34,7 +34,7 @@ import io.github.vrchatapi.api.AuthenticationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

AuthenticationApi apiInstance = new AuthenticationApi(defaultClient);
String email = "email_example"; // String | Filter by email.
Expand Down Expand Up @@ -104,7 +104,7 @@ import io.github.vrchatapi.api.AuthenticationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -174,7 +174,7 @@ import io.github.vrchatapi.api.AuthenticationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -251,7 +251,7 @@ import io.github.vrchatapi.api.AuthenticationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -317,7 +317,7 @@ import io.github.vrchatapi.api.AuthenticationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -387,7 +387,7 @@ import io.github.vrchatapi.api.AuthenticationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -457,7 +457,7 @@ import io.github.vrchatapi.api.AuthenticationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -523,7 +523,7 @@ import io.github.vrchatapi.api.AuthenticationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down
20 changes: 10 additions & 10 deletions docs/AvatarsApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AvatarsApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

| Method | HTTP request | Description |
|------------- | ------------- | -------------|
Expand Down Expand Up @@ -36,7 +36,7 @@ import io.github.vrchatapi.api.AvatarsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -106,7 +106,7 @@ import io.github.vrchatapi.api.AvatarsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -177,7 +177,7 @@ import io.github.vrchatapi.api.AvatarsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -248,7 +248,7 @@ import io.github.vrchatapi.api.AvatarsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -343,7 +343,7 @@ import io.github.vrchatapi.api.AvatarsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -414,7 +414,7 @@ import io.github.vrchatapi.api.AvatarsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -508,7 +508,7 @@ import io.github.vrchatapi.api.AvatarsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -579,7 +579,7 @@ import io.github.vrchatapi.api.AvatarsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -651,7 +651,7 @@ import io.github.vrchatapi.api.AvatarsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down
20 changes: 20 additions & 0 deletions docs/Badge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@


# Badge


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**assignedAt** | **OffsetDateTime** | only present in CurrentUser badges | [optional] |
|**badgeDescription** | **String** | | |
|**badgeId** | **String** | | |
|**badgeImageUrl** | **String** | direct url to image | |
|**badgeName** | **String** | | |
|**hidden** | **Boolean** | only present in CurrentUser badges | [optional] |
|**showcased** | **Boolean** | | |
|**updatedAt** | **OffsetDateTime** | only present in CurrentUser badges | [optional] |



7 changes: 5 additions & 2 deletions docs/CreateInstanceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@
|------------ | ------------- | ------------- | -------------|
|**worldId** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | |
|**type** | **InstanceType** | | |
|**region** | **Region** | | |
|**region** | **InstanceRegion** | | |
|**ownerId** | **String** | A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise | [optional] |
|**roleIds** | **List<String>** | Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" | [optional] |
|**groupAccessType** | **GroupAccessType** | | [optional] |
|**queueEnabled** | **Boolean** | | [optional] |
|**closedAt** | **OffsetDateTime** | The time after which users won't be allowed to join the instance | [optional] |
|**closedAt** | **OffsetDateTime** | The time after which users won't be allowed to join the instance. This doesn't work for public instances. | [optional] |
|**canRequestInvite** | **Boolean** | Only applies to invite type instances to make them invite+ | [optional] |
|**hardClose** | **Boolean** | Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. | [optional] |
|**inviteOnly** | **Boolean** | | [optional] |



6 changes: 5 additions & 1 deletion docs/CurrentUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
|**accountDeletionLog** | [**List<AccountDeletionLog>**](AccountDeletionLog.md) | | [optional] |
|**activeFriends** | **List<String>** | | [optional] |
|**allowAvatarCopying** | **Boolean** | | |
|**badges** | [**List<Badge>**](Badge.md) | | [optional] |
|**bio** | **String** | | |
|**bioLinks** | **List<String>** | | |
|**currentAvatar** | **String** | | |
|**currentAvatarAssetUrl** | **String** | | |
|**currentAvatarImageUrl** | **String** | When profilePicOverride is not empty, use it instead. | |
|**currentAvatarThumbnailImageUrl** | **String** | When profilePicOverride is not empty, use it instead. | |
|**currentAvatarTags** | **List<String>** | | [optional] |
|**currentAvatarTags** | **List<String>** | | |
|**dateJoined** | **LocalDate** | | |
|**developerType** | **DeveloperType** | | |
|**displayName** | **String** | | |
Expand All @@ -40,18 +41,21 @@
|**isFriend** | **Boolean** | | |
|**lastActivity** | **OffsetDateTime** | | [optional] |
|**lastLogin** | **OffsetDateTime** | | |
|**lastMobile** | **OffsetDateTime** | | |
|**lastPlatform** | **String** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. | |
|**obfuscatedEmail** | **String** | | |
|**obfuscatedPendingEmail** | **String** | | |
|**oculusId** | **String** | | |
|**googleId** | **String** | | [optional] |
|**googleDetails** | **Object** | | [optional] |
|**picoId** | **String** | | [optional] |
|**viveId** | **String** | | [optional] |
|**offlineFriends** | **List<String>** | | [optional] |
|**onlineFriends** | **List<String>** | | [optional] |
|**pastDisplayNames** | [**List<PastDisplayName>**](PastDisplayName.md) | | |
|**presence** | [**CurrentUserPresence**](CurrentUserPresence.md) | | [optional] |
|**profilePicOverride** | **String** | | |
|**pronouns** | **String** | | |
|**state** | **UserState** | | |
|**status** | **UserStatus** | | |
|**statusDescription** | **String** | | |
Expand Down
12 changes: 6 additions & 6 deletions docs/EconomyApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# EconomyApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

| Method | HTTP request | Description |
|------------- | ------------- | -------------|
Expand Down Expand Up @@ -32,7 +32,7 @@ import io.github.vrchatapi.api.EconomyApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -98,7 +98,7 @@ import io.github.vrchatapi.api.EconomyApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -168,7 +168,7 @@ import io.github.vrchatapi.api.EconomyApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -238,7 +238,7 @@ import io.github.vrchatapi.api.EconomyApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down Expand Up @@ -304,7 +304,7 @@ import io.github.vrchatapi.api.EconomyApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
defaultClient.setBasePath("https://vrchat.com/api/1");

// Configure API key authorization: authCookie
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
Expand Down
Loading

0 comments on commit 473353b

Please sign in to comment.