/*
 * 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, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum PurchasePhoneNumber200Response {
    PurchasePhoneNumber200ResponseOneOf(Box<models::PurchasePhoneNumber200ResponseOneOf>),
    PurchasePhoneNumber200ResponseOneOf1(Box<models::PurchasePhoneNumber200ResponseOneOf1>),
    PurchasePhoneNumber200ResponseOneOf2(Box<models::PurchasePhoneNumber200ResponseOneOf2>),
}

impl Default for PurchasePhoneNumber200Response {
    fn default() -> Self {
        Self::PurchasePhoneNumber200ResponseOneOf(Default::default())
    }
}
///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Status {
    #[serde(rename = "already_purchased")]
    AlreadyPurchased,
}

impl Default for Status {
    fn default() -> Status {
        Self::AlreadyPurchased
    }
}
