/*
 * 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 EventSeries {
    #[serde(rename = "source")]
    pub source: String,
    #[serde(rename = "subject")]
    pub subject: String,
    #[serde(rename = "seriesId")]
    pub series_id: String,
}

impl EventSeries {
    pub fn new(source: String, subject: String, series_id: String) -> EventSeries {
        EventSeries {
            source,
            subject,
            series_id,
        }
    }
}
