/*
 * 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 LicenseType {
    #[serde(rename = "avatar")]
    Avatar,
    #[serde(rename = "licenseGroup")]
    LicenseGroup,
    #[serde(rename = "permission")]
    Permission,
    #[serde(rename = "product")]
    Product,

}

impl ToString for LicenseType {
    fn to_string(&self) -> String {
        match self {
            Self::Avatar => String::from("avatar"),
            Self::LicenseGroup => String::from("licenseGroup"),
            Self::Permission => String::from("permission"),
            Self::Product => String::from("product"),
        }
    }
}

impl Default for LicenseType {
    fn default() -> LicenseType {
        Self::Avatar
    }
}




