lib/jss/api_object/management_history.rb
def casper_imaging_logs(ident, api: JSS.api)
        raise JSS::UnsupportedError, 'Only computers have casper imaging logs' unless self == JSS::Computer
        hist = management_history(ident, :casper_imaging_logs, api: api)
        hist.map! { |evt| JSS::ManagementHistory::CasperImagingLog.new evt }
      end
# The history of Casper Imaging events for a computer
#
# @param ident [Type] The identifier for the object - id, name, sn, udid, etc.
#
# @param api [JSS::APIConnection] The API connection to use for the query
#   defaults to the currently active connection
#
# @return [Array<JSS::ManagementHistory::CasperImagingLog>] An array of CasperImagingLog events
#
The history of Casper Imaging events for a computer
The history of Casper Imaging events for a computer
def casper_imaging_logs(ident, api: JSS.api)
        raise JSS::UnsupportedError, 'Only computers have casper imaging logs' unless self == JSS::Computer
        hist = management_history(ident, :casper_imaging_logs, api: api)
        hist.map! { |evt| JSS::ManagementHistory::CasperImagingLog.new evt }
      end
def casper_imaging_logs ( ident , api : JSS . api ) raise JSS :: UnsupportedError , 'Only computers have casper imaging logs' unless self == JSS :: Computer hist = management_history ( ident , :casper_imaging_logs , api : api ) hist . map! { | evt | JSS :: ManagementHistory :: CasperImagingLog . new evt } end
The history of Casper Imaging events for a computer
The history of Casper Imaging events for a computer
An array of CasperImagingLog events
An array of CasperImagingLog events
Array<JSS::ManagementHistory::CasperImagingLog>
ident
The identifier for the object - id, name, sn, udid, etc.
The identifier for the object - id name sn udid etc .
api
The API connection to use for the query defaults to the currently active connection
The API connection to use for the query defaults to the currently active connection
the currently active connection