linkbreakers 1.92.2

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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CustomDomainsServiceUpdateBody {
    /// URL where visitors are redirected when accessing your custom domain without a path (e.g., qr.yourdomain.com). This redirect is not tracked and serves purely for white-label purposes—preventing visitors from seeing linkbreakers.com branding. Leave empty to redirect to linkbreakers.com by default.
    #[serde(rename = "rootDestination", skip_serializing_if = "Option::is_none")]
    pub root_destination: Option<String>,
}

impl CustomDomainsServiceUpdateBody {
    pub fn new() -> CustomDomainsServiceUpdateBody {
        CustomDomainsServiceUpdateBody {
            root_destination: None,
        }
    }
}