# 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::DataFactory::Mgmt::V2018_06_01
  module Models
    #
    # Log settings.
    #
    class LogSettings

      include MsRestAzure

      # @return Specifies whether to enable copy activity log. Type: boolean
      # (or Expression with resultType boolean).
      attr_accessor :enable_copy_activity_log

      # @return [CopyActivityLogSettings] Specifies settings for copy activity
      # log.
      attr_accessor :copy_activity_log_settings

      # @return [LogLocationSettings] Log location settings customer needs to
      # provide when enabling log.
      attr_accessor :log_location_settings


      #
      # Mapper for LogSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'LogSettings',
          type: {
            name: 'Composite',
            class_name: 'LogSettings',
            model_properties: {
              enable_copy_activity_log: {
                client_side_validation: true,
                required: false,
                serialized_name: 'enableCopyActivityLog',
                type: {
                  name: 'Object'
                }
              },
              copy_activity_log_settings: {
                client_side_validation: true,
                required: false,
                serialized_name: 'copyActivityLogSettings',
                type: {
                  name: 'Composite',
                  class_name: 'CopyActivityLogSettings'
                }
              },
              log_location_settings: {
                client_side_validation: true,
                required: true,
                serialized_name: 'logLocationSettings',
                default_value: {},
                type: {
                  name: 'Composite',
                  class_name: 'LogLocationSettings'
                }
              }
            }
          }
        }
      end
    end
  end
end
