Skip to main content

tapis_workflows/models/
task_output_ref.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 TaskOutputRef {
16    #[serde(rename = "task_id")]
17    pub task_id: String,
18    #[serde(rename = "output_id")]
19    pub output_id: String,
20}
21
22impl TaskOutputRef {
23    pub fn new(task_id: String, output_id: String) -> TaskOutputRef {
24        TaskOutputRef { task_id, output_id }
25    }
26}