Skip to main content

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