Class: Azure::AnalysisServices::Mgmt::V2017_07_14::Models::CheckServerNameAvailabilityResult
- Inherits:
-
Object
- Object
- Azure::AnalysisServices::Mgmt::V2017_07_14::Models::CheckServerNameAvailabilityResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-07-14/generated/azure_mgmt_analysis_services/models/check_server_name_availability_result.rb
Overview
The checking result of server name availibility.
Instance Attribute Summary collapse
-
#message ⇒ String
The detailed message of the request unavailability.
-
#name_available ⇒ Boolean
Indicator of available of the server name.
-
#reason ⇒ String
The reason of unavailability.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CheckServerNameAvailabilityResult class as Ruby Hash.
Instance Attribute Details
#message ⇒ String
Returns The detailed message of the request unavailability.
22 23 24 |
# File 'lib/2017-07-14/generated/azure_mgmt_analysis_services/models/check_server_name_availability_result.rb', line 22 def @message end |
#name_available ⇒ Boolean
Returns Indicator of available of the server name.
16 17 18 |
# File 'lib/2017-07-14/generated/azure_mgmt_analysis_services/models/check_server_name_availability_result.rb', line 16 def name_available @name_available end |
#reason ⇒ String
Returns The reason of unavailability.
19 20 21 |
# File 'lib/2017-07-14/generated/azure_mgmt_analysis_services/models/check_server_name_availability_result.rb', line 19 def reason @reason end |
Class Method Details
.mapper ⇒ Object
Mapper for CheckServerNameAvailabilityResult class as Ruby Hash. This will be used for serialization/deserialization.
29 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 |
# File 'lib/2017-07-14/generated/azure_mgmt_analysis_services/models/check_server_name_availability_result.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CheckServerNameAvailabilityResult', type: { name: 'Composite', class_name: 'CheckServerNameAvailabilityResult', model_properties: { name_available: { client_side_validation: true, required: false, 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 |