Class: CollectionAlliancesResponse

Classes_Responses~CollectionAlliancesResponse(fetchedResponse)

Represents an API response from the /collections/{collectionId}/alliances endpoint.

Constructor

new CollectionAlliancesResponse(fetchedResponse)

constructor - Creates an instance of CollectionAlliancesResponse based on the provided HTTPResponse.

Parameters:
Name Type Description
fetchedResponse HTTPResponse

The original response from the PSS Fleet Data API.

Source:

Extends

Members

alliances :Array.<PssAlliance>

alliances - An array of PssAlliance objects contained in the response, if the responseJson is not null. Else, an empty array.

Type:
  • Array.<PssAlliance>
Source:

metadata :CollectionMetadata

collection - The CollectionMetadata object contained in the response, if the responseJson is not null. Else, null.

Type:
  • CollectionMetadata
Source:

responseJson :object|Array.<object>

responseJson - The object or array of objects parsed from the JSON in the response, if the statusCode is in the 2xx range. Else, null.

Type:
  • object | Array.<object>
Overrides:
Source:

statusCode :integer

statusCode - The HTTP status code of the response.

Type:
  • integer
Overrides:
Source: