use serde::{Deserialize, Serialize}; /*
                                      * Cloud DNS API
                                      *
                                      * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
                                      *
                                      * The version of the OpenAPI document: v1
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

use crate::google_rest_apis::dns_v1::models;

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ResponsePolicyRulesUpdateResponse {
    #[serde(rename = "header", skip_serializing_if = "Option::is_none")]
    pub header: Option<Box<models::ResponseHeader>>,
    #[serde(rename = "responsePolicyRule", skip_serializing_if = "Option::is_none")]
    pub response_policy_rule: Option<Box<models::ResponsePolicyRule>>,
}

impl ResponsePolicyRulesUpdateResponse {
    pub fn new() -> ResponsePolicyRulesUpdateResponse {
        ResponsePolicyRulesUpdateResponse {
            header: None,
            response_policy_rule: None,
        }
    }
}
