/*
 * Tapis Notifications API
 *
 * The Tapis Notifications API provides for management of subscriptions and event publication
 *
 * The version of the OpenAPI document: 25Q4.0
 * 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 TestSequence {
    #[serde(rename = "tenant", skip_serializing_if = "Option::is_none")]
    pub tenant: Option<String>,
    #[serde(rename = "subscription", skip_serializing_if = "Option::is_none")]
    pub subscription: Option<Box<models::TapisSubscription>>,
    #[serde(rename = "receivedEvents", skip_serializing_if = "Option::is_none")]
    pub received_events: Option<Vec<models::Event>>,
}

impl TestSequence {
    pub fn new() -> TestSequence {
        TestSequence {
            tenant: None,
            subscription: None,
            received_events: None,
        }
    }
}
