zernio 0.0.451

API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
Documentation
/*
 * 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};

/// EnableSmsOnNumber200ResponseReusable : Present when an existing approved registration can cover this number via /sms/reuse-registration.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EnableSmsOnNumber200ResponseReusable {
    #[serde(rename = "registrationId", skip_serializing_if = "Option::is_none")]
    pub registration_id: Option<String>,
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
}

impl EnableSmsOnNumber200ResponseReusable {
    /// Present when an existing approved registration can cover this number via /sms/reuse-registration.
    pub fn new() -> EnableSmsOnNumber200ResponseReusable {
        EnableSmsOnNumber200ResponseReusable {
            registration_id: None,
            status: None,
        }
    }
}