/*
 * 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 SendInboxMessageRequestInteractiveAction {
    SendInboxMessageRequestInteractiveActionOneOf(
        Box<models::SendInboxMessageRequestInteractiveActionOneOf>,
    ),
    SendInboxMessageRequestInteractiveActionOneOf1(
        Box<models::SendInboxMessageRequestInteractiveActionOneOf1>,
    ),
    SendInboxMessageRequestInteractiveActionOneOf2(
        Box<models::SendInboxMessageRequestInteractiveActionOneOf2>,
    ),
    SendInboxMessageRequestInteractiveActionOneOf3(
        Box<models::SendInboxMessageRequestInteractiveActionOneOf3>,
    ),
    SendInboxMessageRequestInteractiveActionOneOf4(
        Box<models::SendInboxMessageRequestInteractiveActionOneOf4>,
    ),
    SendInboxMessageRequestInteractiveActionOneOf5(
        Box<models::SendInboxMessageRequestInteractiveActionOneOf5>,
    ),
    SendInboxMessageRequestInteractiveActionOneOf6(
        Box<models::SendInboxMessageRequestInteractiveActionOneOf6>,
    ),
    SendInboxMessageRequestInteractiveActionOneOf7(
        Box<models::SendInboxMessageRequestInteractiveActionOneOf7>,
    ),
    SendInboxMessageRequestInteractiveActionOneOf8(
        Box<models::SendInboxMessageRequestInteractiveActionOneOf8>,
    ),
}

impl Default for SendInboxMessageRequestInteractiveAction {
    fn default() -> Self {
        Self::SendInboxMessageRequestInteractiveActionOneOf(Default::default())
    }
}
///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Name {
    #[serde(rename = "catalog_message")]
    CatalogMessage,
}

impl Default for Name {
    fn default() -> Name {
        Self::CatalogMessage
    }
}
