Skip to main content

hanzo_client/models/
captable_round_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 CaptableRoundIn {
16    #[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
17    pub name: Option<Option<serde_json::Value>>,
18    #[serde(rename = "preMoneyValuation", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
19    pub pre_money_valuation: Option<Option<serde_json::Value>>,
20    #[serde(rename = "pricePerShare", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
21    pub price_per_share: Option<Option<serde_json::Value>>,
22    #[serde(rename = "roundType", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
23    pub round_type: Option<Option<serde_json::Value>>,
24    #[serde(rename = "shareClassId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
25    pub share_class_id: Option<Option<serde_json::Value>>,
26    #[serde(rename = "targetAmount", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
27    pub target_amount: Option<Option<serde_json::Value>>,
28}
29
30impl CaptableRoundIn {
31    pub fn new() -> CaptableRoundIn {
32        CaptableRoundIn {
33            name: None,
34            pre_money_valuation: None,
35            price_per_share: None,
36            round_type: None,
37            share_class_id: None,
38            target_amount: None,
39        }
40    }
41}
42