/*
* 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 RegistryProject {
/// Images is how many of the org's repositories the OCI catalog holds.
#[serde(rename = "images", skip_serializing_if = "Option::is_none")]
pub images: Option<i32>,
/// Packages is how many of the org's packages the npm registry reports.
#[serde(rename = "packages", skip_serializing_if = "Option::is_none")]
pub packages: Option<i32>,
/// Project is the namespace: the org's slug, which prefixes its image names and scopes its npm packages.
#[serde(rename = "project", skip_serializing_if = "Option::is_none")]
pub project: Option<String>,
}
impl RegistryProject {
pub fn new() -> RegistryProject {
RegistryProject {
images: None,
packages: None,
project: None,
}
}
}