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 ManagedZoneServiceDirectoryConfigNamespace {
    /// The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.
    #[serde(rename = "deletionTime", skip_serializing_if = "Option::is_none")]
    pub deletion_time: Option<String>,
    #[serde(rename = "kind", skip_serializing_if = "Option::is_none")]
    pub kind: Option<String>,
    /// The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
    #[serde(rename = "namespaceUrl", skip_serializing_if = "Option::is_none")]
    pub namespace_url: Option<String>,
}

impl ManagedZoneServiceDirectoryConfigNamespace {
    pub fn new() -> ManagedZoneServiceDirectoryConfigNamespace {
        ManagedZoneServiceDirectoryConfigNamespace {
            deletion_time: None,
            kind: None,
            namespace_url: None,
        }
    }
}
