mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 15:45:35 +00:00
Upgrade Rust SDK to spec 1.7.2
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "vrchatapi"
|
||||
version = "1.7.1"
|
||||
version = "1.7.2"
|
||||
authors = ["OpenAPI Generator team and contributors"]
|
||||
license = "MIT"
|
||||
edition = "2018"
|
||||
|
@ -117,7 +117,7 @@ Search and list favorited avatars by query filters.
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**featured** | Option<**String**> | Filters on featured results. | |
|
||||
**featured** | Option<**bool**> | Filters on featured results. | |
|
||||
**sort** | Option<**String**> | | |[default to popularity]
|
||||
**n** | Option<**i32**> | The number of objects to return. | |[default to 60]
|
||||
**order** | Option<**String**> | | |[default to descending]
|
||||
@ -159,7 +159,7 @@ Search and list avatars by query filters. You can only search your own or featur
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**featured** | Option<**String**> | Filters on featured results. | |
|
||||
**featured** | Option<**bool**> | Filters on featured results. | |
|
||||
**sort** | Option<**String**> | | |[default to popularity]
|
||||
**user** | Option<**String**> | Set to `me` for searching own avatars. | |
|
||||
**user_id** | Option<**String**> | Filter by UserID. | |
|
||||
|
@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
||||
**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`. |
|
||||
**plugin_url** | Option<**String**> | | [optional]
|
||||
**plugin_url_object** | Option<[**serde_json::Value**](.md)> | | [optional]
|
||||
**unity_sort_number** | Option<**i32**> | | [optional]
|
||||
**unity_sort_number** | Option<**i64**> | | [optional]
|
||||
**unity_version** | **String** | | [default to 5.3.4p1]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
@ -92,7 +92,7 @@ Search and list currently Active worlds by query filters.
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**featured** | Option<**String**> | Filters on featured results. | |
|
||||
**featured** | Option<**bool**> | Filters on featured results. | |
|
||||
**sort** | Option<**String**> | | |[default to popularity]
|
||||
**n** | Option<**i32**> | The number of objects to return. | |[default to 60]
|
||||
**order** | Option<**String**> | | |[default to descending]
|
||||
@ -133,7 +133,7 @@ Search and list favorited worlds by query filters.
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**featured** | Option<**String**> | Filters on featured results. | |
|
||||
**featured** | Option<**bool**> | Filters on featured results. | |
|
||||
**sort** | Option<**String**> | | |[default to popularity]
|
||||
**n** | Option<**i32**> | The number of objects to return. | |[default to 60]
|
||||
**order** | Option<**String**> | | |[default to descending]
|
||||
@ -175,7 +175,7 @@ Search and list recently visited worlds by query filters.
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**featured** | Option<**String**> | Filters on featured results. | |
|
||||
**featured** | Option<**bool**> | Filters on featured results. | |
|
||||
**sort** | Option<**String**> | | |[default to popularity]
|
||||
**n** | Option<**i32**> | The number of objects to return. | |[default to 60]
|
||||
**order** | Option<**String**> | | |[default to descending]
|
||||
@ -368,7 +368,7 @@ Search and list any worlds by query filters.
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**featured** | Option<**String**> | Filters on featured results. | |
|
||||
**featured** | Option<**bool**> | Filters on featured results. | |
|
||||
**sort** | Option<**String**> | | |[default to popularity]
|
||||
**user** | Option<**String**> | Set to `me` for searching own worlds. | |
|
||||
**user_id** | Option<**String**> | Filter by UserID. | |
|
||||
|
@ -171,7 +171,7 @@ pub fn get_avatar(configuration: &configuration::Configuration, avatar_id: &str)
|
||||
}
|
||||
|
||||
/// Search and list favorited avatars by query filters.
|
||||
pub fn get_favorited_avatars(configuration: &configuration::Configuration, featured: Option<&str>, sort: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, search: Option<&str>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>, user_id: Option<&str>) -> Result<Vec<crate::models::Avatar>, Error<GetFavoritedAvatarsError>> {
|
||||
pub fn get_favorited_avatars(configuration: &configuration::Configuration, featured: Option<bool>, sort: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, search: Option<&str>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>, user_id: Option<&str>) -> Result<Vec<crate::models::Avatar>, Error<GetFavoritedAvatarsError>> {
|
||||
let local_var_configuration = configuration;
|
||||
|
||||
let local_var_client = &local_var_configuration.client;
|
||||
@ -238,7 +238,7 @@ pub fn get_favorited_avatars(configuration: &configuration::Configuration, featu
|
||||
}
|
||||
|
||||
/// Search and list avatars by query filters. You can only search your own or featured avatars. It is not possible as a normal user to search other peoples avatars.
|
||||
pub fn search_avatars(configuration: &configuration::Configuration, featured: Option<&str>, sort: Option<&str>, user: Option<&str>, user_id: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>) -> Result<Vec<crate::models::Avatar>, Error<SearchAvatarsError>> {
|
||||
pub fn search_avatars(configuration: &configuration::Configuration, featured: Option<bool>, sort: Option<&str>, user: Option<&str>, user_id: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>) -> Result<Vec<crate::models::Avatar>, Error<SearchAvatarsError>> {
|
||||
let local_var_configuration = configuration;
|
||||
|
||||
let local_var_client = &local_var_configuration.client;
|
||||
|
@ -184,7 +184,7 @@ pub fn delete_world(configuration: &configuration::Configuration, world_id: &str
|
||||
}
|
||||
|
||||
/// Search and list currently Active worlds by query filters.
|
||||
pub fn get_active_worlds(configuration: &configuration::Configuration, featured: Option<&str>, sort: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, search: Option<&str>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>) -> Result<Vec<crate::models::LimitedWorld>, Error<GetActiveWorldsError>> {
|
||||
pub fn get_active_worlds(configuration: &configuration::Configuration, featured: Option<bool>, sort: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, search: Option<&str>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>) -> Result<Vec<crate::models::LimitedWorld>, Error<GetActiveWorldsError>> {
|
||||
let local_var_configuration = configuration;
|
||||
|
||||
let local_var_client = &local_var_configuration.client;
|
||||
@ -248,7 +248,7 @@ pub fn get_active_worlds(configuration: &configuration::Configuration, featured:
|
||||
}
|
||||
|
||||
/// Search and list favorited worlds by query filters.
|
||||
pub fn get_favorited_worlds(configuration: &configuration::Configuration, featured: Option<&str>, sort: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, search: Option<&str>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>, user_id: Option<&str>) -> Result<Vec<crate::models::LimitedWorld>, Error<GetFavoritedWorldsError>> {
|
||||
pub fn get_favorited_worlds(configuration: &configuration::Configuration, featured: Option<bool>, sort: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, search: Option<&str>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>, user_id: Option<&str>) -> Result<Vec<crate::models::LimitedWorld>, Error<GetFavoritedWorldsError>> {
|
||||
let local_var_configuration = configuration;
|
||||
|
||||
let local_var_client = &local_var_configuration.client;
|
||||
@ -315,7 +315,7 @@ pub fn get_favorited_worlds(configuration: &configuration::Configuration, featur
|
||||
}
|
||||
|
||||
/// Search and list recently visited worlds by query filters.
|
||||
pub fn get_recent_worlds(configuration: &configuration::Configuration, featured: Option<&str>, sort: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, search: Option<&str>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>, user_id: Option<&str>) -> Result<Vec<crate::models::LimitedWorld>, Error<GetRecentWorldsError>> {
|
||||
pub fn get_recent_worlds(configuration: &configuration::Configuration, featured: Option<bool>, sort: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, search: Option<&str>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>, user_id: Option<&str>) -> Result<Vec<crate::models::LimitedWorld>, Error<GetRecentWorldsError>> {
|
||||
let local_var_configuration = configuration;
|
||||
|
||||
let local_var_client = &local_var_configuration.client;
|
||||
@ -522,7 +522,7 @@ pub fn publish_world(configuration: &configuration::Configuration, world_id: &st
|
||||
}
|
||||
|
||||
/// Search and list any worlds by query filters.
|
||||
pub fn search_worlds(configuration: &configuration::Configuration, featured: Option<&str>, sort: Option<&str>, user: Option<&str>, user_id: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, search: Option<&str>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>) -> Result<Vec<crate::models::LimitedWorld>, Error<SearchWorldsError>> {
|
||||
pub fn search_worlds(configuration: &configuration::Configuration, featured: Option<bool>, sort: Option<&str>, user: Option<&str>, user_id: Option<&str>, n: Option<i32>, order: Option<&str>, offset: Option<i32>, search: Option<&str>, tag: Option<&str>, notag: Option<&str>, release_status: Option<&str>, max_unity_version: Option<&str>, min_unity_version: Option<&str>, platform: Option<&str>) -> Result<Vec<crate::models::LimitedWorld>, Error<SearchWorldsError>> {
|
||||
let local_var_configuration = configuration;
|
||||
|
||||
let local_var_client = &local_var_configuration.client;
|
||||
|
@ -29,7 +29,7 @@ pub struct UnityPackage {
|
||||
#[serde(rename = "pluginUrlObject", skip_serializing_if = "Option::is_none")]
|
||||
pub plugin_url_object: Option<serde_json::Value>,
|
||||
#[serde(rename = "unitySortNumber", skip_serializing_if = "Option::is_none")]
|
||||
pub unity_sort_number: Option<i32>,
|
||||
pub unity_sort_number: Option<i64>,
|
||||
#[serde(rename = "unityVersion")]
|
||||
pub unity_version: String,
|
||||
}
|
||||
|
Reference in New Issue
Block a user