#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct SpecialOneOf7 {
#[serde(rename = "type")]
pub _type: Type,
#[serde(rename = "content_type")]
pub content_type: crate::models::BandcampType,
#[serde(rename = "id")]
pub id: String,
}
impl SpecialOneOf7 {
pub fn new(_type: Type, content_type: crate::models::BandcampType, id: String) -> SpecialOneOf7 {
SpecialOneOf7 {
_type,
content_type,
id,
}
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Type {
#[serde(rename = "Bandcamp")]
Bandcamp,
}
impl Default for Type {
fn default() -> Type {
Self::Bandcamp
}
}