Sha256: 123caf0af8c4dea3124870a876eee08d078c977e940bd0c5ba2a99076d0f59b2

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Web
  module Models
    #
    # Domain availablility check result
    #
    class DomainAvailablilityCheckResult

      include MsRestAzure

      # @return [String] Name of the domain
      attr_accessor :name

      # @return [Boolean] If true then domain can be purchased using
      # CreateDomain Api
      attr_accessor :available

      # @return [DomainType] Domain type. Possible values include: 'Regular',
      # 'SoftDeleted'
      attr_accessor :domain_type


      #
      # Mapper for DomainAvailablilityCheckResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'DomainAvailablilityCheckResult',
          type: {
            name: 'Composite',
            class_name: 'DomainAvailablilityCheckResult',
            model_properties: {
              name: {
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              available: {
                required: false,
                serialized_name: 'available',
                type: {
                  name: 'Boolean'
                }
              },
              domain_type: {
                required: false,
                serialized_name: 'domainType',
                type: {
                  name: 'Enum',
                  module: 'DomainType'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.8.0 lib/generated/azure_mgmt_web/models/domain_availablility_check_result.rb