Skip to main content

hanzo_client/models/
begin_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 BeginIn {
16    /// AlreadyIncorporated declares an org that already has an entity, which takes the import path (POST /v1/company/skip) instead of the formation path.
17    #[serde(rename = "alreadyIncorporated", skip_serializing_if = "Option::is_none")]
18    pub already_incorporated: Option<bool>,
19    /// Jurisdiction is the state of formation: DE or WY.
20    #[serde(rename = "jurisdiction", skip_serializing_if = "Option::is_none")]
21    pub jurisdiction: Option<String>,
22    /// Name is the proposed company name.
23    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
24    pub name: Option<String>,
25    /// Structure is the legal entity to form: c-corp, llc or dao-llc.
26    #[serde(rename = "structure", skip_serializing_if = "Option::is_none")]
27    pub structure: Option<String>,
28}
29
30impl BeginIn {
31    pub fn new() -> BeginIn {
32        BeginIn {
33            already_incorporated: None,
34            jurisdiction: None,
35            name: None,
36            structure: None,
37        }
38    }
39}
40