- Type Parameters:
T
- The type of data that is deserialized from response body
public class ApiResponse<T>
extends Object
API response returned by API call.
-
Constructor Summary 
Constructors
-
Method Summary 
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details 
-
ApiResponse 
- Parameters:
statusCode
- The status code of HTTP response
headers
- The headers of HTTP response
-
ApiResponse 
- Parameters:
statusCode
- The status code of HTTP response
headers
- The headers of HTTP response
data
- The object deserialized from response bod
-