Class: Jamf::DeviceEnrollmentDeviceSyncState

Inherits:
JSONObject show all
Extended by:
Immutable
Defined in:
lib/jamf/api/json_objects/device_enrollment_device_sync_state.rb

Overview

The status of a device from Apple's POV, regarding its assignment or removal from ADE. Such assignment is done via a profile from apple, this data is the state of that profile.

Constant Summary collapse

OBJECT_MODEL =
{

  # @!attribute id
  #   NOTE: this is not a jamf object id, it comes from Apple, therefore
  #   it is an Integer, not a :j_id
  #   @return [Integer]
  id: {
    class: :integer
  },

  # @!attribute serialNumber
  #   @return [String]
  serialNumber: {
    class: :string
  },

  # @!attribute profileUUID
  #   @return [String]
  profileUUID: {
    class: :string
  },

  # @!attribute syncStatus
  #   @return [String]
  syncStatus: {
    class: :string
  },

  # @!attribute failureCount
  #   @return [Integer]
  failureCount: {
    class: :integer
  },

  # @!attribute timestamp
  #   @return [Jamf::Timestamp]
  timestamp: {
    class: Jamf::Timestamp
  }
}.freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Constructor Details

This class inherits a constructor from Jamf::JSONObject

Instance Attribute Details

#failureCountInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/json_objects/device_enrollment_device_sync_state.rb', line 64

#idInteger

NOTE: this is not a jamf object id, it comes from Apple, therefore it is an Integer, not a :j_id

Returns:

  • (Integer)


# File 'lib/jamf/api/json_objects/device_enrollment_device_sync_state.rb', line 38

#profileUUIDString

Returns:



# File 'lib/jamf/api/json_objects/device_enrollment_device_sync_state.rb', line 52

#serialNumberString

Returns:



# File 'lib/jamf/api/json_objects/device_enrollment_device_sync_state.rb', line 46

#syncStatusString

Returns:



# File 'lib/jamf/api/json_objects/device_enrollment_device_sync_state.rb', line 58

#timestampJamf::Timestamp

Returns:



# File 'lib/jamf/api/json_objects/device_enrollment_device_sync_state.rb', line 70

Class Method Details

.mutable?Boolean Originally defined in module Immutable

Returns:

  • (Boolean)