1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Deserialize)]
5pub struct Pod {
6 pub pod_id: String,
8 #[serde(default)]
10 pub name: Option<String>,
11 #[serde(default)]
13 pub client_id: Option<String>,
14 #[serde(default)]
16 pub updated_at: Option<String>,
17 #[serde(default)]
19 pub created_at: Option<String>,
20}
21
22#[derive(Clone, Debug, Default, Serialize)]
24pub struct CreatePod {
25 #[serde(skip_serializing_if = "Option::is_none")]
27 pub name: Option<String>,
28 #[serde(skip_serializing_if = "Option::is_none")]
30 pub client_id: Option<String>,
31}
32
33#[derive(Clone, Debug, Deserialize)]
35pub struct PodList {
36 pub count: u64,
38 #[serde(default)]
40 pub pods: Vec<Pod>,
41 #[serde(default)]
43 pub next_page_token: Option<String>,
44}