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

View File

@ -0,0 +1,29 @@
/*
* VRChat API Documentation
*
*
* Contact: me@ruby.js.org
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct ModerateUserRequest {
#[serde(rename = "moderated")]
pub moderated: String,
#[serde(rename = "type")]
pub _type: crate::models::PlayerModerationType,
}
impl ModerateUserRequest {
pub fn new(moderated: String, _type: crate::models::PlayerModerationType) -> ModerateUserRequest {
ModerateUserRequest {
moderated,
_type,
}
}
}