# 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::ContainerRegistry::Mgmt::V2017_10_01
  module Models
    #
    # The event request message sent to the service URI.
    #
    class EventRequestMessage

      include MsRestAzure

      # @return [EventContent] The content of the event request message.
      attr_accessor :content

      # @return [Hash{String => String}] The headers of the event request
      # message.
      attr_accessor :headers

      # @return [String] The HTTP method used to send the event request
      # message.
      attr_accessor :method

      # @return [String] The URI used to send the event request message.
      attr_accessor :request_uri

      # @return [String] The HTTP message version.
      attr_accessor :version


      #
      # Mapper for EventRequestMessage class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EventRequestMessage',
          type: {
            name: 'Composite',
            class_name: 'EventRequestMessage',
            model_properties: {
              content: {
                client_side_validation: true,
                required: false,
                serialized_name: 'content',
                type: {
                  name: 'Composite',
                  class_name: 'EventContent'
                }
              },
              headers: {
                client_side_validation: true,
                required: false,
                serialized_name: 'headers',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              method: {
                client_side_validation: true,
                required: false,
                serialized_name: 'method',
                type: {
                  name: 'String'
                }
              },
              request_uri: {
                client_side_validation: true,
                required: false,
                serialized_name: 'requestUri',
                type: {
                  name: 'String'
                }
              },
              version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'version',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
