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 CaptableSafeIn {
    #[serde(rename = "additionalTerms", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub additional_terms: Option<Option<serde_json::Value>>,
    #[serde(rename = "boardApprovalDate", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub board_approval_date: Option<Option<serde_json::Value>>,
    #[serde(rename = "capital", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub capital: Option<Option<serde_json::Value>>,
    #[serde(rename = "discountRate", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub discount_rate: Option<Option<serde_json::Value>>,
    #[serde(rename = "issueDate", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub issue_date: Option<Option<serde_json::Value>>,
    #[serde(rename = "publicId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub public_id: Option<Option<serde_json::Value>>,
    #[serde(rename = "stakeholderId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub stakeholder_id: Option<Option<serde_json::Value>>,
    #[serde(rename = "status", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub status: Option<Option<serde_json::Value>>,
    #[serde(rename = "type", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub r#type: Option<Option<serde_json::Value>>,
    #[serde(rename = "valuationCap", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub valuation_cap: Option<Option<serde_json::Value>>,
}

impl CaptableSafeIn {
    pub fn new() -> CaptableSafeIn {
        CaptableSafeIn {
            additional_terms: None,
            board_approval_date: None,
            capital: None,
            discount_rate: None,
            issue_date: None,
            public_id: None,
            stakeholder_id: None,
            status: None,
            r#type: None,
            valuation_cap: None,
        }
    }
}