#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash,
    Copy
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct ConnectionStatus {
    #[serde(rename = "isConnected")]
    is_connected: bool,
}
impl ConnectionStatus {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(is_connected: bool) -> Self {
        Self::builder().is_connected(is_connected).build()
    }
    #[inline]
    pub fn is_connected(&self) -> bool {
        self.is_connected
    }
}
