Skip to content

Commit

Permalink
Upgrade C# SDK to spec 1.16.8
Browse files Browse the repository at this point in the history
  • Loading branch information
VRCCat committed Apr 14, 2024
1 parent 8b30949 commit eb68eb8
Show file tree
Hide file tree
Showing 172 changed files with 1,006 additions and 546 deletions.
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ docs/GroupAnnouncement.md
docs/GroupAuditLogEntry.md
docs/GroupGallery.md
docs/GroupGalleryImage.md
docs/GroupJoinRequestAction.md
docs/GroupJoinState.md
docs/GroupLimitedMember.md
docs/GroupMember.md
Expand Down Expand Up @@ -216,6 +217,7 @@ src/VRChat.API/Model/GroupAnnouncement.cs
src/VRChat.API/Model/GroupAuditLogEntry.cs
src/VRChat.API/Model/GroupGallery.cs
src/VRChat.API/Model/GroupGalleryImage.cs
src/VRChat.API/Model/GroupJoinRequestAction.cs
src/VRChat.API/Model/GroupJoinState.cs
src/VRChat.API/Model/GroupLimitedMember.cs
src/VRChat.API/Model/GroupMember.cs
Expand Down
18 changes: 9 additions & 9 deletions docs/AuthenticationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ This endpoint does not need any parameter.

<a name="verify2fa"></a>
# **Verify2FA**
> Verify2FAResult Verify2FA (TwoFactorAuthCode twoFactorAuthCode = null)
> Verify2FAResult Verify2FA (TwoFactorAuthCode twoFactorAuthCode)
Verify 2FA code

Expand Down Expand Up @@ -429,7 +429,7 @@ namespace Example
// config.AddApiKeyPrefix("auth", "Bearer");
var apiInstance = new AuthenticationApi(config);
var twoFactorAuthCode = new TwoFactorAuthCode(); // TwoFactorAuthCode | (optional)
var twoFactorAuthCode = new TwoFactorAuthCode(); // TwoFactorAuthCode |
try
{
Expand Down Expand Up @@ -472,7 +472,7 @@ catch (ApiException e)

| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **twoFactorAuthCode** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md) | | [optional] |
| **twoFactorAuthCode** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md) | | |

### Return type

Expand All @@ -498,7 +498,7 @@ catch (ApiException e)

<a name="verify2faemailcode"></a>
# **Verify2FAEmailCode**
> Verify2FAEmailCodeResult Verify2FAEmailCode (TwoFactorEmailCode twoFactorEmailCode = null)
> Verify2FAEmailCodeResult Verify2FAEmailCode (TwoFactorEmailCode twoFactorEmailCode)
Verify 2FA email code

Expand Down Expand Up @@ -526,7 +526,7 @@ namespace Example
// config.AddApiKeyPrefix("auth", "Bearer");
var apiInstance = new AuthenticationApi(config);
var twoFactorEmailCode = new TwoFactorEmailCode(); // TwoFactorEmailCode | (optional)
var twoFactorEmailCode = new TwoFactorEmailCode(); // TwoFactorEmailCode |
try
{
Expand Down Expand Up @@ -569,7 +569,7 @@ catch (ApiException e)

| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **twoFactorEmailCode** | [**TwoFactorEmailCode**](TwoFactorEmailCode.md) | | [optional] |
| **twoFactorEmailCode** | [**TwoFactorEmailCode**](TwoFactorEmailCode.md) | | |

### Return type

Expand Down Expand Up @@ -687,7 +687,7 @@ This endpoint does not need any parameter.

<a name="verifyrecoverycode"></a>
# **VerifyRecoveryCode**
> Verify2FAResult VerifyRecoveryCode (TwoFactorAuthCode twoFactorAuthCode = null)
> Verify2FAResult VerifyRecoveryCode (TwoFactorAuthCode twoFactorAuthCode)
Verify 2FA code with Recovery code

Expand Down Expand Up @@ -715,7 +715,7 @@ namespace Example
// config.AddApiKeyPrefix("auth", "Bearer");
var apiInstance = new AuthenticationApi(config);
var twoFactorAuthCode = new TwoFactorAuthCode(); // TwoFactorAuthCode | (optional)
var twoFactorAuthCode = new TwoFactorAuthCode(); // TwoFactorAuthCode |
try
{
Expand Down Expand Up @@ -758,7 +758,7 @@ catch (ApiException e)

| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **twoFactorAuthCode** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md) | | [optional] |
| **twoFactorAuthCode** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md) | | |

### Return type

Expand Down
9 changes: 9 additions & 0 deletions docs/GroupJoinRequestAction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# VRChat.API.Model.GroupJoinRequestAction

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

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

2 changes: 1 addition & 1 deletion docs/GroupLimitedMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**RoleIds** | **List&lt;string&gt;** | | [optional]
**MRoleIds** | **List&lt;string&gt;** | | [optional]
**JoinedAt** | **DateTime** | | [optional]
**MembershipStatus** | **string** | | [optional]
**MembershipStatus** | **GroupMemberStatus** | | [optional]
**Visibility** | **string** | | [optional]
**IsSubscribedToAnnouncements** | **bool** | | [optional] [default to false]
**CreatedAt** | **DateTime?** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional]
Expand Down
4 changes: 2 additions & 2 deletions docs/GroupMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Name | Type | Description | Notes
**User** | [**GroupMemberLimitedUser**](GroupMemberLimitedUser.md) | | [optional]
**RoleIds** | **List&lt;string&gt;** | | [optional]
**MRoleIds** | **List&lt;string&gt;** | | [optional]
**JoinedAt** | **DateTime** | | [optional]
**MembershipStatus** | **string** | | [optional]
**JoinedAt** | **DateTime?** | | [optional]
**MembershipStatus** | **GroupMemberStatus** | | [optional]
**Visibility** | **string** | | [optional]
**IsSubscribedToAnnouncements** | **bool** | | [optional] [default to false]
**CreatedAt** | **DateTime?** | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional]
Expand Down
48 changes: 24 additions & 24 deletions docs/GroupsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1*

<a name="addgroupgalleryimage"></a>
# **AddGroupGalleryImage**
> GroupGalleryImage AddGroupGalleryImage (string groupId, string groupGalleryId, AddGroupGalleryImageRequest addGroupGalleryImageRequest = null)
> GroupGalleryImage AddGroupGalleryImage (string groupId, string groupGalleryId, AddGroupGalleryImageRequest addGroupGalleryImageRequest)
Add Group Gallery Image

Expand Down Expand Up @@ -74,7 +74,7 @@ namespace Example
var apiInstance = new GroupsApi(config);
var groupId = grp_00000000-0000-0000-0000-000000000000; // string | Must be a valid group ID.
var groupGalleryId = ggal_00000000-0000-0000-0000-000000000000; // string | Must be a valid group gallery ID.
var addGroupGalleryImageRequest = new AddGroupGalleryImageRequest(); // AddGroupGalleryImageRequest | (optional)
var addGroupGalleryImageRequest = new AddGroupGalleryImageRequest(); // AddGroupGalleryImageRequest |
try
{
Expand Down Expand Up @@ -119,7 +119,7 @@ catch (ApiException e)
|------|------|-------------|-------|
| **groupId** | **string** | Must be a valid group ID. | |
| **groupGalleryId** | **string** | Must be a valid group gallery ID. | |
| **addGroupGalleryImageRequest** | [**AddGroupGalleryImageRequest**](AddGroupGalleryImageRequest.md) | | [optional] |
| **addGroupGalleryImageRequest** | [**AddGroupGalleryImageRequest**](AddGroupGalleryImageRequest.md) | | |

### Return type

Expand Down Expand Up @@ -248,7 +248,7 @@ catch (ApiException e)

<a name="bangroupmember"></a>
# **BanGroupMember**
> GroupMember BanGroupMember (string groupId, BanGroupMemberRequest banGroupMemberRequest = null)
> GroupMember BanGroupMember (string groupId, BanGroupMemberRequest banGroupMemberRequest)
Ban Group Member

Expand Down Expand Up @@ -277,7 +277,7 @@ namespace Example
var apiInstance = new GroupsApi(config);
var groupId = grp_00000000-0000-0000-0000-000000000000; // string | Must be a valid group ID.
var banGroupMemberRequest = new BanGroupMemberRequest(); // BanGroupMemberRequest | (optional)
var banGroupMemberRequest = new BanGroupMemberRequest(); // BanGroupMemberRequest |
try
{
Expand Down Expand Up @@ -321,7 +321,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **groupId** | **string** | Must be a valid group ID. | |
| **banGroupMemberRequest** | [**BanGroupMemberRequest**](BanGroupMemberRequest.md) | | [optional] |
| **banGroupMemberRequest** | [**BanGroupMemberRequest**](BanGroupMemberRequest.md) | | |

### Return type

Expand Down Expand Up @@ -443,7 +443,7 @@ void (empty response body)

<a name="creategroup"></a>
# **CreateGroup**
> Group CreateGroup (CreateGroupRequest createGroupRequest = null)
> Group CreateGroup (CreateGroupRequest createGroupRequest)
Create Group

Expand Down Expand Up @@ -471,7 +471,7 @@ namespace Example
// config.AddApiKeyPrefix("auth", "Bearer");
var apiInstance = new GroupsApi(config);
var createGroupRequest = new CreateGroupRequest(); // CreateGroupRequest | (optional)
var createGroupRequest = new CreateGroupRequest(); // CreateGroupRequest |
try
{
Expand Down Expand Up @@ -514,7 +514,7 @@ catch (ApiException e)

| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **createGroupRequest** | [**CreateGroupRequest**](CreateGroupRequest.md) | | [optional] |
| **createGroupRequest** | [**CreateGroupRequest**](CreateGroupRequest.md) | | |

### Return type

Expand All @@ -540,7 +540,7 @@ catch (ApiException e)

<a name="creategroupannouncement"></a>
# **CreateGroupAnnouncement**
> GroupAnnouncement CreateGroupAnnouncement (string groupId, CreateGroupAnnouncementRequest createGroupAnnouncementRequest = null)
> GroupAnnouncement CreateGroupAnnouncement (string groupId, CreateGroupAnnouncementRequest createGroupAnnouncementRequest)
Create Group Announcement

Expand Down Expand Up @@ -569,7 +569,7 @@ namespace Example
var apiInstance = new GroupsApi(config);
var groupId = grp_00000000-0000-0000-0000-000000000000; // string | Must be a valid group ID.
var createGroupAnnouncementRequest = new CreateGroupAnnouncementRequest(); // CreateGroupAnnouncementRequest | (optional)
var createGroupAnnouncementRequest = new CreateGroupAnnouncementRequest(); // CreateGroupAnnouncementRequest |
try
{
Expand Down Expand Up @@ -613,7 +613,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **groupId** | **string** | Must be a valid group ID. | |
| **createGroupAnnouncementRequest** | [**CreateGroupAnnouncementRequest**](CreateGroupAnnouncementRequest.md) | | [optional] |
| **createGroupAnnouncementRequest** | [**CreateGroupAnnouncementRequest**](CreateGroupAnnouncementRequest.md) | | |

### Return type

Expand All @@ -640,7 +640,7 @@ catch (ApiException e)

<a name="creategroupgallery"></a>
# **CreateGroupGallery**
> GroupGallery CreateGroupGallery (string groupId, CreateGroupGalleryRequest createGroupGalleryRequest = null)
> GroupGallery CreateGroupGallery (string groupId, CreateGroupGalleryRequest createGroupGalleryRequest)
Create Group Gallery

Expand Down Expand Up @@ -669,7 +669,7 @@ namespace Example
var apiInstance = new GroupsApi(config);
var groupId = grp_00000000-0000-0000-0000-000000000000; // string | Must be a valid group ID.
var createGroupGalleryRequest = new CreateGroupGalleryRequest(); // CreateGroupGalleryRequest | (optional)
var createGroupGalleryRequest = new CreateGroupGalleryRequest(); // CreateGroupGalleryRequest |
try
{
Expand Down Expand Up @@ -713,7 +713,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **groupId** | **string** | Must be a valid group ID. | |
| **createGroupGalleryRequest** | [**CreateGroupGalleryRequest**](CreateGroupGalleryRequest.md) | | [optional] |
| **createGroupGalleryRequest** | [**CreateGroupGalleryRequest**](CreateGroupGalleryRequest.md) | | |

### Return type

Expand All @@ -740,7 +740,7 @@ catch (ApiException e)

<a name="creategroupinvite"></a>
# **CreateGroupInvite**
> void CreateGroupInvite (string groupId, CreateGroupInviteRequest createGroupInviteRequest = null)
> void CreateGroupInvite (string groupId, CreateGroupInviteRequest createGroupInviteRequest)
Invite User to Group

Expand Down Expand Up @@ -769,7 +769,7 @@ namespace Example
var apiInstance = new GroupsApi(config);
var groupId = grp_00000000-0000-0000-0000-000000000000; // string | Must be a valid group ID.
var createGroupInviteRequest = new CreateGroupInviteRequest(); // CreateGroupInviteRequest | (optional)
var createGroupInviteRequest = new CreateGroupInviteRequest(); // CreateGroupInviteRequest |
try
{
Expand Down Expand Up @@ -809,7 +809,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **groupId** | **string** | Must be a valid group ID. | |
| **createGroupInviteRequest** | [**CreateGroupInviteRequest**](CreateGroupInviteRequest.md) | | [optional] |
| **createGroupInviteRequest** | [**CreateGroupInviteRequest**](CreateGroupInviteRequest.md) | | |

### Return type

Expand Down Expand Up @@ -837,7 +837,7 @@ void (empty response body)

<a name="creategrouprole"></a>
# **CreateGroupRole**
> GroupRole CreateGroupRole (string groupId, CreateGroupRoleRequest createGroupRoleRequest = null)
> GroupRole CreateGroupRole (string groupId, CreateGroupRoleRequest createGroupRoleRequest)
Create GroupRole

Expand Down Expand Up @@ -866,7 +866,7 @@ namespace Example
var apiInstance = new GroupsApi(config);
var groupId = grp_00000000-0000-0000-0000-000000000000; // string | Must be a valid group ID.
var createGroupRoleRequest = new CreateGroupRoleRequest(); // CreateGroupRoleRequest | (optional)
var createGroupRoleRequest = new CreateGroupRoleRequest(); // CreateGroupRoleRequest |
try
{
Expand Down Expand Up @@ -910,7 +910,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **groupId** | **string** | Must be a valid group ID. | |
| **createGroupRoleRequest** | [**CreateGroupRoleRequest**](CreateGroupRoleRequest.md) | | [optional] |
| **createGroupRoleRequest** | [**CreateGroupRoleRequest**](CreateGroupRoleRequest.md) | | |

### Return type

Expand Down Expand Up @@ -3042,7 +3042,7 @@ catch (ApiException e)

<a name="respondgroupjoinrequest"></a>
# **RespondGroupJoinRequest**
> void RespondGroupJoinRequest (string groupId, string userId, RespondGroupJoinRequest respondGroupJoinRequest = null)
> void RespondGroupJoinRequest (string groupId, string userId, RespondGroupJoinRequest respondGroupJoinRequest)
Respond Group Join request

Expand Down Expand Up @@ -3072,7 +3072,7 @@ namespace Example
var apiInstance = new GroupsApi(config);
var groupId = grp_00000000-0000-0000-0000-000000000000; // string | Must be a valid group ID.
var userId = "userId_example"; // string | Must be a valid user ID.
var respondGroupJoinRequest = new RespondGroupJoinRequest(); // RespondGroupJoinRequest | (optional)
var respondGroupJoinRequest = new RespondGroupJoinRequest(); // RespondGroupJoinRequest |
try
{
Expand Down Expand Up @@ -3113,7 +3113,7 @@ catch (ApiException e)
|------|------|-------------|-------|
| **groupId** | **string** | Must be a valid group ID. | |
| **userId** | **string** | Must be a valid user ID. | |
| **respondGroupJoinRequest** | [**RespondGroupJoinRequest**](RespondGroupJoinRequest.md) | | [optional] |
| **respondGroupJoinRequest** | [**RespondGroupJoinRequest**](RespondGroupJoinRequest.md) | | |

### Return type

Expand Down
8 changes: 8 additions & 0 deletions docs/Instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ Name | Type | Description | Notes
**Hidden** | **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. | [optional]
**Friends** | **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. | [optional]
**Private** | **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. | [optional]
**QueueEnabled** | **bool** | |
**QueueSize** | **int** | |
**RecommendedCapacity** | **int** | |
**RoleRestricted** | **bool** | |
**Strict** | **bool** | |
**UserCount** | **int** | |
**World** | [**World**](World.md) | |
**Users** | [**List&lt;LimitedUser&gt;**](LimitedUser.md) | The users field is present on instances created by the requesting user. | [optional]

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

Loading

0 comments on commit eb68eb8

Please sign in to comment.