/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ArgoClusterList {
/// Items is one entry per distinct destination server, in first-seen order with the in-cluster destination first. Never empty: an empty fleet still has the one cluster it would deploy into.
#[serde(rename = "items", skip_serializing_if = "Option::is_none")]
pub items: Option<Vec<models::ArgoCluster>>,
/// Metadata is the list envelope the SPA expects; it carries no resume point.
#[serde(rename = "metadata", skip_serializing_if = "Option::is_none")]
pub metadata: Option<Box<models::ArgoListMeta>>,
}
impl ArgoClusterList {
pub fn new() -> ArgoClusterList {
ArgoClusterList {
items: None,
metadata: None,
}
}
}