# 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::ResourceHealth::Mgmt::V2018_08_01_preview
  module Models
    #
    # Recommended actions of event.
    #
    class EventPropertiesRecommendedActions

      include MsRestAzure

      # @return [String] Recommended action title for the service health event.
      attr_accessor :message

      # @return [Array<EventPropertiesRecommendedActionsActionsItem>]
      # Recommended actions for the service health event.
      attr_accessor :actions

      # @return [String] Recommended action locale for the service health
      # event.
      attr_accessor :locale_code


      #
      # Mapper for EventPropertiesRecommendedActions class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'event_properties_recommendedActions',
          type: {
            name: 'Composite',
            class_name: 'EventPropertiesRecommendedActions',
            model_properties: {
              message: {
                client_side_validation: true,
                required: false,
                serialized_name: 'message',
                type: {
                  name: 'String'
                }
              },
              actions: {
                client_side_validation: true,
                required: false,
                serialized_name: 'actions',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'EventPropertiesRecommendedActionsActionsItemElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'EventPropertiesRecommendedActionsActionsItem'
                      }
                  }
                }
              },
              locale_code: {
                client_side_validation: true,
                required: false,
                serialized_name: 'localeCode',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
