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
                                      */

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct PolicyAlternativeNameServerConfig {
    #[serde(rename = "kind", skip_serializing_if = "Option::is_none")]
    pub kind: Option<String>,
    /// Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.
    #[serde(rename = "targetNameServers", skip_serializing_if = "Option::is_none")]
    pub target_name_servers: Option<Vec<crate::google_rest_apis::dns_v1::models::PolicyAlternativeNameServerConfigTargetNameServer>>,
}

impl PolicyAlternativeNameServerConfig {
    pub fn new() -> PolicyAlternativeNameServerConfig {
        PolicyAlternativeNameServerConfig {
            kind: None,
            target_name_servers: None,
        }
    }
}
