/*
 * 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 SecretRef {
    #[serde(rename = "engine", skip_serializing_if = "Option::is_none")]
    pub engine: Option<String>,
    #[serde(rename = "pk", skip_serializing_if = "Option::is_none")]
    pub pk: Option<String>,
    #[serde(rename = "field_selector", skip_serializing_if = "Option::is_none")]
    pub field_selector: Option<Vec<String>>,
}

impl SecretRef {
    pub fn new() -> SecretRef {
        SecretRef {
            engine: None,
            pk: None,
            field_selector: None,
        }
    }
}
