Sha256: 2c9ca90fd15a38e7a33943d8ea15e55c6ba9cdb6fa1ca4ae13f0abb840860242
Contents?: true
Size: 1.78 KB
Versions: 14
Compression:
Stored size: 1.78 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::MediaServices::Mgmt::V2015_10_01 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] The type of the resource - mediaservices. Default # value: 'mediaservices' . attr_accessor :type # # Mapper for CheckNameAvailabilityInput class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityInput', type: { name: 'Composite', class_name: 'CheckNameAvailabilityInput', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', constraints: { MaxLength: 24, MinLength: 3, Pattern: '^[a-z0-9]{3,24}$' }, type: { name: 'String' } }, type: { client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', default_value: 'mediaservices', type: { name: 'String' } } } } } end end end end
Version data entries
14 entries across 14 versions & 1 rubygems