Class: Azure::AlertsManagement::Mgmt::V2019_03_01::Models::AlertModificationItem
- Inherits:
-
Object
- Object
- Azure::AlertsManagement::Mgmt::V2019_03_01::Models::AlertModificationItem
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb
Overview
Alert modification item.
Instance Attribute Summary collapse
-
#comments ⇒ String
Modification comments.
-
#description ⇒ String
Description of the modification.
-
#modification_event ⇒ AlertModificationEvent
values include: ‘AlertCreated’, ‘StateChange’, ‘MonitorConditionChange’.
-
#modified_at ⇒ String
Modified date and time.
-
#modified_by ⇒ String
Modified user details (Principal client name).
-
#new_value ⇒ String
New value.
-
#old_value ⇒ String
Old value.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AlertModificationItem class as Ruby Hash.
Instance Attribute Details
#comments ⇒ String
Returns Modification comments.
32 33 34 |
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb', line 32 def comments @comments end |
#description ⇒ String
Returns Description of the modification.
35 36 37 |
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb', line 35 def description @description end |
#modification_event ⇒ AlertModificationEvent
values include: ‘AlertCreated’, ‘StateChange’, ‘MonitorConditionChange’
17 18 19 |
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb', line 17 def modification_event @modification_event end |
#modified_at ⇒ String
Returns Modified date and time.
26 27 28 |
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb', line 26 def modified_at @modified_at end |
#modified_by ⇒ String
Returns Modified user details (Principal client name).
29 30 31 |
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb', line 29 def modified_by @modified_by end |
#new_value ⇒ String
Returns New value.
23 24 25 |
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb', line 23 def new_value @new_value end |
#old_value ⇒ String
Returns Old value.
20 21 22 |
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb', line 20 def old_value @old_value end |
Class Method Details
.mapper ⇒ Object
Mapper for AlertModificationItem class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/alert_modification_item.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'alertModificationItem', type: { name: 'Composite', class_name: 'AlertModificationItem', model_properties: { modification_event: { client_side_validation: true, required: false, serialized_name: 'modificationEvent', type: { name: 'Enum', module: 'AlertModificationEvent' } }, old_value: { client_side_validation: true, required: false, serialized_name: 'oldValue', type: { name: 'String' } }, new_value: { client_side_validation: true, required: false, serialized_name: 'newValue', type: { name: 'String' } }, modified_at: { client_side_validation: true, required: false, serialized_name: 'modifiedAt', type: { name: 'String' } }, modified_by: { client_side_validation: true, required: false, serialized_name: 'modifiedBy', type: { name: 'String' } }, comments: { client_side_validation: true, required: false, serialized_name: 'comments', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } } } } } end |