# 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
    #
    class AlertsSummaryPropertiesSummaryBySeverity

      include MsRestAzure

      # @return [AlertsSummaryPropertiesSummaryBySeveritySev0] Summary of
      # alerts by severity 'Sev0'
      attr_accessor :sev0

      # @return [AlertsSummaryPropertiesSummaryBySeveritySev1] Summary of
      # alerts by severity 'Sev1'
      attr_accessor :sev1

      # @return [AlertsSummaryPropertiesSummaryBySeveritySev2] Summary of
      # alerts by severity 'Sev2'
      attr_accessor :sev2

      # @return [AlertsSummaryPropertiesSummaryBySeveritySev3] Summary of
      # alerts by severity 'Sev3'
      attr_accessor :sev3

      # @return [AlertsSummaryPropertiesSummaryBySeveritySev4] Summary of
      # alerts by severity 'Sev4'
      attr_accessor :sev4


      #
      # Mapper for AlertsSummaryPropertiesSummaryBySeverity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'alertsSummaryProperties_summaryBySeverity',
          type: {
            name: 'Composite',
            class_name: 'AlertsSummaryPropertiesSummaryBySeverity',
            model_properties: {
              sev0: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sev0',
                type: {
                  name: 'Composite',
                  class_name: 'AlertsSummaryPropertiesSummaryBySeveritySev0'
                }
              },
              sev1: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sev1',
                type: {
                  name: 'Composite',
                  class_name: 'AlertsSummaryPropertiesSummaryBySeveritySev1'
                }
              },
              sev2: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sev2',
                type: {
                  name: 'Composite',
                  class_name: 'AlertsSummaryPropertiesSummaryBySeveritySev2'
                }
              },
              sev3: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sev3',
                type: {
                  name: 'Composite',
                  class_name: 'AlertsSummaryPropertiesSummaryBySeveritySev3'
                }
              },
              sev4: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sev4',
                type: {
                  name: 'Composite',
                  class_name: 'AlertsSummaryPropertiesSummaryBySeveritySev4'
                }
              }
            }
          }
        }
      end
    end
  end
end
