# 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::Automanage::Mgmt::V2020_06_30_preview
  module Models
    #
    # Automanage configuration profile Antimalware preferences.
    #
    class ConfigurationProfilePreferenceAntiMalware

      include MsRestAzure

      # @return [EnableRealTimeProtection] Enables or disables Real Time
      # Protection. Possible values include: 'True', 'False'
      attr_accessor :enable_real_time_protection

      # @return Extensions, Paths and Processes that must be excluded from scan
      attr_accessor :exclusions

      # @return [RunScheduledScan] Enables or disables a periodic scan for
      # antimalware. Possible values include: 'True', 'False'
      attr_accessor :run_scheduled_scan

      # @return [ScanType] Type of scheduled scan. Possible values include:
      # 'Quick', 'Full'
      attr_accessor :scan_type

      # @return [String] Schedule scan settings day
      attr_accessor :scan_day

      # @return [String] Schedule scan settings time
      attr_accessor :scan_time_in_minutes


      #
      # Mapper for ConfigurationProfilePreferenceAntiMalware class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ConfigurationProfilePreferenceAntiMalware',
          type: {
            name: 'Composite',
            class_name: 'ConfigurationProfilePreferenceAntiMalware',
            model_properties: {
              enable_real_time_protection: {
                client_side_validation: true,
                required: false,
                serialized_name: 'enableRealTimeProtection',
                type: {
                  name: 'String'
                }
              },
              exclusions: {
                client_side_validation: true,
                required: false,
                serialized_name: 'exclusions',
                type: {
                  name: 'Object'
                }
              },
              run_scheduled_scan: {
                client_side_validation: true,
                required: false,
                serialized_name: 'runScheduledScan',
                type: {
                  name: 'String'
                }
              },
              scan_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'scanType',
                type: {
                  name: 'String'
                }
              },
              scan_day: {
                client_side_validation: true,
                required: false,
                serialized_name: 'scanDay',
                type: {
                  name: 'String'
                }
              },
              scan_time_in_minutes: {
                client_side_validation: true,
                required: false,
                serialized_name: 'scanTimeInMinutes',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
