linkbreakers 1.132.3

Official Rust SDK for the Linkbreakers API
Documentation
/*
 * Linkbreakers API
 *
 * This is a documentation of all the APIs of Linkbreakers
 *
 * The version of the OpenAPI document: 1.132.3
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// SocketSubscribedMessage : SocketSubscribedMessage confirms a channel was joined.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SocketSubscribedMessage {
    #[serde(rename = "channel", skip_serializing_if = "Option::is_none")]
    pub channel: Option<String>,
    #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
    pub r#type: Option<models::SocketMessageType>,
}

impl SocketSubscribedMessage {
    /// SocketSubscribedMessage confirms a channel was joined.
    pub fn new() -> SocketSubscribedMessage {
        SocketSubscribedMessage {
            channel: None,
            r#type: None,
        }
    }
}