SuccessArrayResponse

SuccessArrayResponse

Represents a success response object that includes an array of results.

Constructor

new SuccessArrayResponse(data, count, code)

Creates a new instance of SuccessArrayResponse.
Source:
Parameters:
Name Type Default Description
data Array The array of results to include in the response.
count number The total count of results.
code number 200 The status code of the response. Default is 200.

Members

count :number

The total count of results.
Source:
Type:
  • number

results :Array

The array of results included in the response.
Source:
Type:
  • Array

statusCode :number

The status code of the response.
Source:
Type:
  • number