data class BaseResponse<T>
Generic network response for any type data T.
code
- The HTTP status code of the returned result.
status
- A string description of the call status.
message
- A more descriptive message of the failure call status.
data
- The results returned by the call.
<init> |
Generic network response for any type data T. BaseResponse(code: Any, status: String, message: String, data: DataResponse<T>) |
code |
The HTTP status code of the returned result. val code: Any |
data |
The results returned by the call. val data: DataResponse<T> |
message |
A more descriptive message of the failure call status. val message: String |
status |
A string description of the call status. val status: String |