tembo_api_client/models/
infrastructure.rs

1/*
2 * Tembo Cloud
3 *
4 * Platform API for Tembo Cloud             </br>             </br>             To find a Tembo Data API, please find it here:             </br>             </br>             [AWS US East 1](https://api.data-1.use1.tembo.io/swagger-ui/)
5 *
6 * The version of the OpenAPI document: v1.0.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct Infrastructure {
15    #[serde(rename = "cpu", skip_serializing_if = "Option::is_none")]
16    pub cpu: Option<String>,
17    #[serde(rename = "memory", skip_serializing_if = "Option::is_none")]
18    pub memory: Option<String>,
19    #[serde(rename = "storage", skip_serializing_if = "Option::is_none")]
20    pub storage: Option<String>,
21}
22
23impl Infrastructure {
24    pub fn new() -> Infrastructure {
25        Infrastructure {
26            cpu: None,
27            memory: None,
28            storage: None,
29        }
30    }
31}