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