/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.8
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetQueueCount200Response {
    #[serde(rename = "database_length")]
    pub database_length: i32,
    #[serde(rename = "suspended", skip_serializing_if = "Option::is_none")]
    pub suspended: Option<i32>,
}

impl GetQueueCount200Response {
    pub fn new(database_length: i32) -> GetQueueCount200Response {
        GetQueueCount200Response {
            database_length,
            suspended: None,
        }
    }
}

