Sha256: d668bcac0e8adf70ffd3774ce7455d3c269d5930b4581576232a4b4b47e0fe15

Contents?: true

Size: 1.51 KB

Versions: 3

Compression:

Stored size: 1.51 KB

Contents

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

module Azure::ARM::MediaServices
  module Models
    #
    # The request body for CheckNameAvailability API.
    #
    class CheckNameAvailabilityInput

      include MsRestAzure

      # @return [String] The name of the resource. A name must be globally
      # unique.
      attr_accessor :name

      # @return [String] Specifies the type of the resource.
      attr_accessor :type


      #
      # Mapper for CheckNameAvailabilityInput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'CheckNameAvailabilityInput',
          type: {
            name: 'Composite',
            class_name: 'CheckNameAvailabilityInput',
            model_properties: {
              name: {
                required: false,
                serialized_name: 'name',
                constraints: {
                  MaxLength: 24,
                  MinLength: 3,
                  Pattern: '^[a-z0-9]'
                },
                type: {
                  name: 'String'
                }
              },
              type: {
                required: false,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.6.0 lib/generated/azure_mgmt_media_services/models/check_name_availability_input.rb
azure_mgmt_media_services-0.5.0 lib/generated/azure_mgmt_media_services/models/check_name_availability_input.rb
azure_mgmt_media_services-0.4.0 lib/generated/azure_mgmt_media_services/models/check_name_availability_input.rb