/*
 * 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 NewChannelTriggersWithActionsInner {
    #[serde(rename = "inst_ids", skip_serializing_if = "Option::is_none")]
    pub inst_ids: Option<Vec<String>>,
    #[serde(rename = "condition", skip_serializing_if = "Option::is_none")]
    pub condition: Option<Box<models::ChannelTriggersWithActionsInnerCondition>>,
    #[serde(rename = "action", skip_serializing_if = "Option::is_none")]
    pub action: Option<Box<models::NewChannelTriggersWithActionsInnerAction>>,
}

impl NewChannelTriggersWithActionsInner {
    pub fn new() -> NewChannelTriggersWithActionsInner {
        NewChannelTriggersWithActionsInner {
            inst_ids: None,
            condition: None,
            action: None,
        }
    }
}
