Sha256: 2ecd62370076bc38f1e879fb6e1fb0e7bb38b41bc23f891732ca6ba9fed5d7b0
Contents?: true
Size: 988 Bytes
Versions: 15
Compression:
Stored size: 988 Bytes
Contents
# module JSS # module ManagementHistory # 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. # class CasperRemoteLog < ImmutableStruct.new( :status, :date_time_epoch ) include JSS::ManagementHistory::HashLike # @!attribute [r] status # @return [String] The status 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