Sha256: 227194ba44cc09c206e40790091cf7d58d130b4ae80916241ff45e3551187423

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 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::ARM::NotificationHubs
  module Models
    #
    # Model object.
    #
    #
    class CheckNameAvailabilityResponse

      include MsRestAzure

      # @return [Boolean] Checks if the namespace name is available
      attr_accessor :name_available

      # @return [String] States the reason due to which the namespace name is
      # not available
      attr_accessor :reason

      # @return [String] The messsage returned when checking for namespace name
      # availability
      attr_accessor :message


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_notification_hubs-0.14.0 lib/generated/azure_mgmt_notification_hubs/models/check_name_availability_response.rb