Skip to main content

tapis_workflows/models/
secret_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 SecretRef {
16    #[serde(rename = "engine", skip_serializing_if = "Option::is_none")]
17    pub engine: Option<String>,
18    #[serde(rename = "pk", skip_serializing_if = "Option::is_none")]
19    pub pk: Option<String>,
20    #[serde(rename = "field_selector", skip_serializing_if = "Option::is_none")]
21    pub field_selector: Option<Vec<String>>,
22}
23
24impl SecretRef {
25    pub fn new() -> SecretRef {
26        SecretRef {
27            engine: None,
28            pk: None,
29            field_selector: None,
30        }
31    }
32}