hanzo_client/models/filing.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 Filing {
16 /// At is the unix second the filing record was written.
17 #[serde(rename = "at", skip_serializing_if = "Option::is_none")]
18 pub at: Option<i32>,
19 /// Note explains a filing Hanzo did not perform itself: what remains to be done and by whom.
20 #[serde(rename = "note", skip_serializing_if = "Option::is_none")]
21 pub note: Option<String>,
22 /// Provider is the filing partner that performed the filing, or \"manual\" when no partner is wired.
23 #[serde(rename = "provider", skip_serializing_if = "Option::is_none")]
24 pub provider: Option<String>,
25 /// Ref is the partner's or the state's filing reference. Empty when nothing was actually filed — no filing id is ever fabricated.
26 #[serde(rename = "ref", skip_serializing_if = "Option::is_none")]
27 pub r#ref: Option<String>,
28 /// Status is manual (no partner wired — a registered agent files out-of-band), submitted (the partner accepted it, awaiting the state), filed (the state accepted it) or rejected.
29 #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
30 pub status: Option<String>,
31}
32
33impl Filing {
34 pub fn new() -> Filing {
35 Filing {
36 at: None,
37 note: None,
38 provider: None,
39 r#ref: None,
40 status: None,
41 }
42 }
43}
44