# 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 preference properties.
    #
    class ConfigurationProfilePreferenceProperties

      include MsRestAzure

      # @return [ConfigurationProfilePreferenceVmBackup] The custom preferences
      # for Azure VM Backup.
      attr_accessor :vm_backup

      # @return [ConfigurationProfilePreferenceAntiMalware] The custom
      # preferences for Azure Antimalware.
      attr_accessor :anti_malware


      #
      # Mapper for ConfigurationProfilePreferenceProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ConfigurationProfilePreferenceProperties',
          type: {
            name: 'Composite',
            class_name: 'ConfigurationProfilePreferenceProperties',
            model_properties: {
              vm_backup: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vmBackup',
                type: {
                  name: 'Composite',
                  class_name: 'ConfigurationProfilePreferenceVmBackup'
                }
              },
              anti_malware: {
                client_side_validation: true,
                required: false,
                serialized_name: 'antiMalware',
                type: {
                  name: 'Composite',
                  class_name: 'ConfigurationProfilePreferenceAntiMalware'
                }
              }
            }
          }
        }
      end
    end
  end
end
