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 TariffIn {
    /// AgentOfRecord puts us on file as the entity's agent, yearly.
    #[serde(rename = "agentOfRecord", skip_serializing_if = "Option::is_none")]
    pub agent_of_record: Option<bool>,
    /// ExpeditedEIN prioritises the EIN.
    #[serde(rename = "expeditedEin", skip_serializing_if = "Option::is_none")]
    pub expedited_ein: Option<bool>,
    /// Jurisdiction is the state of formation.
    #[serde(rename = "jurisdiction", skip_serializing_if = "Option::is_none")]
    pub jurisdiction: Option<String>,
    /// Structure is the entity being formed: c-corp, llc or dao-llc.
    #[serde(rename = "structure", skip_serializing_if = "Option::is_none")]
    pub structure: Option<String>,
}

impl TariffIn {
    pub fn new() -> TariffIn {
        TariffIn {
            agent_of_record: None,
            expedited_ein: None,
            jurisdiction: None,
            structure: None,
        }
    }
}