hanzo_client/models/form.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 Form {
16 /// Code is the IRS designation, e.g. \"SS-4\".
17 #[serde(rename = "code", skip_serializing_if = "Option::is_none")]
18 pub code: Option<String>,
19 /// Name is the form's own title, so a reader need not already know the code.
20 #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
21 pub name: Option<String>,
22 /// Signed reports whether we hold the signature.
23 #[serde(rename = "signed", skip_serializing_if = "Option::is_none")]
24 pub signed: Option<bool>,
25 /// Why states what this form is for in this application — the same form is owed for different reasons on different paths.
26 #[serde(rename = "why", skip_serializing_if = "Option::is_none")]
27 pub why: Option<String>,
28}
29
30impl Form {
31 pub fn new() -> Form {
32 Form {
33 code: None,
34 name: None,
35 signed: None,
36 why: None,
37 }
38 }
39}
40