Class: Azure::AlertsManagement::Mgmt::V2018_05_05_preview::Models::AlertsSummaryPropertiesSummaryBySeverityAndMonitorCondition

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

Overview

Summary of alerts by severity and monitor condition

Instance Attribute Summary

Attributes inherited from AlertsSummaryBySeverityAndMonitorCondition

#sev0, #sev1, #sev2, #sev3, #sev4

Class Method Summary collapse

Class Method Details

.mapperObject

Mapper for AlertsSummaryPropertiesSummaryBySeverityAndMonitorCondition 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
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
# File 'lib/2018-05-05-preview/generated/azure_mgmt_alerts_management/models/alerts_summary_properties_summary_by_severity_and_monitor_condition.rb', line 21

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'alertsSummaryProperties_summaryBySeverityAndMonitorCondition',
    type: {
      name: 'Composite',
      class_name: 'AlertsSummaryPropertiesSummaryBySeverityAndMonitorCondition',
      model_properties: {
        sev0: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sev0',
          type: {
            name: 'Composite',
            class_name: 'AlertsSummaryBySeverityAndMonitorConditionSev0'
          }
        },
        sev1: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sev1',
          type: {
            name: 'Composite',
            class_name: 'AlertsSummaryBySeverityAndMonitorConditionSev1'
          }
        },
        sev2: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sev2',
          type: {
            name: 'Composite',
            class_name: 'AlertsSummaryBySeverityAndMonitorConditionSev2'
          }
        },
        sev3: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sev3',
          type: {
            name: 'Composite',
            class_name: 'AlertsSummaryBySeverityAndMonitorConditionSev3'
          }
        },
        sev4: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sev4',
          type: {
            name: 'Composite',
            class_name: 'AlertsSummaryBySeverityAndMonitorConditionSev4'
          }
        }
      }
    }
  }
end