mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 15:45:35 +00:00
Set OpenAPI version back to 6.2.1 and fix GitLab CI
This commit is contained in:
36
src/models/group_limited_member.rs
Normal file
36
src/models/group_limited_member.rs
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* VRChat API Documentation
|
||||
*
|
||||
*
|
||||
* Contact: me@ariesclark.com
|
||||
* Generated by: https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
|
||||
pub struct GroupLimitedMember {
|
||||
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
|
||||
pub id: Option<String>,
|
||||
#[serde(rename = "groupId", skip_serializing_if = "Option::is_none")]
|
||||
pub group_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.
|
||||
#[serde(rename = "userId", skip_serializing_if = "Option::is_none")]
|
||||
pub user_id: Option<String>,
|
||||
#[serde(rename = "isRepresenting", skip_serializing_if = "Option::is_none")]
|
||||
pub is_representing: Option<bool>,
|
||||
}
|
||||
|
||||
impl GroupLimitedMember {
|
||||
pub fn new() -> GroupLimitedMember {
|
||||
GroupLimitedMember {
|
||||
id: None,
|
||||
group_id: None,
|
||||
user_id: None,
|
||||
is_representing: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user