Sha256: ebd133018af7312477a5d558e838194bfc04a456bfedb24cdc386ba555d855f0
Contents?: true
Size: 1.85 KB
Versions: 2
Compression:
Stored size: 1.85 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::MediaServices module Models # # The response body for CheckNameAvailability API. # class CheckNameAvailabilityOutput include MsRestAzure # @return [Boolean] Specifies if the name is available. attr_accessor :name_available # @return [EntityNameUnavailabilityReason] Specifies the reason if the # name is not available. Possible values include: 'None', 'Invalid', # 'AlreadyExists' attr_accessor :reason # @return [String] Specifies the detailed reason if 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() { required: false, serialized_name: 'CheckNameAvailabilityOutput', type: { name: 'Composite', class_name: 'CheckNameAvailabilityOutput', model_properties: { name_available: { required: false, serialized_name: 'NameAvailable', type: { name: 'Boolean' } }, reason: { required: false, serialized_name: 'Reason', type: { name: 'Enum', module: 'EntityNameUnavailabilityReason' } }, message: { required: false, serialized_name: 'Message', type: { name: 'String' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems