1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
* 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 AccView {
/// Basis is the qualification category: income, net_worth, professional_license, or entity.
#[serde(rename = "basis", skip_serializing_if = "Option::is_none")]
pub basis: Option<String>,
/// CreatedAt is the unix second the record was created.
#[serde(rename = "createdAt", skip_serializing_if = "Option::is_none")]
pub created_at: Option<i32>,
/// EvidenceDocID references an evidence document in the org's sealed data room.
#[serde(rename = "evidenceDocId", skip_serializing_if = "Option::is_none")]
pub evidence_doc_id: Option<String>,
/// ExpiresAt is the unix second a confirmation ages out; 0 means none.
#[serde(rename = "expiresAt", skip_serializing_if = "Option::is_none")]
pub expires_at: Option<i32>,
/// ID is the accreditation record's opaque id.
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<String>,
/// Method is how the state was established: self_attested, third_party_letter, or provider_verified.
#[serde(rename = "method", skip_serializing_if = "Option::is_none")]
pub method: Option<String>,
/// Note is a non-PII operator note.
#[serde(rename = "note", skip_serializing_if = "Option::is_none")]
pub note: Option<String>,
/// ReviewerSub is the org user who recorded a decision on this record.
#[serde(rename = "reviewerSub", skip_serializing_if = "Option::is_none")]
pub reviewer_sub: Option<String>,
/// Status is the tracked state: asserted, provider_verified, reviewer_confirmed, rejected, or expired.
#[serde(rename = "status", skip_serializing_if = "Option::is_none")]
pub status: Option<String>,
/// SubjectID is the opaque id of the subject the record is about.
#[serde(rename = "subjectId", skip_serializing_if = "Option::is_none")]
pub subject_id: Option<String>,
/// UpdatedAt is the unix second the record last changed.
#[serde(rename = "updatedAt", skip_serializing_if = "Option::is_none")]
pub updated_at: Option<i32>,
}
impl AccView {
pub fn new() -> AccView {
AccView {
basis: None,
created_at: None,
evidence_doc_id: None,
expires_at: None,
id: None,
method: None,
note: None,
reviewer_sub: None,
status: None,
subject_id: None,
updated_at: None,
}
}
}