Represents the response model for network operations. This class encapsulates details about the HTTP response including status code, headers, data, and errors.
Private
Retrieves the data payload of the response.
The data payload of the response
Retrieves the error object of the response.
The error object if the request failed
Retrieves the headers of the response.
The headers of the response
Retrieves the status code of the response.
The HTTP status code
Sets the data of the response.
Sets the error object of the response.
Sets the headers of the response.
Sets the status code of the response.
Represents the response model for network operations. This class encapsulates details about the HTTP response including status code, headers, data, and errors.