Class: JSS::ManagementHistory::ScreenSharingLog
- Includes:
- HashLike
- Defined in:
- lib/jss/api_object/management_history/screen_sharing_log.rb
Overview
ScreenSharingLog - an casper screen sharing event in a Jamf Compter’s Management History
This should only be instantiated by the ManagementHistory.screen_sharing_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.
-
#details ⇒ String
readonly
The details of the event.
-
#status ⇒ String
readonly
The status of 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/jss/api_object/management_history/screen_sharing_log.rb', line 28
|
#details ⇒ String (readonly)
Returns The details of the event.
|
# File 'lib/jss/api_object/management_history/screen_sharing_log.rb', line 25
|
#status ⇒ String (readonly)
Returns The status of the event.
|
# File 'lib/jss/api_object/management_history/screen_sharing_log.rb', line 22
|
Instance Method Details
#date_time ⇒ Object
@return [Time] When the event occured on the server, as a ruby Time object
34 35 36 |
# File 'lib/jss/api_object/management_history/screen_sharing_log.rb', line 34 def date_time JSS.epoch_to_time @date_time_epoch if @date_time_epoch end |