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 CaptableEquityPlan {
    /// BoardApprovalDate is the ISO date the board approved the plan.
    #[serde(rename = "boardApprovalDate", skip_serializing_if = "Option::is_none")]
    pub board_approval_date: Option<String>,
    /// Comments is free-form notes on the plan.
    #[serde(rename = "comments", skip_serializing_if = "Option::is_none")]
    pub comments: Option<String>,
    /// CreatedAt is when the plan was recorded, in unix milliseconds.
    #[serde(rename = "createdAt", skip_serializing_if = "Option::is_none")]
    pub created_at: Option<i32>,
    /// DefaultCancellatonBehavior is what happens to cancelled grants, RETIRE or RETURN_TO_POOL. The key is spelled as the cap-table wire spells it.
    #[serde(rename = "defaultCancellatonBehavior", skip_serializing_if = "Option::is_none")]
    pub default_cancellaton_behavior: Option<String>,
    /// ID is the equity plan id.
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    /// InitialSharesReserved is how many shares the plan reserves.
    #[serde(rename = "initialSharesReserved", skip_serializing_if = "Option::is_none")]
    pub initial_shares_reserved: Option<i32>,
    /// Name is the plan name, e.g. \"2026 Stock Option Plan\".
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// PlanEffectiveDate is the ISO date the plan takes effect.
    #[serde(rename = "planEffectiveDate", skip_serializing_if = "Option::is_none")]
    pub plan_effective_date: Option<String>,
    /// ShareClassID is the class the reserved shares come from.
    #[serde(rename = "shareClassId", skip_serializing_if = "Option::is_none")]
    pub share_class_id: Option<String>,
}

impl CaptableEquityPlan {
    pub fn new() -> CaptableEquityPlan {
        CaptableEquityPlan {
            board_approval_date: None,
            comments: None,
            created_at: None,
            default_cancellaton_behavior: None,
            id: None,
            initial_shares_reserved: None,
            name: None,
            plan_effective_date: None,
            share_class_id: None,
        }
    }
}