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




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct CreateFileVersionRequest {
    #[serde(rename = "signatureMd5")]
    pub signature_md5: String,
    #[serde(rename = "signatureSizeInBytes")]
    pub signature_size_in_bytes: f32,
    #[serde(rename = "fileMd5", skip_serializing_if = "Option::is_none")]
    pub file_md5: Option<String>,
    #[serde(rename = "fileSizeInBytes", skip_serializing_if = "Option::is_none")]
    pub file_size_in_bytes: Option<f32>,
}

impl CreateFileVersionRequest {
    pub fn new(signature_md5: String, signature_size_in_bytes: f32) -> CreateFileVersionRequest {
        CreateFileVersionRequest {
            signature_md5,
            signature_size_in_bytes,
            file_md5: None,
            file_size_in_bytes: None,
        }
    }
}


