Sha256: 49a9e910cc1dbcdb249eb1ff55bc4076ccb23569cd11162595be8481753dfb14

Contents?: true

Size: 1.08 KB

Versions: 15

Compression:

Stored size: 1.08 KB

Contents

#
module JSS

  #
  module ManagementHistory

    # 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.
    #
    class ScreenSharingLog < ImmutableStruct.new(

      :status,
      :date_time_epoch,
      :details
    )
      include JSS::ManagementHistory::HashLike

      # @!attribute [r] status
      #  @return [String] The status of the event.

      # @!attribute [r] details
      #  @return [String] The details of the event.

      # @!attribute [r] date_time_epoch
      #  @return [Integer] When the event occured on the server, as
      #    a unix epoch timestamp with milliseconds

      #  @return [Time] When the event occured on the server, as a ruby Time object
      #
      def date_time
        JSS.epoch_to_time @date_time_epoch if @date_time_epoch
      end

    end # CasperRemoteEvent

  end #   module ManagementHistory

end # module JSS

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ruby-jss-1.0.3b2 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-1.0.3b1 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-1.0.2 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-1.0.1 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-1.0.0 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-1.0.0b6 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-1.0.0b2 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-0.14.0 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-0.13.0 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-0.12.0 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-0.11.0 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-0.11.0b3 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-0.11.0b2 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-0.11.0b1 lib/jss/api_object/management_history/screen_sharing_log.rb
ruby-jss-0.11.0a6 lib/jss/api_object/management_history/screen_sharing_log.rb