Class: Jamf::ManagementHistory::ComputerUsageLog
- Includes:
- HashLike
- Defined in:
- lib/jamf/api/classic/api_objects/management_history/computer_usage_log.rb
Overview
ComputerUsageEvent - an usage event in a Jamf Compter’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
-
#date_time_epoch ⇒ Integer
readonly
When the event occured on the server, as a unix epoch timestamp with milliseconds.
-
#event ⇒ String
(also: #description)
readonly
The description of the event.
-
#username ⇒ String
readonly
The name of the JSS user who caused the event.
Instance Method Summary collapse
- #[](attr) ⇒ Object included from HashLike
-
#date_time ⇒ Object
@return [Time] When the event occured on the server, as a ruby Time object.
Instance Attribute Details
#date_time_epoch ⇒ Integer (readonly)
Returns When the event occured on the server, as a unix epoch timestamp with milliseconds.
|
# File 'lib/jamf/api/classic/api_objects/management_history/computer_usage_log.rb', line 54
|
#event ⇒ String (readonly) Also known as: description
Returns The description of the event.
49 |
# File 'lib/jamf/api/classic/api_objects/management_history/computer_usage_log.rb', line 49 alias description event |
#username ⇒ String (readonly)
Returns The name of the JSS user who caused the event.
|
# File 'lib/jamf/api/classic/api_objects/management_history/computer_usage_log.rb', line 51
|