linkbreakers 1.101.5

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.101.5
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// SocialLinkTraceButton : SocialLinkTraceButton stores metadata for social link buttons.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SocialLinkTraceButton {
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    #[serde(rename = "order", skip_serializing_if = "Option::is_none")]
    pub order: Option<i32>,
    #[serde(rename = "platform", skip_serializing_if = "Option::is_none")]
    pub platform: Option<String>,
    #[serde(rename = "url", skip_serializing_if = "Option::is_none")]
    pub url: Option<String>,
}

impl SocialLinkTraceButton {
    /// SocialLinkTraceButton stores metadata for social link buttons.
    pub fn new() -> SocialLinkTraceButton {
        SocialLinkTraceButton {
            id: None,
            order: None,
            platform: None,
            url: None,
        }
    }
}