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 RecordList {
    /// Accreditation is the org's tracked accreditation-state records.
    #[serde(rename = "accreditation", skip_serializing_if = "Option::is_none")]
    pub accreditation: Option<Vec<models::AccView>>,
    /// Disclaimer states that statuses are provider-reported or tracked, never a platform assertion of legal or regulatory compliance.
    #[serde(rename = "disclaimer", skip_serializing_if = "Option::is_none")]
    pub disclaimer: Option<String>,
    /// Verifications is the org's KYC/KYB checks, provider-reported statuses only.
    #[serde(rename = "verifications", skip_serializing_if = "Option::is_none")]
    pub verifications: Option<Vec<models::CheckView>>,
}

impl RecordList {
    pub fn new() -> RecordList {
        RecordList {
            accreditation: None,
            disclaimer: None,
            verifications: None,
        }
    }
}