Skip to main content

tapis_workflows/models/
value_from.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 ValueFrom {
16    #[serde(rename = "args", skip_serializing_if = "Option::is_none")]
17    pub args: Option<String>,
18    #[serde(rename = "env", skip_serializing_if = "Option::is_none")]
19    pub env: Option<String>,
20    #[serde(rename = "task_output", skip_serializing_if = "Option::is_none")]
21    pub task_output: Option<Box<models::TaskOutputRef>>,
22    #[serde(rename = "host", skip_serializing_if = "Option::is_none")]
23    pub host: Option<String>,
24    #[serde(rename = "secret", skip_serializing_if = "Option::is_none")]
25    pub secret: Option<Box<models::SecretRef>>,
26}
27
28impl ValueFrom {
29    pub fn new() -> ValueFrom {
30        ValueFrom {
31            args: None,
32            env: None,
33            task_output: None,
34            host: None,
35            secret: None,
36        }
37    }
38}