/*
 * Zernio API
 *
 * API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
 *
 * The version of the OpenAPI document: 1.0.4
 * Contact: support@zernio.com
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SubmitWhatsAppNumberKycRequestAddress {
    #[serde(rename = "requirementId", skip_serializing_if = "Option::is_none")]
    pub requirement_id: Option<String>,
    #[serde(rename = "country_code", skip_serializing_if = "Option::is_none")]
    pub country_code: Option<String>,
    #[serde(rename = "business_name", skip_serializing_if = "Option::is_none")]
    pub business_name: Option<String>,
    #[serde(rename = "first_name", skip_serializing_if = "Option::is_none")]
    pub first_name: Option<String>,
    #[serde(rename = "last_name", skip_serializing_if = "Option::is_none")]
    pub last_name: Option<String>,
    #[serde(rename = "street_address", skip_serializing_if = "Option::is_none")]
    pub street_address: Option<String>,
    #[serde(rename = "locality", skip_serializing_if = "Option::is_none")]
    pub locality: Option<String>,
    #[serde(
        rename = "administrative_area",
        skip_serializing_if = "Option::is_none"
    )]
    pub administrative_area: Option<String>,
    #[serde(rename = "postal_code", skip_serializing_if = "Option::is_none")]
    pub postal_code: Option<String>,
}

impl SubmitWhatsAppNumberKycRequestAddress {
    pub fn new() -> SubmitWhatsAppNumberKycRequestAddress {
        SubmitWhatsAppNumberKycRequestAddress {
            requirement_id: None,
            country_code: None,
            business_name: None,
            first_name: None,
            last_name: None,
            street_address: None,
            locality: None,
            administrative_area: None,
            postal_code: None,
        }
    }
}
