Package org.openapitools.client
Class ApiResponse<T>
java.lang.Object
org.openapitools.client.ApiResponse<T>
API response returned by API call.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetData()Get thedata.Get theheaders.intGet thestatus code.
- 
Field Details- 
statusCodeprivate final int statusCode
- 
headers
- 
data
 
- 
- 
Constructor Details- 
ApiResponseConstructor for ApiResponse. - Parameters:
- statusCode- The status code of HTTP response
- headers- The headers of HTTP response
 
- 
ApiResponseConstructor for ApiResponse. - Parameters:
- statusCode- The status code of HTTP response
- headers- The headers of HTTP response
- data- The object deserialized from response bod
 
 
- 
- 
Method Details- 
getStatusCodepublic int getStatusCode()Get the status code.- Returns:
- the status code
 
- 
getHeadersGet the headers.- Returns:
- a Mapof headers
 
- 
getDataGet the data.- Returns:
- the data
 
 
-