This class is the common API response object.
Constructor | Description |
---|---|
constructor(headers, statusCode, object) | Creates an APIResponse class instance with the specified parameters. |
The map containing the API Response headers
The integer containing the API response HTTP status code.
The object containing the API response class instance.
Method | Description |
---|---|
statusCode | The getter method to get the API response HTTP status code. |
object | The method to get the API response class instance. |
headers | The getter method to get the API response headers. |