1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 * VRChat API Documentation
 *
 *
 * Contact: vrchatapi.lpv0t@aries.fyi
 * Generated by: https://openapi-generator.tech
 */


/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum PlayerModerationType {
    #[serde(rename = "mute")]
    Mute,
    #[serde(rename = "unmute")]
    Unmute,
    #[serde(rename = "block")]
    Block,
    #[serde(rename = "unblock")]
    Unblock,
    #[serde(rename = "interactOn")]
    InteractOn,
    #[serde(rename = "interactOff")]
    InteractOff,

}

impl ToString for PlayerModerationType {
    fn to_string(&self) -> String {
        match self {
            Self::Mute => String::from("mute"),
            Self::Unmute => String::from("unmute"),
            Self::Block => String::from("block"),
            Self::Unblock => String::from("unblock"),
            Self::InteractOn => String::from("interactOn"),
            Self::InteractOff => String::from("interactOff"),
        }
    }
}

impl Default for PlayerModerationType {
    fn default() -> PlayerModerationType {
        Self::Mute
    }
}