# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::AlertsManagement::Mgmt::V2018_05_05_preview
  module Models
    #
    # Summary of alerts by severity and monitor condition
    #
    class AlertsSummaryPropertiesSummaryBySeverityAndMonitorCondition < AlertsSummaryBySeverityAndMonitorCondition

      include MsRestAzure


      #
      # Mapper for AlertsSummaryPropertiesSummaryBySeverityAndMonitorCondition
      # class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end
