clientapi_pbs/models/
pbs_remove_vanished_config.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct PbsRemoveVanishedConfig {
16
17 #[serde(rename = "description", deserialize_with = "Option::deserialize")]
18 pub description: Option<serde_json::Value>,
19
20 #[serde(rename = "items")]
22 pub items: models::PbsAccessDomainsItemsEnum,
23
24 #[serde(rename = "maxLength", deserialize_with = "Option::deserialize")]
25 pub max_length: Option<serde_json::Value>,
26
27 #[serde(rename = "minLength", deserialize_with = "Option::deserialize")]
28 pub min_length: Option<serde_json::Value>,
29
30 #[serde(rename = "type", deserialize_with = "Option::deserialize")]
31 pub r#type: Option<serde_json::Value>,
32
33
34}
35
36impl PbsRemoveVanishedConfig {
37 pub fn new(description: Option<serde_json::Value>, items: models::PbsAccessDomainsItemsEnum, max_length: Option<serde_json::Value>, min_length: Option<serde_json::Value>, r#type: Option<serde_json::Value>) -> PbsRemoveVanishedConfig {
38 PbsRemoveVanishedConfig {
39
40 description,
41
42 items,
43
44 max_length,
45
46 min_length,
47
48 r#type,
49
50 }
51 }
52}
53
54