/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.2
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct MainArgSignatureArgsInnerTypOneOf2ObjectPropsInner {
    #[serde(rename = "key")]
    pub key: String,
    #[serde(rename = "typ")]
    pub typ: Box<models::MainArgSignatureArgsInnerTypOneOf2ObjectPropsInnerTyp>,
}

impl MainArgSignatureArgsInnerTypOneOf2ObjectPropsInner {
    pub fn new(key: String, typ: models::MainArgSignatureArgsInnerTypOneOf2ObjectPropsInnerTyp) -> MainArgSignatureArgsInnerTypOneOf2ObjectPropsInner {
        MainArgSignatureArgsInnerTypOneOf2ObjectPropsInner {
            key,
            typ: Box::new(typ),
        }
    }
}

