Upgrade Rust SDK to spec 1.5.0

This commit is contained in:
VRCCat
2021-10-28 20:54:23 +00:00
parent ed45aec710
commit 91bcf683ce
73 changed files with 381 additions and 426 deletions

32
src/models/api_health.rs Normal file
View File

@ -0,0 +1,32 @@
/*
* VRChat API Documentation
*
*
* Contact: me@ruby.js.org
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct ApiHealth {
#[serde(rename = "ok")]
pub ok: bool,
#[serde(rename = "serverName")]
pub server_name: String,
#[serde(rename = "buildVersionTag")]
pub build_version_tag: String,
}
impl ApiHealth {
pub fn new(ok: bool, server_name: String, build_version_tag: String) -> ApiHealth {
ApiHealth {
ok,
server_name,
build_version_tag,
}
}
}