# 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::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10
  module Models
    #
    # Model class for event details of a VMwareAzureV2 event.
    #
    class InMageAzureV2EventDetails < EventProviderSpecificDetails

      include MsRestAzure


      def initialize
        @instanceType = "InMageAzureV2"
      end

      attr_accessor :instanceType

      # @return [String] InMage Event type. Takes one of the values of
      # {InMageDataContract.InMageMonitoringEventType}.
      attr_accessor :event_type

      # @return [String] InMage Event Category.
      attr_accessor :category

      # @return [String] InMage Event Component.
      attr_accessor :component

      # @return [String] Corrective Action string for the event.
      attr_accessor :corrective_action

      # @return [String] InMage Event Details.
      attr_accessor :details

      # @return [String] InMage Event Summary.
      attr_accessor :summary

      # @return [String] VMware Site name.
      attr_accessor :site_name


      #
      # Mapper for InMageAzureV2EventDetails class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'InMageAzureV2',
          type: {
            name: 'Composite',
            class_name: 'InMageAzureV2EventDetails',
            model_properties: {
              instanceType: {
                client_side_validation: true,
                required: true,
                serialized_name: 'instanceType',
                type: {
                  name: 'String'
                }
              },
              event_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'eventType',
                type: {
                  name: 'String'
                }
              },
              category: {
                client_side_validation: true,
                required: false,
                serialized_name: 'category',
                type: {
                  name: 'String'
                }
              },
              component: {
                client_side_validation: true,
                required: false,
                serialized_name: 'component',
                type: {
                  name: 'String'
                }
              },
              corrective_action: {
                client_side_validation: true,
                required: false,
                serialized_name: 'correctiveAction',
                type: {
                  name: 'String'
                }
              },
              details: {
                client_side_validation: true,
                required: false,
                serialized_name: 'details',
                type: {
                  name: 'String'
                }
              },
              summary: {
                client_side_validation: true,
                required: false,
                serialized_name: 'summary',
                type: {
                  name: 'String'
                }
              },
              site_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'siteName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
