/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.6
 * 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 MqttV5Config {
    #[serde(rename = "clean_start", skip_serializing_if = "Option::is_none")]
    pub clean_start: Option<bool>,
    #[serde(rename = "topic_alias_maximum", skip_serializing_if = "Option::is_none")]
    pub topic_alias_maximum: Option<f64>,
    #[serde(rename = "session_expiry_interval", skip_serializing_if = "Option::is_none")]
    pub session_expiry_interval: Option<f64>,
}

impl MqttV5Config {
    pub fn new() -> MqttV5Config {
        MqttV5Config {
            clean_start: None,
            topic_alias_maximum: None,
            session_expiry_interval: None,
        }
    }
}

