Class: JSS::ManagementHistory::CasperRemoteLog

Inherits:
Object
  • Object
show all
Includes:
HashLike
Defined in:
lib/jss/api_object/management_history/casper_remote_log.rb

Overview

CasperRemoteEvent - an casper remote event in a Jamf Computer’s Management History

This should only be instantiated by the ManagementHistory.usage_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)



# File 'lib/jss/api_object/management_history/casper_remote_log.rb', line 48


#statusString (readonly)



# File 'lib/jss/api_object/management_history/casper_remote_log.rb', line 45


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



54
55
56
# File 'lib/jss/api_object/management_history/casper_remote_log.rb', line 54

def date_time
  JSS.epoch_to_time @date_time_epoch if @date_time_epoch
end