/*
 * Streams API
 *
 * Manage Tapis Streams API.
 *
 * The version of the OpenAPI document: 1
 * Contact: cicsupport@tacc.utexas.edu
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ChannelTriggersWithActionsInnerAction {
    /// base url for tenant
    #[serde(rename = "actor_base_url", skip_serializing_if = "Option::is_none")]
    pub actor_base_url: Option<String>,
    /// actor id
    #[serde(rename = "actor_id", skip_serializing_if = "Option::is_none")]
    pub actor_id: Option<String>,
    /// message posted to the actor
    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
    pub message: Option<String>,
    /// ACTOR
    #[serde(rename = "method", skip_serializing_if = "Option::is_none")]
    pub method: Option<String>,
    /// Abaco nonces
    #[serde(rename = "nonces", skip_serializing_if = "Option::is_none")]
    pub nonces: Option<String>,
}

impl ChannelTriggersWithActionsInnerAction {
    pub fn new() -> ChannelTriggersWithActionsInnerAction {
        ChannelTriggersWithActionsInnerAction {
            actor_base_url: None,
            actor_id: None,
            message: None,
            method: None,
            nonces: None,
        }
    }
}
