tapis-sk 0.3.0

The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
Documentation
/*
 * 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 ReqAddChildRole {
    #[serde(rename = "roleTenant")]
    pub role_tenant: String,
    #[serde(rename = "parentRoleName")]
    pub parent_role_name: String,
    #[serde(rename = "childRoleName")]
    pub child_role_name: String,
}

impl ReqAddChildRole {
    pub fn new(
        role_tenant: String,
        parent_role_name: String,
        child_role_name: String,
    ) -> ReqAddChildRole {
        ReqAddChildRole {
            role_tenant,
            parent_role_name,
            child_role_name,
        }
    }
}