/*
 * Tapis Workflows API
 *
 * Create and manage pipelines
 *
 * The version of the OpenAPI document: 1.6.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 EtlLocalInbox {
    #[serde(rename = "manifests")]
    pub manifests: Box<models::EtlManifestsSystem>,
    #[serde(rename = "data")]
    pub data: Box<models::EtlDataSystem>,
    #[serde(rename = "control", skip_serializing_if = "Option::is_none")]
    pub control: Option<Box<models::EtlControlSystem>>,
}

impl EtlLocalInbox {
    pub fn new(
        manifests: models::EtlManifestsSystem,
        data: models::EtlDataSystem,
    ) -> EtlLocalInbox {
        EtlLocalInbox {
            manifests: Box::new(manifests),
            data: Box::new(data),
            control: None,
        }
    }
}
