mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 15:45:35 +00:00
Upgrade Rust SDK to spec 1.6.8
This commit is contained in:
@ -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"
|
||||
|
@ -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]
|
||||
|
@ -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)
|
||||
|
@ -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`. |
|
||||
|
@ -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")]
|
||||
|
@ -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")]
|
||||
|
@ -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<String>,
|
||||
/// Either their `friendKey`, or empty string if you are not friends. Unknown usage.
|
||||
|
Reference in New Issue
Block a user