/*
 * VRChat API Documentation
 *
 *
 * Contact: me@ruby.js.org
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct File {
    #[serde(rename = "extension")]
    pub extension: String,
    #[serde(rename = "id")]
    pub id: String,
    #[serde(rename = "mimeType")]
    pub mime_type: crate::models::MimeType,
    #[serde(rename = "name")]
    pub name: String,
    #[serde(rename = "ownerId")]
    pub owner_id: String,
    #[serde(rename = "tags")]
    pub tags: Vec<String>,
    #[serde(rename = "versions")]
    pub versions: Vec<crate::models::FileVersion>,
}

impl File {
    pub fn new(extension: String, id: String, mime_type: crate::models::MimeType, name: String, owner_id: String, tags: Vec<String>, versions: Vec<crate::models::FileVersion>) -> File {
        File {
            extension,
            id,
            mime_type,
            name,
            owner_id,
            tags,
            versions,
        }
    }
}


