Sha256: 4b1a7fcd0f153dff89efae798d4bde7fb1a7d3e077d389831ed2351a6cb167ed

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 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::ServiceBus::Mgmt::V2015_08_01
  module Models
    #
    # Description of a Check Name availability request properties.
    #
    class CheckNameAvailability

      include MsRestAzure

      # @return [String] The Name to check the namespace name availability and
      # The namespace name can contain only letters, numbers, and hyphens. The
      # namespace must start with a letter, and it must end with a letter or
      # number.
      attr_accessor :name


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_service_bus-0.17.4 lib/2015-08-01/generated/azure_mgmt_service_bus/models/check_name_availability.rb
azure_mgmt_service_bus-0.17.3 lib/2015-08-01/generated/azure_mgmt_service_bus/models/check_name_availability.rb