Method: JSS::AdvancedSearch#display_fields
- Defined in:
- lib/jss-api/api_object/advanced_search.rb
#display_fields ⇒ Array<String>
The API delivers these as an array of Hashes, where each hash has only one key, :name => the name of the fields/ExtAttrib to display. It should probably not have the underlying Hashes, and just be an array of names. This class converts it to just an Array of field names (Strings) for internal use.
These fields are returned in the @search_results data along with :id, :name, and other unique identifiers for each found item. In that data, their names have spaces and dashes converted to underscores, and they are symbolized.
254 255 256 |
# File 'lib/jss-api/api_object/advanced_search.rb', line 254 def display_fields @display_fields end |