# 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 'Sev4'
    #
    class AlertsSummaryPropertiesSummaryBySeveritySev4 < AlertsSummaryByState

      include MsRestAzure


      #
      # Mapper for AlertsSummaryPropertiesSummaryBySeveritySev4 class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'alertsSummaryProperties_summaryBySeverity_sev4',
          type: {
            name: 'Composite',
            class_name: 'AlertsSummaryPropertiesSummaryBySeveritySev4',
            model_properties: {
              new: {
                client_side_validation: true,
                required: false,
                serialized_name: 'new',
                type: {
                  name: 'Number'
                }
              },
              acknowledged: {
                client_side_validation: true,
                required: false,
                serialized_name: 'acknowledged',
                type: {
                  name: 'Number'
                }
              },
              closed: {
                client_side_validation: true,
                required: false,
                serialized_name: 'closed',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
