Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::EntityNameAvailabilityCheckOutput
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::EntityNameAvailabilityCheckOutput
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb
Overview
The response from the check name availability request.
Instance Attribute Summary collapse
-
#message ⇒ String
available.
-
#name_available ⇒ Boolean
Specifies if the name is available.
-
#reason ⇒ String
Specifies the reason if the name is not available.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EntityNameAvailabilityCheckOutput class as Ruby Hash.
Instance Attribute Details
#message ⇒ String
available.
23 24 25 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb', line 23 def @message end |
#name_available ⇒ Boolean
Returns Specifies if the name is available.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb', line 16 def name_available @name_available end |
#reason ⇒ String
Returns Specifies the reason if the name is not available.
19 20 21 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb', line 19 def reason @reason end |
Class Method Details
.mapper ⇒ Object
Mapper for EntityNameAvailabilityCheckOutput class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EntityNameAvailabilityCheckOutput', type: { name: 'Composite', class_name: 'EntityNameAvailabilityCheckOutput', model_properties: { name_available: { client_side_validation: true, required: true, serialized_name: 'nameAvailable', type: { name: 'Boolean' } }, reason: { client_side_validation: true, required: false, serialized_name: 'reason', type: { name: 'String' } }, message: { client_side_validation: true, required: false, serialized_name: 'message', type: { name: 'String' } } } } } end |