Class: Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::PatchObject
- Inherits:
-
Object
- Object
- Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::PatchObject
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/patch_object.rb
Overview
Data contract for patch
Instance Attribute Summary collapse
-
#status ⇒ ActionRuleStatus
enabled or disabled.
-
#tags ⇒ Object
Tags to be updated.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PatchObject class as Ruby Hash.
Instance Attribute Details
#status ⇒ ActionRuleStatus
enabled or disabled. Possible values include: ‘Enabled’, ‘Disabled’
17 18 19 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/patch_object.rb', line 17 def status @status end |
#tags ⇒ Object
Returns tags to be updated.
20 21 22 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/patch_object.rb', line 20 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for PatchObject class as Ruby Hash. This will be used for serialization/deserialization.
27 28 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 |
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/patch_object.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PatchObject', type: { name: 'Composite', class_name: 'PatchObject', model_properties: { status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Object' } } } } } end |