tapis_workflows/models/req_base_destination.rs
1/*
2 * Tapis Workflows API
3 *
4 * Create and manage pipelines
5 *
6 * The version of the OpenAPI document: 1.6.0
7 * Contact: cicsupport@tacc.utexas.edu
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ReqBaseDestination {
16 #[serde(rename = "type")]
17 pub r#type: models::EnumDestinationType,
18}
19
20impl ReqBaseDestination {
21 pub fn new(r#type: models::EnumDestinationType) -> ReqBaseDestination {
22 ReqBaseDestination { r#type }
23 }
24}