/*
 * 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 MainArgSignatureArgsInnerTypOneOf3 {
    #[serde(rename = "list", deserialize_with = "Option::deserialize")]
    pub list: Option<Box<models::MainArgSignatureArgsInnerTypOneOf3List>>,
}

impl MainArgSignatureArgsInnerTypOneOf3 {
    pub fn new(list: Option<models::MainArgSignatureArgsInnerTypOneOf3List>) -> MainArgSignatureArgsInnerTypOneOf3 {
        MainArgSignatureArgsInnerTypOneOf3 {
            list: if let Some(x) = list {Some(Box::new(x))} else {None},
        }
    }
}

