Class: Jamf::APIError

Inherits:
JSONObject show all
Defined in:
lib/jamf/api/connection/api_error_styleguide.rb

Overview

When the API returns an HTTP status other than 2xx or 3xx, the document body contains one of these.

Constant Summary collapse

OBJECT_MODEL =
{

  # @!attribute [r] traceId
  #   @return [String]
  traceId: {
    class: :string,
    readonly: true
  },

  # @!attribute [r] errors
  #   @return [Array<Jamf::APIErrorDetail>]
  errors: {
    class: Jamf::APIErrorDetail,
    readonly: true,
    multi: true
  }

}.freeze

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::JSONObject

Instance Attribute Details

#errorsArray<Jamf::APIErrorDetail> (readonly)



# File 'lib/jamf/api/connection/api_error_styleguide.rb', line 43

#traceIdString (readonly)

Returns:



# File 'lib/jamf/api/connection/api_error_styleguide.rb', line 36