/*
 * 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, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum MqttClientVersion {
    #[serde(rename = "v3")]
    V3,
    #[serde(rename = "v5")]
    V5,

}

impl std::fmt::Display for MqttClientVersion {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::V3 => write!(f, "v3"),
            Self::V5 => write!(f, "v5"),
        }
    }
}

impl Default for MqttClientVersion {
    fn default() -> MqttClientVersion {
        Self::V3
    }
}

