/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.2.0
 * 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 CreateDeploymentRequestRequest {
    /// Usernames in the parent workspace. Must be admin or wm_deployers.
    #[serde(rename = "assignees")]
    pub assignees: Vec<String>,
}

impl CreateDeploymentRequestRequest {
    pub fn new(assignees: Vec<String>) -> CreateDeploymentRequestRequest {
        CreateDeploymentRequestRequest {
            assignees,
        }
    }
}

