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 ManagedZoneForwardingConfig {
    #[serde(rename = "kind", skip_serializing_if = "Option::is_none")]
    pub kind: Option<String>,
    /// List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
    #[serde(rename = "targetNameServers", skip_serializing_if = "Option::is_none")]
    pub target_name_servers: Option<
        Vec<crate::google_rest_apis::dns_v1::models::ManagedZoneForwardingConfigNameServerTarget>,
    >,
}

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