Class: Azure::AlertsManagement::Mgmt::V2018_05_05_preview::Models::AlertsSummaryBySeverityAndMonitorConditionSev1

Inherits:
AlertsSummaryByMonitorCondition show all
Includes:
MsRestAzure
Defined in:
lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev1.rb

Overview

Summary of alerts by monitor condition with severity ‘Sev1’

Instance Attribute Summary

Attributes inherited from AlertsSummaryByMonitorCondition

#fired, #resolved

Class Method Summary collapse

Class Method Details

.mapperObject

Mapper for AlertsSummaryBySeverityAndMonitorConditionSev1 class as Ruby Hash. This will be used for serialization/deserialization.



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_by_severity_and_monitor_condition_sev1.rb', line 21

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'alertsSummaryBySeverityAndMonitorCondition_sev1',
    type: {
      name: 'Composite',
      class_name: 'AlertsSummaryBySeverityAndMonitorConditionSev1',
      model_properties: {
        fired: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fired',
          type: {
            name: 'Number'
          }
        },
        resolved: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resolved',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end