/*
* Linkbreakers API
*
* This is a documentation of all the APIs of Linkbreakers
*
* The version of the OpenAPI document: 1.128.2
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// SocketPingRequest : SocketPingRequest keeps the connection alive from the client side.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SocketPingRequest {
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
pub r#type: Option<models::SocketMessageType>,
}
impl SocketPingRequest {
/// SocketPingRequest keeps the connection alive from the client side.
pub fn new() -> SocketPingRequest {
SocketPingRequest {
r#type: None,
}
}
}