# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ARM::Web
module Models
#
# A top level domain object.
#
class TopLevelDomain < ProxyOnlyResource
include MsRestAzure
# @return [String] Name of the top level domain.
attr_accessor :domain_name
# @return [Boolean] If true
, then the top level domain
# supports domain privacy; otherwise, false
.
attr_accessor :privacy
#
# Mapper for TopLevelDomain class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'TopLevelDomain',
type: {
name: 'Composite',
class_name: 'TopLevelDomain',
model_properties: {
id: {
required: false,
read_only: true,
serialized_name: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
read_only: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
kind: {
required: false,
serialized_name: 'kind',
type: {
name: 'String'
}
},
type: {
required: false,
read_only: true,
serialized_name: 'type',
type: {
name: 'String'
}
},
domain_name: {
required: false,
read_only: true,
serialized_name: 'properties.name',
type: {
name: 'String'
}
},
privacy: {
required: false,
serialized_name: 'properties.privacy',
type: {
name: 'Boolean'
}
}
}
}
}
end
end
end
end