Skip to content

Commit fe2a9b6

Browse files
committed
Upgrade C# SDK to spec 1.20.0
1 parent 1c73e19 commit fe2a9b6

256 files changed

Lines changed: 2033 additions & 437 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ docs/AddGroupGalleryImageRequest.md
3030
docs/AgeVerificationStatus.md
3131
docs/AuthenticationApi.md
3232
docs/Avatar.md
33+
docs/AvatarPerformance.md
3334
docs/AvatarPublishedListingsInner.md
3435
docs/AvatarStyles.md
3536
docs/AvatarUnityPackageUrlObject.md
@@ -132,8 +133,10 @@ docs/LicenseGroup.md
132133
docs/LicenseType.md
133134
docs/LimitedGroup.md
134135
docs/LimitedUnityPackage.md
135-
docs/LimitedUser.md
136+
docs/LimitedUserFriend.md
136137
docs/LimitedUserGroups.md
138+
docs/LimitedUserInstance.md
139+
docs/LimitedUserSearch.md
137140
docs/LimitedWorld.md
138141
docs/MIMEType.md
139142
docs/MiscellaneousApi.md
@@ -285,6 +288,7 @@ src/VRChat.API/Model/AddFavoriteRequest.cs
285288
src/VRChat.API/Model/AddGroupGalleryImageRequest.cs
286289
src/VRChat.API/Model/AgeVerificationStatus.cs
287290
src/VRChat.API/Model/Avatar.cs
291+
src/VRChat.API/Model/AvatarPerformance.cs
288292
src/VRChat.API/Model/AvatarPublishedListingsInner.cs
289293
src/VRChat.API/Model/AvatarStyles.cs
290294
src/VRChat.API/Model/AvatarUnityPackageUrlObject.cs
@@ -378,8 +382,10 @@ src/VRChat.API/Model/LicenseGroup.cs
378382
src/VRChat.API/Model/LicenseType.cs
379383
src/VRChat.API/Model/LimitedGroup.cs
380384
src/VRChat.API/Model/LimitedUnityPackage.cs
381-
src/VRChat.API/Model/LimitedUser.cs
385+
src/VRChat.API/Model/LimitedUserFriend.cs
382386
src/VRChat.API/Model/LimitedUserGroups.cs
387+
src/VRChat.API/Model/LimitedUserInstance.cs
388+
src/VRChat.API/Model/LimitedUserSearch.cs
383389
src/VRChat.API/Model/LimitedWorld.cs
384390
src/VRChat.API/Model/MIMEType.cs
385391
src/VRChat.API/Model/ModerateUserRequest.cs

docs/Avatar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
1818
**Lock** | **bool** | | [optional]
1919
**LowestPrice** | **int** | | [optional]
2020
**Name** | **string** | |
21+
**Performance** | [**AvatarPerformance**](AvatarPerformance.md) | |
2122
**ProductId** | **string** | | [optional]
2223
**PublishedListings** | [**List<AvatarPublishedListingsInner>**](AvatarPublishedListingsInner.md) | | [optional]
2324
**ReleaseStatus** | **ReleaseStatus** | |

docs/AvatarPerformance.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# VRChat.API.Model.AvatarPerformance
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**Android** | **string** | | [optional]
8+
**AndroidSort** | **int** | | [optional]
9+
**Ios** | **string** | | [optional]
10+
**IosSort** | **int** | | [optional]
11+
**Standalonewindows** | **string** | | [optional]
12+
**StandalonewindowsSort** | **int** | | [optional]
13+
14+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15+

docs/CurrentUserPresence.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**AvatarThumbnail** | **string** | | [optional]
88
**CurrentAvatarTags** | **string** | | [optional]
99
**DisplayName** | **string** | | [optional]
10+
**Debugflag** | **string** | | [optional]
1011
**Groups** | **List<string>** | | [optional]
1112
**Id** | **string** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional]
1213
**Instance** | **string** | | [optional]

docs/FriendsApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ catch (ApiException e)
306306

307307
<a name="getfriends"></a>
308308
# **GetFriends**
309-
> List&lt;LimitedUser&gt; GetFriends (int? offset = null, int? n = null, bool? offline = null)
309+
> List&lt;LimitedUserFriend&gt; GetFriends (int? offset = null, int? n = null, bool? offline = null)
310310
311311
List Friends
312312

@@ -341,7 +341,7 @@ namespace Example
341341
try
342342
{
343343
// List Friends
344-
List<LimitedUser> result = apiInstance.GetFriends(offset, n, offline);
344+
List<LimitedUserFriend> result = apiInstance.GetFriends(offset, n, offline);
345345
Debug.WriteLine(result);
346346
}
347347
catch (ApiException e)
@@ -362,7 +362,7 @@ This returns an ApiResponse object which contains the response data, status code
362362
try
363363
{
364364
// List Friends
365-
ApiResponse<List<LimitedUser>> response = apiInstance.GetFriendsWithHttpInfo(offset, n, offline);
365+
ApiResponse<List<LimitedUserFriend>> response = apiInstance.GetFriendsWithHttpInfo(offset, n, offline);
366366
Debug.Write("Status Code: " + response.StatusCode);
367367
Debug.Write("Response Headers: " + response.Headers);
368368
Debug.Write("Response Body: " + response.Data);
@@ -385,7 +385,7 @@ catch (ApiException e)
385385

386386
### Return type
387387

388-
[**List&lt;LimitedUser&gt;**](LimitedUser.md)
388+
[**List&lt;LimitedUserFriend&gt;**](LimitedUserFriend.md)
389389

390390
### Authorization
391391

@@ -400,7 +400,7 @@ catch (ApiException e)
400400
### HTTP response details
401401
| Status code | Description | Response headers |
402402
|-------------|-------------|------------------|
403-
| **200** | Returns a list of LimitedUser objects. | - |
403+
| **200** | Returns a list of LimitedUserFriend objects. | - |
404404
| **401** | Error response due to missing auth cookie. | - |
405405

406406
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

docs/Instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Name | Type | Description | Notes
4141
**Strict** | **bool** | |
4242
**UserCount** | **int** | |
4343
**World** | [**World**](World.md) | |
44-
**Users** | [**List&lt;LimitedUser&gt;**](LimitedUser.md) | The users field is present on instances created by the requesting user. | [optional]
44+
**Users** | [**List&lt;LimitedUserInstance&gt;**](LimitedUserInstance.md) | The users field is present on instances created by the requesting user. | [optional]
4545
**GroupAccessType** | **GroupAccessType** | | [optional]
4646
**HasCapacityForYou** | **bool** | | [optional]
4747
**Nonce** | **string** | | [optional]

docs/InstanceContentSettings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**Pedestals** | **bool** | | [optional] [default to true]
1111
**Prints** | **bool** | | [optional] [default to true]
1212
**Stickers** | **bool** | | [optional] [default to true]
13+
**Props** | **bool** | | [optional] [default to true]
1314

1415
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1516

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,33 @@
1-
# VRChat.API.Model.LimitedUser
1+
# VRChat.API.Model.LimitedUserFriend
2+
User object received when querying your friends list
23

34
## Properties
45

56
Name | Type | Description | Notes
67
------------ | ------------- | ------------- | -------------
78
**Bio** | **string** | | [optional]
89
**BioLinks** | **List&lt;string&gt;** | | [optional]
9-
**CurrentAvatarImageUrl** | **string** | When profilePicOverride is not empty, use it instead. | [optional]
10+
**CurrentAvatarImageUrl** | **string** | When profilePicOverride is not empty, use it instead. |
1011
**CurrentAvatarThumbnailImageUrl** | **string** | When profilePicOverride is not empty, use it instead. | [optional]
1112
**CurrentAvatarTags** | **List&lt;string&gt;** | | [optional]
1213
**DeveloperType** | **DeveloperType** | |
1314
**DisplayName** | **string** | |
14-
**FallbackAvatar** | **string** | | [optional]
15+
**FriendKey** | **string** | |
1516
**Id** | **string** | A users unique ID, usually in the form of &#x60;usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469&#x60;. Legacy players can have old IDs in the form of &#x60;8JoV9XEdpo&#x60;. The ID can never be changed. |
1617
**IsFriend** | **bool** | |
18+
**ImageUrl** | **string** | |
1719
**LastPlatform** | **string** | This can be &#x60;standalonewindows&#x60; or &#x60;android&#x60;, but can also pretty much be any random Unity verison such as &#x60;2019.2.4-801-Release&#x60; or &#x60;2019.2.2-772-Release&#x60; or even &#x60;unknownplatform&#x60;. |
18-
**LastLogin** | **DateTime?** | | [optional]
19-
**ProfilePicOverride** | **string** | | [optional]
20-
**Pronouns** | **string** | | [optional]
20+
**Location** | **string** | |
21+
**LastLogin** | **DateTime?** | |
22+
**LastActivity** | **DateTime?** | |
23+
**LastMobile** | **DateTime?** | |
24+
**Platform** | **string** | |
25+
**ProfilePicOverride** | **string** | |
26+
**ProfilePicOverrideThumbnail** | **string** | |
2127
**Status** | **UserStatus** | |
2228
**StatusDescription** | **string** | |
2329
**Tags** | **List&lt;string&gt;** | &lt;- Always empty. |
24-
**UserIcon** | **string** | | [optional]
25-
**Username** | **string** | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional]
26-
**Location** | **string** | | [optional]
27-
**FriendKey** | **string** | | [optional]
30+
**UserIcon** | **string** | |
2831

2932
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3033

docs/LimitedUserInstance.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# VRChat.API.Model.LimitedUserInstance
2+
User object received when querying your own instance
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**AgeVerificationStatus** | **AgeVerificationStatus** | |
9+
**AgeVerified** | **bool** | &#x60;true&#x60; if, user is age verified (not 18+). |
10+
**AllowAvatarCopying** | **bool** | |
11+
**Bio** | **string** | | [optional]
12+
**BioLinks** | **List&lt;string&gt;** | | [optional]
13+
**CurrentAvatarImageUrl** | **string** | When profilePicOverride is not empty, use it instead. |
14+
**CurrentAvatarThumbnailImageUrl** | **string** | When profilePicOverride is not empty, use it instead. |
15+
**CurrentAvatarTags** | **List&lt;string&gt;** | |
16+
**DateJoined** | **DateTime?** | |
17+
**DeveloperType** | **DeveloperType** | |
18+
**DisplayName** | **string** | |
19+
**FriendKey** | **string** | |
20+
**Id** | **string** | A users unique ID, usually in the form of &#x60;usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469&#x60;. Legacy players can have old IDs in the form of &#x60;8JoV9XEdpo&#x60;. The ID can never be changed. |
21+
**IsFriend** | **bool** | |
22+
**ImageUrl** | **string** | | [optional]
23+
**LastPlatform** | **string** | This can be &#x60;standalonewindows&#x60; or &#x60;android&#x60;, but can also pretty much be any random Unity verison such as &#x60;2019.2.4-801-Release&#x60; or &#x60;2019.2.2-772-Release&#x60; or even &#x60;unknownplatform&#x60;. |
24+
**LastActivity** | **DateTime?** | |
25+
**LastMobile** | **DateTime?** | |
26+
**Platform** | **string** | | [optional]
27+
**ProfilePicOverride** | **string** | |
28+
**ProfilePicOverrideThumbnail** | **string** | |
29+
**Pronouns** | **string** | |
30+
**State** | **UserState** | |
31+
**Status** | **UserStatus** | |
32+
**StatusDescription** | **string** | |
33+
**Tags** | **List&lt;string&gt;** | |
34+
**UserIcon** | **string** | |
35+
36+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
37+

docs/LimitedUserSearch.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# VRChat.API.Model.LimitedUserSearch
2+
User object received when searching
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**Bio** | **string** | | [optional]
9+
**BioLinks** | **List&lt;string&gt;** | | [optional]
10+
**CurrentAvatarImageUrl** | **string** | When profilePicOverride is not empty, use it instead. |
11+
**CurrentAvatarThumbnailImageUrl** | **string** | When profilePicOverride is not empty, use it instead. |
12+
**CurrentAvatarTags** | **List&lt;string&gt;** | |
13+
**DeveloperType** | **DeveloperType** | |
14+
**DisplayName** | **string** | |
15+
**Id** | **string** | A users unique ID, usually in the form of &#x60;usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469&#x60;. Legacy players can have old IDs in the form of &#x60;8JoV9XEdpo&#x60;. The ID can never be changed. |
16+
**IsFriend** | **bool** | |
17+
**LastPlatform** | **string** | This can be &#x60;standalonewindows&#x60; or &#x60;android&#x60;, but can also pretty much be any random Unity verison such as &#x60;2019.2.4-801-Release&#x60; or &#x60;2019.2.2-772-Release&#x60; or even &#x60;unknownplatform&#x60;. |
18+
**ProfilePicOverride** | **string** | |
19+
**Pronouns** | **string** | | [optional]
20+
**Status** | **UserStatus** | |
21+
**StatusDescription** | **string** | |
22+
**Tags** | **List&lt;string&gt;** | &lt;- Always empty. |
23+
**UserIcon** | **string** | |
24+
25+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
26+

0 commit comments

Comments
 (0)