Class ApiResponse<T>

java.lang.Object
org.apache.syncope.ext.openfga.client.ApiResponse<T>
Type Parameters:
T - The type of data that is deserialized from response body

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-03-07T14:52:32.408381154+01:00[Europe/Rome]", comments="Generator version: 7.12.0") public class ApiResponse<T> extends Object
API response returned by API call.
  • Constructor Details

    • 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 Details

    • getStatusCode

      public int getStatusCode()
    • getHeaders

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

      public T getData()