Class: JSS::AdvancedComputerSearch

Inherits:
AdvancedSearch show all
Defined in:
lib/jss/api_object/advanced_search/advanced_computer_search.rb,
lib/jss.rb

Overview

An AdvancedComputerSearch in the JSS

Constant Summary collapse

RSRC_BASE =

The base for REST resources of this class

'advancedcomputersearches'.freeze
RSRC_LIST_KEY =

the hash key used for the JSON list output of all objects in the JSS

:advanced_computer_searches
RSRC_OBJECT_KEY =

The hash key used for the JSON object output. It’s also used in various error messages

:advanced_computer_search
VALID_DATA_KEYS =

these keys, as well as :id and :name, are present in valid API JSON data for this class

[:sql_text, :display_fields, :computers].freeze
RESULT_CLASS =

what kind of thing is returned by this search?

JSS::Computer
RESULT_ID_FIELDS =

what data fields come back along with the display fields for each computer?

[:id, :name, :udid].freeze

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from JSS::AdvancedSearch

Instance Attribute Details

#criteriaJSS::Criteriable::Criteria Originally defined in module Criteriable

Returns the criteria for the instance into which we’re mixed.

Returns:

#need_to_updateBoolean (readonly) Originally defined in module Updatable

Returns do we have unsaved changes?.

Returns:

  • (Boolean)

    do we have unsaved changes?