Class: Jamf::DeviceEnrollmentDevice
- Inherits:
-
JSONObject
- Object
- JSONObject
- Jamf::DeviceEnrollmentDevice
- Extended by:
- Immutable
- Defined in:
- lib/jamf/api/json_objects/device_enrollment_device.rb
Overview
A decvice enrollment defined in the JSS This is a connection to Appleās Device Enrollment Program. A single Jamf server may have many of them, and they can belong to different sites.
These objects can be used to find the details of all the devices connected to them, including the device serial numbers. To see how or if those devices are assigned to prestages, see Jamf::Prestage and its subclasses ComputerPrestage and MobileDevicePrestage
Constant Summary collapse
- PROFILE_STATUS_EMPTY =
Constants
'EMPTY'.freeze
- PROFILE_STATUS_ASSIGNED =
'ASSIGNED'.freeze
- PROFILE_STATUS_PUSHED =
'PUSHED'.freeze
- PROFILE_STATUS_REMOVED =
'REMOVED'.freeze
- PROFILE_STATUSES =
[ PROFILE_STATUS_EMPTY, PROFILE_STATUS_ASSIGNED, PROFILE_STATUS_PUSHED, PROFILE_STATUS_REMOVED ].freeze
- OBJECT_MODEL =
Object Model / Attributes See APIObject class documentation for details of how the OBJECT_MODEL hash works.
{ # @!attribute id # @return [Integer] id: { class: :integer, identifier: true }, # @!attribute deviceEnrollmentProgramInstanceId # @return [Integer] deviceEnrollmentProgramInstanceId: { class: :integer, aliases: %i[instanceId] }, # @!attribute prestageId # The most recent prestage this device was assigned to, even if # currently unassigned to any prestage. # @return [Integer] prestageId: { class: :integer }, # @!attribute serialNumber # @return [String] serialNumber: { class: :string }, # @!attribute description # @return [String] description: { class: :string }, # @!attribute model # @return [String] model: { class: :string }, # @!attribute color # @return [String] color: { class: :string }, # @!attribute assetTag # @return [String] assetTag: { class: :string }, # @!attribute profileStatus # @return [String] profileStatus: { class: :string }, # @!attribute profileAssignTime # @return [Jamf::Timestamp] profileAssignTime: { class: Jamf::Timestamp }, # @!attribute profilePushTime # @return [Jamf::Timestamp] profilePushTime: { class: Jamf::Timestamp }, # @!attribute deviceAssignedDate # When Apple assigned this device to this DevEnrollment instance # @return [Jamf::Timestamp] deviceAssignedDate: { class: Jamf::Timestamp } }.freeze
Instance Attribute Summary collapse
- #assetTag ⇒ String
- #color ⇒ String
- #description ⇒ String
-
#deviceAssignedDate ⇒ Jamf::Timestamp
When Apple assigned this device to this DevEnrollment instance.
- #deviceEnrollmentProgramInstanceId ⇒ Integer
- #id ⇒ Integer
- #model ⇒ String
-
#prestageId ⇒ Integer
The most recent prestage this device was assigned to, even if currently unassigned to any prestage.
- #profileAssignTime ⇒ Jamf::Timestamp
- #profilePushTime ⇒ Jamf::Timestamp
- #profileStatus ⇒ String
- #serialNumber ⇒ String
Class Method Summary collapse
- .mutable? ⇒ Boolean extended from Immutable
Constructor Details
This class inherits a constructor from Jamf::JSONObject
Instance Attribute Details
#deviceAssignedDate ⇒ Jamf::Timestamp
When Apple assigned this device to this DevEnrollment instance
|
# File 'lib/jamf/api/json_objects/device_enrollment_device.rb', line 140
|
#deviceEnrollmentProgramInstanceId ⇒ Integer
|
# File 'lib/jamf/api/json_objects/device_enrollment_device.rb', line 77
|
#id ⇒ Integer
|
# File 'lib/jamf/api/json_objects/device_enrollment_device.rb', line 70
|
#prestageId ⇒ Integer
The most recent prestage this device was assigned to, even if currently unassigned to any prestage.
|
# File 'lib/jamf/api/json_objects/device_enrollment_device.rb', line 84
|
#profileAssignTime ⇒ Jamf::Timestamp
|
# File 'lib/jamf/api/json_objects/device_enrollment_device.rb', line 128
|
#profilePushTime ⇒ Jamf::Timestamp
|
# File 'lib/jamf/api/json_objects/device_enrollment_device.rb', line 134
|