Class: Jamf::Searchable::OrderBy

Inherits:
JSONObject show all
Defined in:
lib/jamf/api/mixins/searchable.rb

Overview

def search

Constant Summary collapse

SORT_DIRECTIONS =
{
  asc: 'ASC',
  desc: 'DESC'
}.freeze
OBJECT_MODEL =
{

  # @!attribute field
  #   @return [String]
  field: {
    class: :string
  },

  # @!attribute direction
  #   @return [String]
  direction: {
    class: :string,
    enum: SORT_DIRECTIONS
  }
}.freeze

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::JSONObject

Instance Attribute Details

#directionString

Returns:



# File 'lib/jamf/api/mixins/searchable.rb', line 157

#fieldString

Returns:



# File 'lib/jamf/api/mixins/searchable.rb', line 151