hanzo_client/models/kyc_session.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 KycSession {
16 /// Email is the founder the session belongs to.
17 #[serde(rename = "email", skip_serializing_if = "Option::is_none")]
18 pub email: Option<String>,
19 /// Ref is the provider's reference for the session.
20 #[serde(rename = "ref", skip_serializing_if = "Option::is_none")]
21 pub r#ref: Option<String>,
22 /// Status is the session's status at start, which is always pending.
23 #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
24 pub status: Option<String>,
25 /// VerifyURL is the hosted flow the founder visits; empty for the manual provider.
26 #[serde(rename = "verifyUrl", skip_serializing_if = "Option::is_none")]
27 pub verify_url: Option<String>,
28}
29
30impl KycSession {
31 pub fn new() -> KycSession {
32 KycSession {
33 email: None,
34 r#ref: None,
35 status: None,
36 verify_url: None,
37 }
38 }
39}
40