Sha256: 62c1ccb1d5a7864257a9e957d3c0716bd44eec5db6ce41d606de3efc98fa690b

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

Stored size: 1.95 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] <code>true</code> if domain can be purchased using
      # CreateDomain API; otherwise, <code>false</code>.
      attr_accessor :available

      # @return [DomainType] Valid values are Regular domain: Azure will charge
      # the full price of domain registration, SoftDeleted: Purchasing this
      # domain will simply restore it and this operation will not cost
      # anything. 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.9.0 lib/generated/azure_mgmt_web/models/domain_availablility_check_result.rb