Class: Azure::ResourceHealth::Mgmt::V2018_07_01::Models::MetadataEntity
- Inherits:
-
Resource
- Object
- Resource
- Azure::ResourceHealth::Mgmt::V2018_07_01::Models::MetadataEntity
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_entity.rb
Overview
The metadata entity contract.
Instance Attribute Summary collapse
-
#applicable_scenarios ⇒ Array<Scenario>
metadata entity.
-
#depends_on ⇒ Array<String>
on.
-
#display_name ⇒ String
The display name.
-
#supported_values ⇒ Array<MetadataSupportedValueDetail>
values.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MetadataEntity class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#applicable_scenarios ⇒ Array<Scenario>
metadata entity.
24 25 26 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_entity.rb', line 24 def applicable_scenarios @applicable_scenarios end |
#depends_on ⇒ Array<String>
on.
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_entity.rb', line 20 def depends_on @depends_on end |
#display_name ⇒ String
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_entity.rb', line 16 def display_name @display_name end |
#supported_values ⇒ Array<MetadataSupportedValueDetail>
values.
28 29 30 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_entity.rb', line 28 def supported_values @supported_values end |
Class Method Details
.mapper ⇒ Object
Mapper for MetadataEntity class as Ruby Hash. This will be used for serialization/deserialization.
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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_entity.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MetadataEntity', type: { name: 'Composite', class_name: 'MetadataEntity', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { name: 'String' } }, depends_on: { client_side_validation: true, required: false, serialized_name: 'properties.dependsOn', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, applicable_scenarios: { client_side_validation: true, required: false, serialized_name: 'properties.applicableScenarios', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ScenarioElementType', type: { name: 'String' } } } }, supported_values: { client_side_validation: true, required: false, serialized_name: 'properties.supportedValues', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'MetadataSupportedValueDetailElementType', type: { name: 'Composite', class_name: 'MetadataSupportedValueDetail' } } } } } } } end |