/*
 * VRChat API Documentation
 *
 *
 * Contact: me@ariesclark.com
 * Generated by: https://openapi-generator.tech
 */


/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum InstanceType {
    #[serde(rename = "public")]
    Public,
    #[serde(rename = "hidden")]
    Hidden,
    #[serde(rename = "friends")]
    Friends,
    #[serde(rename = "private")]
    Private,

}

impl ToString for InstanceType {
    fn to_string(&self) -> String {
        match self {
            Self::Public => String::from("public"),
            Self::Hidden => String::from("hidden"),
            Self::Friends => String::from("friends"),
            Self::Private => String::from("private"),
        }
    }
}

impl Default for InstanceType {
    fn default() -> InstanceType {
        Self::Public
    }
}




