Skip to main content

hanzo_client/models/
import_cap_table_out.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 ImportCapTableOut {
16    /// Formation is the org's incorporation record, now marked cap-table-imported.
17    #[serde(rename = "formation", skip_serializing_if = "Option::is_none")]
18    pub formation: Option<Box<models::Formation>>,
19    /// Rows is how many rows were read from the sheet, header included.
20    #[serde(rename = "rows", skip_serializing_if = "Option::is_none")]
21    pub rows: Option<i32>,
22    /// StakeholdersImported is how many stakeholders the cap table accepted.
23    #[serde(rename = "stakeholdersImported", skip_serializing_if = "Option::is_none")]
24    pub stakeholders_imported: Option<i32>,
25}
26
27impl ImportCapTableOut {
28    pub fn new() -> ImportCapTableOut {
29        ImportCapTableOut {
30            formation: None,
31            rows: None,
32            stakeholders_imported: None,
33        }
34    }
35}
36