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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PublicPageThemeTemplate {
    /// Signed URL for the template's badge image. Empty when it has no badge.
    #[serde(rename = "badgeSignedUrl", skip_serializing_if = "Option::is_none")]
    pub badge_signed_url: Option<String>,
    #[serde(rename = "builtIn", skip_serializing_if = "Option::is_none")]
    pub built_in: Option<bool>,
    /// Signed URL for the template's cover image. Empty when it has no cover.
    #[serde(rename = "coverSignedUrl", skip_serializing_if = "Option::is_none")]
    pub cover_signed_url: Option<String>,
    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
    /// Frequently Asked Questions about this template stored as JSON
    #[serde(rename = "faq", skip_serializing_if = "Option::is_none")]
    pub faq: Option<String>,
    /// Extended markdown-supported content providing detailed information about the template
    #[serde(rename = "learnMore", skip_serializing_if = "Option::is_none")]
    pub learn_more: Option<String>,
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// The styling itself, so a public gallery can render a live preview rather than only the rasterized thumbnail.
    #[serde(rename = "pageTheme", skip_serializing_if = "Option::is_none")]
    pub page_theme: Option<Box<models::PageTheme>>,
    #[serde(rename = "publishedAt", skip_serializing_if = "Option::is_none")]
    pub published_at: Option<String>,
    #[serde(rename = "slug", skip_serializing_if = "Option::is_none")]
    pub slug: Option<String>,
    #[serde(rename = "tags", skip_serializing_if = "Option::is_none")]
    pub tags: Option<String>,
    #[serde(rename = "thumbnailSignedUrl", skip_serializing_if = "Option::is_none")]
    pub thumbnail_signed_url: Option<String>,
    /// Public information about the workspace that created this template. Empty for built-in templates. Only included when 'workspace' is specified in the include parameter.
    #[serde(rename = "workspace", skip_serializing_if = "Option::is_none")]
    pub workspace: Option<Box<models::PublicWorkspace>>,
}

impl PublicPageThemeTemplate {
    pub fn new() -> PublicPageThemeTemplate {
        PublicPageThemeTemplate {
            badge_signed_url: None,
            built_in: None,
            cover_signed_url: None,
            description: None,
            faq: None,
            learn_more: None,
            name: None,
            page_theme: None,
            published_at: None,
            slug: None,
            tags: None,
            thumbnail_signed_url: None,
            workspace: None,
        }
    }
}