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 CaptableOptionIn {
    #[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 = "cliffYears", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub cliff_years: Option<Option<serde_json::Value>>,
    #[serde(rename = "equityPlanId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub equity_plan_id: Option<Option<serde_json::Value>>,
    #[serde(rename = "exercisePrice", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub exercise_price: Option<Option<serde_json::Value>>,
    #[serde(rename = "expirationDate", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub expiration_date: Option<Option<serde_json::Value>>,
    #[serde(rename = "grantId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub grant_id: 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 = "notes", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub notes: Option<Option<serde_json::Value>>,
    #[serde(rename = "quantity", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub quantity: Option<Option<serde_json::Value>>,
    #[serde(rename = "rule144Date", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub rule144_date: 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 = "vestingStartDate", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub vesting_start_date: Option<Option<serde_json::Value>>,
    #[serde(rename = "vestingYears", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub vesting_years: Option<Option<serde_json::Value>>,
}

impl CaptableOptionIn {
    pub fn new() -> CaptableOptionIn {
        CaptableOptionIn {
            board_approval_date: None,
            cliff_years: None,
            equity_plan_id: None,
            exercise_price: None,
            expiration_date: None,
            grant_id: None,
            issue_date: None,
            notes: None,
            quantity: None,
            rule144_date: None,
            stakeholder_id: None,
            status: None,
            r#type: None,
            vesting_start_date: None,
            vesting_years: None,
        }
    }
}