/*
 * 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 SearchAvailablePhoneNumbers200Response {
    #[serde(rename = "country", skip_serializing_if = "Option::is_none")]
    pub country: Option<String>,
    #[serde(rename = "numberType", skip_serializing_if = "Option::is_none")]
    pub number_type: Option<String>,
    /// Echo of the `sms` filter applied to this search.
    #[serde(rename = "requireSms", skip_serializing_if = "Option::is_none")]
    pub require_sms: Option<bool>,
    #[serde(rename = "numbers", skip_serializing_if = "Option::is_none")]
    pub numbers: Option<Vec<models::SearchAvailablePhoneNumbers200ResponseNumbersInner>>,
}

impl SearchAvailablePhoneNumbers200Response {
    pub fn new() -> SearchAvailablePhoneNumbers200Response {
        SearchAvailablePhoneNumbers200Response {
            country: None,
            number_type: None,
            require_sms: None,
            numbers: None,
        }
    }
}
