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 [String] id: { class: :j_id, identifier: true }, # @!attribute deviceEnrollmentProgramInstanceId # @return [String] deviceEnrollmentProgramInstanceId: { class: :j_id, aliases: %i[instanceId] }, # @!attribute prestageId # The most recent prestage this device was assigned to, even if # currently unassigned to any prestage. # @return [String] prestageId: { class: :j_id }, # @!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, enum: PROFILE_STATUSES }, # @!attribute syncState # @return [DeviceEnrollmentDeviceSyncState] syncState: { class: Jamf::DeviceEnrollmentDeviceSyncState }, # @!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 ⇒ String
- #id ⇒ String
- #model ⇒ String
-
#prestageId ⇒ String
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
- #syncState ⇒ DeviceEnrollmentDeviceSyncState
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 147
|
#deviceEnrollmentProgramInstanceId ⇒ String
|
# File 'lib/jamf/api/json_objects/device_enrollment_device.rb', line 77
|
#prestageId ⇒ String
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 135
|
#profilePushTime ⇒ Jamf::Timestamp
|
# File 'lib/jamf/api/json_objects/device_enrollment_device.rb', line 141
|
#syncState ⇒ DeviceEnrollmentDeviceSyncState
|
# File 'lib/jamf/api/json_objects/device_enrollment_device.rb', line 129
|