/*
* Manager API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.0.0-dev
* Contact: support@babelforce.com
* Generated by: https://openapi-generator.tech
*/
use crate::gen::manager::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AgentTotalStatusResponse {
/// A single-element array containing the agent's total status
#[serde(rename = "item")]
pub item: Vec<models::AgentTotalStatus>,
#[serde(rename = "success")]
pub success: bool,
}
impl AgentTotalStatusResponse {
pub fn new(item: Vec<models::AgentTotalStatus>, success: bool) -> AgentTotalStatusResponse {
AgentTotalStatusResponse { item, success }
}
}