# 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::Compute::Mgmt::V2019_07_01
  module Models
    #
    # Model object.
    #
    #
    class TerminateNotificationProfile

      include MsRestAzure

      # @return [String] Configurable length of time a Virtual Machine being
      # deleted will have to potentially approve the Terminate Scheduled Event
      # before the event is auto approved (timed out). The configuration must
      # be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
      attr_accessor :not_before_timeout

      # @return [Boolean] Specifies whether the Terminate Scheduled event is
      # enabled or disabled.
      attr_accessor :enable


      #
      # Mapper for TerminateNotificationProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'TerminateNotificationProfile',
          type: {
            name: 'Composite',
            class_name: 'TerminateNotificationProfile',
            model_properties: {
              not_before_timeout: {
                client_side_validation: true,
                required: false,
                serialized_name: 'notBeforeTimeout',
                type: {
                  name: 'String'
                }
              },
              enable: {
                client_side_validation: true,
                required: false,
                serialized_name: 'enable',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end
