/*
* 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 ArgoProjectList {
/// Items is the projects visible to the caller — its own organization's, or every organization's for a SuperAdmin. A project named \"default\" is always present and is prepended when IAM does not carry one, because that is what an application with no project label groups under.
#[serde(rename = "items", skip_serializing_if = "Option::is_none")]
pub items: Option<Vec<models::ArgoProject>>,
/// 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 ArgoProjectList {
pub fn new() -> ArgoProjectList {
ArgoProjectList {
items: None,
metadata: None,
}
}
}