# 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::V2019_05_05_preview
  module Models
    #
    # Alert property bag
    #
    class AlertProperties

      include MsRestAzure

      # @return [Essentials]
      attr_accessor :essentials

      # @return
      attr_accessor :context

      # @return
      attr_accessor :egress_config


      #
      # Mapper for AlertProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'alertProperties',
          type: {
            name: 'Composite',
            class_name: 'AlertProperties',
            model_properties: {
              essentials: {
                client_side_validation: true,
                required: false,
                serialized_name: 'essentials',
                type: {
                  name: 'Composite',
                  class_name: 'Essentials'
                }
              },
              context: {
                client_side_validation: true,
                required: false,
                serialized_name: 'context',
                type: {
                  name: 'Object'
                }
              },
              egress_config: {
                client_side_validation: true,
                required: false,
                serialized_name: 'egressConfig',
                type: {
                  name: 'Object'
                }
              }
            }
          }
        }
      end
    end
  end
end
