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