Class: JSS::AdvancedComputerSearch

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

Overview

An AdvancedComputerSearch in the JSS

Constant Summary collapse

RSRC_BASE =

The base for REST resources of this class

"advancedcomputersearches"
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]
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]

Constants inherited from AdvancedSearch

JSS::AdvancedSearch::EXPORT_FORMATS

Constants included from Criteriable

Criteriable::CRITERIABLE

Constants included from Updatable

Updatable::UPDATABLE

Constants included from Creatable

Creatable::CREATABLE

Constants inherited from APIObject

JSS::APIObject::DEFAULT_LOOKUP_KEYS, JSS::APIObject::REQUIRED_DATA_KEYS

Instance Attribute Summary

Attributes inherited from AdvancedSearch

#result_display_keys, #search_results, #site, #sql_text

Attributes included from Criteriable

#criteria

Attributes included from Updatable

#need_to_update

Attributes inherited from APIObject

#id, #in_jss, #name, #rest_rsrc

Method Summary

Methods inherited from AdvancedSearch

#count, #create, #display_fields, #display_fields=, #export, #initialize, #requery_search_results, #update

Methods included from Criteriable

#parse_criteria, #should_update

Methods included from Updatable

#name=, #update

Methods included from Creatable

#create

Methods inherited from APIObject

all, all_ids, all_names, #delete, get_name, #initialize, map_all_ids_to, #save, xml_list

Constructor Details

This class inherits a constructor from JSS::AdvancedSearch