fastly_api/models/
ddos_protection_response_configure.rs1#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct DdosProtectionResponseConfigure {
13 #[serde(rename = "product", skip_serializing_if = "Option::is_none")]
14 pub product: Option<Box<crate::models::DdosProtectionResponseProductProduct>>,
15 #[serde(rename = "service", skip_serializing_if = "Option::is_none")]
16 pub service: Option<Box<crate::models::ApiDiscoveryResponseServiceService>>,
17 #[serde(rename = "configuration", skip_serializing_if = "Option::is_none")]
18 pub configuration: Option<Box<crate::models::DdosProtectionResponseConfigurationConfiguration>>,
19 #[serde(rename = "_links", skip_serializing_if = "Option::is_none")]
20 pub _links: Option<Box<crate::models::DdosProtectionResponseLinksLinks>>,
21}
22
23impl DdosProtectionResponseConfigure {
24 pub fn new() -> DdosProtectionResponseConfigure {
25 DdosProtectionResponseConfigure {
26 product: None,
27 service: None,
28 configuration: None,
29 _links: None,
30 }
31 }
32}
33
34