/*
 * Zernio API
 *
 * API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
 *
 * The version of the OpenAPI document: 1.0.4
 * Contact: support@zernio.com
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ValidateMedia200ResponsePlatformLimitsValue {
    /// Platform size limit in bytes
    #[serde(rename = "limit", skip_serializing_if = "Option::is_none")]
    pub limit: Option<i32>,
    #[serde(rename = "limitFormatted", skip_serializing_if = "Option::is_none")]
    pub limit_formatted: Option<String>,
    #[serde(rename = "withinLimit", skip_serializing_if = "Option::is_none")]
    pub within_limit: Option<bool>,
}

impl ValidateMedia200ResponsePlatformLimitsValue {
    pub fn new() -> ValidateMedia200ResponsePlatformLimitsValue {
        ValidateMedia200ResponsePlatformLimitsValue {
            limit: None,
            limit_formatted: None,
            within_limit: None,
        }
    }
}
