/*
 * 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 GetInstagramPublishingLimit200Response {
    /// Containers published so far in the current window
    #[serde(rename = "quotaUsage", skip_serializing_if = "Option::is_none")]
    pub quota_usage: Option<i32>,
    /// Maximum containers publishable per window
    #[serde(rename = "quotaTotal", skip_serializing_if = "Option::is_none")]
    pub quota_total: Option<i32>,
    /// Length of the rolling window in seconds
    #[serde(
        rename = "quotaDurationSeconds",
        skip_serializing_if = "Option::is_none"
    )]
    pub quota_duration_seconds: Option<i32>,
}

impl GetInstagramPublishingLimit200Response {
    pub fn new() -> GetInstagramPublishingLimit200Response {
        GetInstagramPublishingLimit200Response {
            quota_usage: None,
            quota_total: None,
            quota_duration_seconds: None,
        }
    }
}
