/*
 * 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};

/// ListQueueSlots200ResponseOneOf1 : All queues response (when all=true)
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListQueueSlots200ResponseOneOf1 {
    #[serde(rename = "queues", skip_serializing_if = "Option::is_none")]
    pub queues: Option<Vec<models::QueueSchedule>>,
    #[serde(rename = "count", skip_serializing_if = "Option::is_none")]
    pub count: Option<i32>,
}

impl ListQueueSlots200ResponseOneOf1 {
    /// All queues response (when all=true)
    pub fn new() -> ListQueueSlots200ResponseOneOf1 {
        ListQueueSlots200ResponseOneOf1 {
            queues: None,
            count: None,
        }
    }
}
