Skip to main content

dtz_containerregistry/models/
stats_response.rs

1/*
2 * DTZ Container Registry
3 *
4 * a generated client for the DTZ Container Registry API
5 *
6 * Contact: jens@apimeister.com
7 * Generated by: https://openapi-generator.tech
8 */
9
10#[allow(unused_imports)]
11use crate::models;
12#[allow(unused_imports)]
13use serde::{Deserialize, Serialize};
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct StatsResponse {
17    #[serde(rename = "imageCount", skip_serializing_if = "Option::is_none")]
18    pub image_count: Option<i32>,
19    #[serde(rename = "serverUrl", skip_serializing_if = "Option::is_none")]
20    pub server_url: Option<String>,
21}
22
23impl StatsResponse {
24    pub fn new() -> StatsResponse {
25        StatsResponse {
26            image_count: None,
27            server_url: None,
28        }
29    }
30}
31