# 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::Synapse::Mgmt::V2019_06_01_preview
  module Models
    #
    # Properties of a Vulnerability Assessment recurring scans.
    #
    class VulnerabilityAssessmentRecurringScansProperties

      include MsRestAzure

      # @return [Boolean] Recurring scans state.
      attr_accessor :is_enabled

      # @return [Boolean] Specifies that the schedule scan notification will be
      # is sent to the subscription administrators. Default value: true .
      attr_accessor :email_subscription_admins

      # @return [Array<String>] Specifies an array of e-mail addresses to which
      # the scan notification is sent.
      attr_accessor :emails


      #
      # Mapper for VulnerabilityAssessmentRecurringScansProperties class as
      # Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VulnerabilityAssessmentRecurringScansProperties',
          type: {
            name: 'Composite',
            class_name: 'VulnerabilityAssessmentRecurringScansProperties',
            model_properties: {
              is_enabled: {
                client_side_validation: true,
                required: false,
                serialized_name: 'isEnabled',
                type: {
                  name: 'Boolean'
                }
              },
              email_subscription_admins: {
                client_side_validation: true,
                required: false,
                serialized_name: 'emailSubscriptionAdmins',
                default_value: true,
                type: {
                  name: 'Boolean'
                }
              },
              emails: {
                client_side_validation: true,
                required: false,
                serialized_name: 'emails',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
