Class: Azure::ARM::Web::Models::Capability
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::Capability
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/capability.rb
Overview
Describes the capabilities/features allowed for a specific SKU.
Instance Attribute Summary collapse
-
#name ⇒ String
Name of the SKU capability.
-
#reason ⇒ String
Reason of the SKU capability.
-
#value ⇒ String
Value of the SKU capability.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Capability class as Ruby Hash.
Instance Attribute Details
#name ⇒ String
Returns Name of the SKU capability.
17 18 19 |
# File 'lib/generated/azure_mgmt_web/models/capability.rb', line 17 def name @name end |
#reason ⇒ String
Returns Reason of the SKU capability.
23 24 25 |
# File 'lib/generated/azure_mgmt_web/models/capability.rb', line 23 def reason @reason end |
#value ⇒ String
Returns Value of the SKU capability.
20 21 22 |
# File 'lib/generated/azure_mgmt_web/models/capability.rb', line 20 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for Capability 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 |
# File 'lib/generated/azure_mgmt_web/models/capability.rb', line 30 def self.mapper() { required: false, serialized_name: 'Capability', type: { name: 'Composite', class_name: 'Capability', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, value: { required: false, serialized_name: 'value', type: { name: 'String' } }, reason: { required: false, serialized_name: 'reason', type: { name: 'String' } } } } } end |