/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.6
 * 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 GetSuspendedJobFlow200Response {
    #[serde(rename = "job")]
    pub job: Box<models::Job>,
    #[serde(rename = "approvers")]
    pub approvers: Vec<models::GetApprovalInfo200ResponseApproversInner>,
}

impl GetSuspendedJobFlow200Response {
    pub fn new(job: models::Job, approvers: Vec<models::GetApprovalInfo200ResponseApproversInner>) -> GetSuspendedJobFlow200Response {
        GetSuspendedJobFlow200Response {
            job: Box::new(job),
            approvers,
        }
    }
}

