Class: Jamf::ReEnrollmentSettings
- Inherits:
-
SingletonResource
- Object
- JSONObject
- Resource
- SingletonResource
- Jamf::ReEnrollmentSettings
- 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
- #flushMDMQueue ⇒ Symbol
- #isFlushExtensionAttributesEnabled ⇒ Boolean
- #isFlushLocationInformationEnabled ⇒ Boolean
- #isFlushLocationInformationHistoryEnabled ⇒ Boolean
- #isFlushPolicyHistoryEnabled ⇒ Boolean
Instance Method Summary collapse
-
#add_change_log_note(note, cnx: Jamf.cnx) ⇒ void
included
from ChangeLog
Add a note to this resource’s change log.
-
#change_log(refresh = false, cnx: Jamf.cnx) ⇒ Array<Jamf::ChangeHistoryEntry>
included
from ChangeLog
The change and note history for this resource.
Constructor Details
This class inherits a constructor from Jamf::JSONObject
Instance Attribute Details
#flushMDMQueue ⇒ Symbol
|
# File 'lib/jamf/api/resources/singleton_resources/reenrollment_settings.rb', line 82
|
#isFlushExtensionAttributesEnabled ⇒ Boolean
|
# File 'lib/jamf/api/resources/singleton_resources/reenrollment_settings.rb', line 76
|
#isFlushLocationInformationEnabled ⇒ Boolean
|
# File 'lib/jamf/api/resources/singleton_resources/reenrollment_settings.rb', line 64
|
#isFlushLocationInformationHistoryEnabled ⇒ Boolean
|
# File 'lib/jamf/api/resources/singleton_resources/reenrollment_settings.rb', line 70
|
#isFlushPolicyHistoryEnabled ⇒ Boolean
|
# 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.