Sha256: 7b1b61575ab3ad5fc5dd8518ed0fe2cbbbe6b83dd1083666312d2e3fa86bb555

Contents?: true

Size: 1.86 KB

Versions: 11

Compression:

Stored size: 1.86 KB

Contents

# 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::CDN::Mgmt::V2016_04_02
  module Models
    #
    # Output of check name availability API.
    #
    class CheckNameAvailabilityOutput

      include MsRestAzure

      # @return [Boolean] Indicates whether the name is available.
      attr_accessor :name_available

      # @return [String] The reason why the name is not available.
      attr_accessor :reason

      # @return [String] The detailed error message describing why the name is
      # not available.
      attr_accessor :message


      #
      # Mapper for CheckNameAvailabilityOutput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CheckNameAvailabilityOutput',
          type: {
            name: 'Composite',
            class_name: 'CheckNameAvailabilityOutput',
            model_properties: {
              name_available: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NameAvailable',
                type: {
                  name: 'Boolean'
                }
              },
              reason: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Reason',
                type: {
                  name: 'String'
                }
              },
              message: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Message',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb
azure_mgmt_cdn-0.18.1 lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb
azure_mgmt_cdn-0.17.7 lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb
azure_mgmt_cdn-0.17.6 lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb
azure_mgmt_cdn-0.17.5 lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb
azure_mgmt_cdn-0.17.4 lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb
azure_mgmt_cdn-0.17.3 lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb
azure_mgmt_cdn-0.17.2 lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb
azure_mgmt_cdn-0.17.1 lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb
azure_mgmt_cdn-0.17.0 lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb
azure_mgmt_cdn-0.16.0 lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb