Class: Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb
Overview
Check Domain availability result.
Instance Attribute Summary collapse
-
#is_subdomain_available ⇒ Boolean
Indicates the given SKU is available or not.
-
#reason ⇒ String
Reason why the SKU is not available.
-
#subdomain_name ⇒ String
The subdomain name to use.
-
#type ⇒ String
The Type of the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CheckDomainAvailabilityResult class as Ruby Hash.
Instance Attribute Details
#is_subdomain_available ⇒ Boolean
Returns Indicates the given SKU is available or not.
16 17 18 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb', line 16 def is_subdomain_available @is_subdomain_available end |
#reason ⇒ String
Returns Reason why the SKU is not available.
19 20 21 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb', line 19 def reason @reason end |
#subdomain_name ⇒ String
Returns The subdomain name to use.
22 23 24 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb', line 22 def subdomain_name @subdomain_name end |
#type ⇒ String
Returns The Type of the resource.
25 26 27 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb', line 25 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for CheckDomainAvailabilityResult class as Ruby Hash. This will be used for serialization/deserialization.
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 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CheckDomainAvailabilityResult', type: { name: 'Composite', class_name: 'CheckDomainAvailabilityResult', model_properties: { is_subdomain_available: { client_side_validation: true, required: false, serialized_name: 'isSubdomainAvailable', type: { name: 'Boolean' } }, reason: { client_side_validation: true, required: false, serialized_name: 'reason', type: { name: 'String' } }, subdomain_name: { client_side_validation: true, required: false, serialized_name: 'subdomainName', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } } } } } end |