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 ManagedZonePrivateVisibilityConfig {
    /// The list of Google Kubernetes Engine clusters that can see this zone.
    #[serde(rename = "gkeClusters", skip_serializing_if = "Option::is_none")]
    pub gke_clusters: Option<Vec<models::ManagedZonePrivateVisibilityConfigGkeCluster>>,
    #[serde(rename = "kind", skip_serializing_if = "Option::is_none")]
    pub kind: Option<String>,
    /// The list of VPC networks that can see this zone.
    #[serde(rename = "networks", skip_serializing_if = "Option::is_none")]
    pub networks: Option<Vec<models::ManagedZonePrivateVisibilityConfigNetwork>>,
}

impl ManagedZonePrivateVisibilityConfig {
    pub fn new() -> ManagedZonePrivateVisibilityConfig {
        ManagedZonePrivateVisibilityConfig {
            gke_clusters: None,
            kind: None,
            networks: None,
        }
    }
}
