io.swagger.client

## Class ApiResponse<T>

- java.lang.Object
- - io.swagger.client.ApiResponse<T>

- 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
    Constructor and Description
    `ApiResponse(int statusCode, Map<String,List<String>> headers)`
    `ApiResponse(int statusCode, Map<String,List<String>> headers, T data)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `getData()`
    `Map<String,List<String>>` | `getHeaders()`
    `int` | `getStatusCode()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ApiResponse

          public ApiResponse(int statusCode,
                             Map<String,List<String>> headers)

      Parameters:
        `statusCode` - The status code of HTTP response
        `headers` - The headers of HTTP response

    - #### ApiResponse

          public ApiResponse(int statusCode,
                             Map<String,List<String>> headers,
                             T data)

      Parameters:
        `statusCode` - The status code of HTTP response
        `headers` - The headers of HTTP response
        `data` - The object deserialized from response bod

  - ### Method Detail

    - #### getStatusCode

          public int getStatusCode()

    - #### getHeaders

          public Map<String,List<String>> getHeaders()

    - #### getData

          public T getData()

Copyright © 2018. All rights reserved.