Class: Jamf::ManagementHistory::CasperImagingLog

Inherits:
Object
  • Object
show all
Includes:
HashLike
Defined in:
lib/jamf/api/classic/api_objects/management_history/casper_imaging_log.rb

Overview

CasperImagingLog - a casper imaging event in a Jamf Computer’s Management History

This should only be instantiated by the ManagementHistory.casper_imaging_logs method when mixed in to Computers devices.

That method will return an array of these objects.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#date_time_epochInteger (readonly)

Returns When the event occured on the server, as a unix epoch timestamp with milliseconds.

Returns:

  • (Integer)

    When the event occured on the server, as a unix epoch timestamp with milliseconds



# File 'lib/jamf/api/classic/api_objects/management_history/casper_imaging_log.rb', line 47

#statusString (readonly)

Returns The status of the event.

Returns:

  • (String)

    The status of the event.



# File 'lib/jamf/api/classic/api_objects/management_history/casper_imaging_log.rb', line 44

Instance Method Details

#[](attr) ⇒ Object Originally defined in module HashLike

#date_timeObject

@return [Time] When the event occured on the server, as a ruby Time object



53
54
55
# File 'lib/jamf/api/classic/api_objects/management_history/casper_imaging_log.rb', line 53

def date_time
  JSS.epoch_to_time @date_time_epoch if @date_time_epoch
end