mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 15:45:35 +00:00
32 lines
1015 B
Rust
32 lines
1015 B
Rust
/*
|
|
* VRChat API Documentation
|
|
*
|
|
*
|
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
* Generated by: https://openapi-generator.tech
|
|
*/
|
|
|
|
|
|
|
|
|
|
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
|
|
pub struct NotificationDetailVoteToKick {
|
|
/// 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 = "initiatorUserId")]
|
|
pub initiator_user_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.
|
|
#[serde(rename = "userToKickId")]
|
|
pub user_to_kick_id: String,
|
|
}
|
|
|
|
impl NotificationDetailVoteToKick {
|
|
pub fn new(initiator_user_id: String, user_to_kick_id: String) -> NotificationDetailVoteToKick {
|
|
NotificationDetailVoteToKick {
|
|
initiator_user_id,
|
|
user_to_kick_id,
|
|
}
|
|
}
|
|
}
|
|
|
|
|