/*
 * Tapis Security API
 *
 * The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
 *
 * The version of the OpenAPI document: 1.8.2
 * 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 Transformation {
    #[serde(rename = "permId", skip_serializing_if = "Option::is_none")]
    pub perm_id: Option<i32>,
    #[serde(rename = "oldPerm", skip_serializing_if = "Option::is_none")]
    pub old_perm: Option<String>,
    #[serde(rename = "newPerm", skip_serializing_if = "Option::is_none")]
    pub new_perm: Option<String>,
}

impl Transformation {
    pub fn new() -> Transformation {
        Transformation {
            perm_id: None,
            old_perm: None,
            new_perm: None,
        }
    }
}
