/*
 * 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 GetMinKeepAliveVersion200Response {
    /// minimum version for normal workers
    #[serde(rename = "worker")]
    pub worker: String,
    /// minimum version for agent workers
    #[serde(rename = "agent")]
    pub agent: String,
}

impl GetMinKeepAliveVersion200Response {
    pub fn new(worker: String, agent: String) -> GetMinKeepAliveVersion200Response {
        GetMinKeepAliveVersion200Response {
            worker,
            agent,
        }
    }
}

