Current section
Files
Jump to
Current section
Files
lib/google_api/dns/v1/model/managed_zone.ex
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.
defmodule GoogleApi.DNS.V1.Model.ManagedZone do
@moduledoc """
## Attributes
- creationTime (String.t): Defaults to: `null`.
- description (String.t): Defaults to: `null`.
- dnsName (String.t): Defaults to: `null`.
- dnssecConfig (ManagedZoneDnsSecConfig): Defaults to: `null`.
- id (String.t): Defaults to: `null`.
- kind (String.t): Identifies what kind of resource this is. Value: the fixed string \"dns#managedZone\". Defaults to: `null`.
- labels (%{optional(String.t) => String.t}): Defaults to: `null`.
- name (String.t): Defaults to: `null`.
- nameServerSet (String.t): Defaults to: `null`.
- nameServers ([String.t]): Defaults to: `null`.
- privateVisibilityConfig (ManagedZonePrivateVisibilityConfig): Defaults to: `null`.
- visibility (String.t): Defaults to: `null`.
- Enum - one of [private, public]
"""
use GoogleApi.Gax.ModelBase
@type t :: %__MODULE__{
:creationTime => any(),
:description => any(),
:dnsName => any(),
:dnssecConfig => GoogleApi.DNS.V1.Model.ManagedZoneDnsSecConfig.t(),
:id => any(),
:kind => any(),
:labels => map(),
:name => any(),
:nameServerSet => any(),
:nameServers => list(any()),
:privateVisibilityConfig =>
GoogleApi.DNS.V1.Model.ManagedZonePrivateVisibilityConfig.t(),
:visibility => any()
}
field(:creationTime)
field(:description)
field(:dnsName)
field(:dnssecConfig, as: GoogleApi.DNS.V1.Model.ManagedZoneDnsSecConfig)
field(:id)
field(:kind)
field(:labels, type: :map)
field(:name)
field(:nameServerSet)
field(:nameServers, type: :list)
field(:privateVisibilityConfig, as: GoogleApi.DNS.V1.Model.ManagedZonePrivateVisibilityConfig)
field(:visibility)
end
defimpl Poison.Decoder, for: GoogleApi.DNS.V1.Model.ManagedZone do
def decode(value, options) do
GoogleApi.DNS.V1.Model.ManagedZone.decode(value, options)
end
end
defimpl Poison.Encoder, for: GoogleApi.DNS.V1.Model.ManagedZone do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end