Skip to main content

hanzo_client/models/
captable_share_class_in.rs

1/*
2 * Hanzo Cloud API
3 *
4 * 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/.
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CaptableShareClassIn {
16    #[serde(rename = "boardApprovalDate", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
17    pub board_approval_date: Option<Option<serde_json::Value>>,
18    #[serde(rename = "classType", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
19    pub class_type: Option<Option<serde_json::Value>>,
20    #[serde(rename = "conversionRights", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
21    pub conversion_rights: Option<Option<serde_json::Value>>,
22    #[serde(rename = "convertsToShareClassId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
23    pub converts_to_share_class_id: Option<Option<serde_json::Value>>,
24    #[serde(rename = "initialSharesAuthorized", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
25    pub initial_shares_authorized: Option<Option<serde_json::Value>>,
26    #[serde(rename = "liquidationPreferenceMultiple", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
27    pub liquidation_preference_multiple: Option<Option<serde_json::Value>>,
28    #[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
29    pub name: Option<Option<serde_json::Value>>,
30    #[serde(rename = "parValue", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
31    pub par_value: Option<Option<serde_json::Value>>,
32    #[serde(rename = "participationCapMultiple", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
33    pub participation_cap_multiple: Option<Option<serde_json::Value>>,
34    #[serde(rename = "pricePerShare", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
35    pub price_per_share: Option<Option<serde_json::Value>>,
36    #[serde(rename = "seniority", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
37    pub seniority: Option<Option<serde_json::Value>>,
38    #[serde(rename = "stockholderApprovalDate", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
39    pub stockholder_approval_date: Option<Option<serde_json::Value>>,
40    #[serde(rename = "votesPerShare", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
41    pub votes_per_share: Option<Option<serde_json::Value>>,
42}
43
44impl CaptableShareClassIn {
45    pub fn new() -> CaptableShareClassIn {
46        CaptableShareClassIn {
47            board_approval_date: None,
48            class_type: None,
49            conversion_rights: None,
50            converts_to_share_class_id: None,
51            initial_shares_authorized: None,
52            liquidation_preference_multiple: None,
53            name: None,
54            par_value: None,
55            participation_cap_multiple: None,
56            price_per_share: None,
57            seniority: None,
58            stockholder_approval_date: None,
59            votes_per_share: None,
60        }
61    }
62}
63