/*
 * 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};

/// SendInboxMessageRequestInteractiveBody : Required for every type except `product`, where it is optional.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SendInboxMessageRequestInteractiveBody {
    /// Main body text.
    #[serde(rename = "text")]
    pub text: String,
}

impl SendInboxMessageRequestInteractiveBody {
    /// Required for every type except `product`, where it is optional.
    pub fn new(text: String) -> SendInboxMessageRequestInteractiveBody {
        SendInboxMessageRequestInteractiveBody { text }
    }
}
