Class: Jamf::ReEnrollmentSettings

Inherits:
SingletonResource show all
Includes:
ChangeLog
Defined in:
lib/jamf/api/resources/singleton_resources/reenrollment_settings.rb

Overview

The device re-enrollment settings for the Jamf Pro Server

Constant Summary collapse

RSRC_VERSION =

Constants

'v1'.freeze
RSRC_PATH =
'reenrollment'.freeze
FLUSH_MDM_QUEUE_NOTHING =
'DELETE_NOTHING'.freeze
FLUSH_MDM_QUEUE_ERRORS =
'DELETE_ERRORS'.freeze
FLUSH_MDM_QUEUE_NOT_ACKD =
'DELETE_EVERYTHING_EXCEPT_ACKNOWLEDGED'.freeze
FLUSH_MDM_QUEUE_EVERYTHING =
'DELETE_EVERYTHING'.freeze
FLUSH_MDM_QUEUE_OPTIONS =
[
  FLUSH_MDM_QUEUE_NOTHING,
  FLUSH_MDM_QUEUE_ERRORS,
  FLUSH_MDM_QUEUE_NOT_ACKD,
  FLUSH_MDM_QUEUE_EVERYTHING
].freeze
OBJECT_MODEL =
{

  # @!attribute isFlushPolicyHistoryEnabled
  #   @return [Boolean]
  isFlushPolicyHistoryEnabled: {
    class: :boolean
  },

  # @!attribute isFlushLocationInformationEnabled
  #   @return [Boolean]
  isFlushLocationInformationEnabled: {
    class: :boolean
  },

  # @!attribute isFlushLocationInformationHistoryEnabled
  #   @return [Boolean]
  isFlushLocationInformationHistoryEnabled: {
    class: :boolean
  },

  # @!attribute isFlushExtensionAttributesEnabled
  #   @return [Boolean]
  isFlushExtensionAttributesEnabled: {
    class: :boolean
  },

  # @!attribute flushMDMQueue
  #   @param [Symbol] a key from ReEnrollment::FLUSH_MDM_QUEUE_OPTIONS
  #   @return [Symbol]
  flushMDMQueue: {
    class: :string,
    enum: FLUSH_MDM_QUEUE_OPTIONS
  }

}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from Jamf::JSONObject

Instance Attribute Details

#flushMDMQueueSymbol



# File 'lib/jamf/api/resources/singleton_resources/reenrollment_settings.rb', line 82


#isFlushExtensionAttributesEnabledBoolean



# File 'lib/jamf/api/resources/singleton_resources/reenrollment_settings.rb', line 76


#isFlushLocationInformationEnabledBoolean



# File 'lib/jamf/api/resources/singleton_resources/reenrollment_settings.rb', line 64


#isFlushLocationInformationHistoryEnabledBoolean



# File 'lib/jamf/api/resources/singleton_resources/reenrollment_settings.rb', line 70


#isFlushPolicyHistoryEnabledBoolean



# File 'lib/jamf/api/resources/singleton_resources/reenrollment_settings.rb', line 58


Instance Method Details

#add_change_log_note(note, cnx: Jamf.cnx) ⇒ void Originally defined in module ChangeLog

This method returns an undefined value.

Add a note to this resource’s change log.

If the change history has been cached already, it is recached after adding the note.

#change_log(refresh = false, cnx: Jamf.cnx) ⇒ Array<Jamf::ChangeHistoryEntry> Originally defined in module ChangeLog

The change and note history for this resource.

The history is cached internally and only re-fetched when a truthy parameter is given.