Package com.seeq

Class ApiClient.ApiResponse<T>

java.lang.Object
com.seeq.ApiClient.ApiResponse<T>
Enclosing class:
ApiClient

public static class ApiClient.ApiResponse<T> extends Object
  • Constructor Details

    • ApiResponse

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

      public Map<String,List<String>> getHeaders()
      Gets or sets the HTTP headers
    • getData

      public T getData()
      Gets or sets the data (parsed HTTP body)