Package com.seeq
Class ApiClient.ApiResponse<T>
java.lang.Object
com.seeq.ApiClient.ApiResponse<T>
- Enclosing class:
- ApiClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()
Gets or sets the data (parsed HTTP body)Gets or sets the HTTP headersint
Gets or sets the status code (HTTP status code)
-
Constructor Details
-
ApiResponse
Initializes a new instance of the ApiResponse class.- Parameters:
statusCode
- HTTP status code.headers
- HTTP headers.data
- Data (parsed HTTP body)
-
-
Method Details
-
getStatusCode
public int getStatusCode()Gets or sets the status code (HTTP status code) -
getHeaders
Gets or sets the HTTP headers -
getData
Gets or sets the data (parsed HTTP body)
-