From e4398e9919a71887cba50ad5a9825ebaecbd8ea6 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sat, 22 Jan 2022 00:08:42 +0000 Subject: [PATCH] Upgrade Rust SDK to spec 1.6.8 --- Cargo.toml | 2 +- docs/Instance.md | 4 ++-- docs/InviteRequest.md | 2 +- docs/User.md | 2 +- src/models/instance.rs | 4 ++-- src/models/invite_request.rs | 2 +- src/models/user.rs | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ae63a0b..f36af8b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vrchatapi" -version = "1.6.7" +version = "1.6.8" authors = ["OpenAPI Generator team and contributors"] license = "MIT" edition = "2018" diff --git a/docs/Instance.md b/docs/Instance.md index ab18308..defa523 100644 --- a/docs/Instance.md +++ b/docs/Instance.md @@ -9,9 +9,9 @@ Name | Type | Description | Notes **capacity** | **i32** | | **client_number** | **String** | Always returns \"unknown\". | **full** | **bool** | | [default to false] -**id** | **String** | InstanceID be \"offline\" on User profiles if you are not friends with that user. | +**id** | **String** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **instance_id** | **String** | | -**location** | **String** | InstanceID be \"offline\" on User profiles if you are not friends with that user. | +**location** | **String** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **n_users** | **i32** | | **name** | **String** | | **owner_id** | Option<**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] diff --git a/docs/InviteRequest.md b/docs/InviteRequest.md index 7062730..3bbd1ab 100644 --- a/docs/InviteRequest.md +++ b/docs/InviteRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**instance_id** | **String** | InstanceID be \"offline\" on User profiles if you are not friends with that user. | +**instance_id** | **String** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | **message_slot** | Option<**i32**> | | [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) diff --git a/docs/User.md b/docs/User.md index 3d4f595..a55088d 100644 --- a/docs/User.md +++ b/docs/User.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **display_name** | **String** | A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. | **friend_key** | **String** | | **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. | -**instance_id** | Option<**String**> | InstanceID be \"offline\" on User profiles if you are not friends with that user. | [optional] +**instance_id** | Option<**String**> | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | [optional] **is_friend** | **bool** | Either their `friendKey`, or empty string if you are not friends. Unknown usage. | **last_login** | **String** | Either a date-time or empty string. | **last_platform** | **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`. | diff --git a/src/models/instance.rs b/src/models/instance.rs index 3f73535..baf0b08 100644 --- a/src/models/instance.rs +++ b/src/models/instance.rs @@ -23,12 +23,12 @@ pub struct Instance { pub client_number: String, #[serde(rename = "full")] pub full: bool, - /// InstanceID be \"offline\" on User profiles if you are not friends with that user. + /// InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. #[serde(rename = "id")] pub id: String, #[serde(rename = "instanceId")] pub instance_id: String, - /// InstanceID be \"offline\" on User profiles if you are not friends with that user. + /// InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. #[serde(rename = "location")] pub location: String, #[serde(rename = "n_users")] diff --git a/src/models/invite_request.rs b/src/models/invite_request.rs index cf81c2c..a38176c 100644 --- a/src/models/invite_request.rs +++ b/src/models/invite_request.rs @@ -11,7 +11,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct InviteRequest { - /// InstanceID be \"offline\" on User profiles if you are not friends with that user. + /// InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. #[serde(rename = "instanceId")] pub instance_id: String, #[serde(rename = "messageSlot", skip_serializing_if = "Option::is_none")] diff --git a/src/models/user.rs b/src/models/user.rs index a0a9f79..7a4978d 100644 --- a/src/models/user.rs +++ b/src/models/user.rs @@ -35,7 +35,7 @@ pub struct User { /// 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. #[serde(rename = "id")] pub id: String, - /// InstanceID be \"offline\" on User profiles if you are not friends with that user. + /// InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. #[serde(rename = "instanceId", skip_serializing_if = "Option::is_none")] pub instance_id: Option, /// Either their `friendKey`, or empty string if you are not friends. Unknown usage.