hanzo-client 8.5.156

Generated client for the Hanzo API — every service, one crate.
Documentation
/*
 * Hanzo Cloud API
 *
 * The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ReplaceKitIn {
    /// Category groups the kit in the gallery browser.
    #[serde(rename = "category", skip_serializing_if = "Option::is_none")]
    pub category: Option<String>,
    /// Demo is the deployed site itself, when there is one.
    #[serde(rename = "demo", skip_serializing_if = "Option::is_none")]
    pub demo: Option<String>,
    /// Description is the browse-card blurb, max 4096 characters.
    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
    /// Features are the highlights the card lists, at most 32.
    #[serde(rename = "features", skip_serializing_if = "Option::is_none")]
    pub features: Option<Vec<String>>,
    /// Framework is the stack the kit is built on (\"Next.js 14\").
    #[serde(rename = "framework", skip_serializing_if = "Option::is_none")]
    pub framework: Option<String>,
    /// Preview is the still image the browse card renders, max 4096 characters.
    #[serde(rename = "preview", skip_serializing_if = "Option::is_none")]
    pub preview: Option<String>,
    /// Slug is the kit to replace, from the path.
    #[serde(rename = "slug", skip_serializing_if = "Option::is_none")]
    pub slug: Option<String>,
    /// Source is the repository the kit is forked from, max 4096 characters.
    #[serde(rename = "source", skip_serializing_if = "Option::is_none")]
    pub source: Option<String>,
    /// Title is the display name. Required, max 200 characters.
    #[serde(rename = "title", skip_serializing_if = "Option::is_none")]
    pub title: Option<String>,
    /// UseCase is what the kit is for, in a phrase.
    #[serde(rename = "useCase", skip_serializing_if = "Option::is_none")]
    pub use_case: Option<String>,
    /// Variants are the shapes this kit ships in, at most 32; the fork picks one.
    #[serde(rename = "variants", skip_serializing_if = "Option::is_none")]
    pub variants: Option<Vec<models::Variant>>,
}

impl ReplaceKitIn {
    pub fn new() -> ReplaceKitIn {
        ReplaceKitIn {
            category: None,
            demo: None,
            description: None,
            features: None,
            framework: None,
            preview: None,
            slug: None,
            source: None,
            title: None,
            use_case: None,
            variants: None,
        }
    }
}