T - the type of the response data. May be Void.public class IndexApiResponse<T> extends Object implements com.sdl.delivery.iq.index.api.client.IndexServiceResponseData<T>
| Constructor and Description |
|---|
IndexApiResponse(ApiResponse<T> response,
com.sdl.delivery.iq.index.api.client.Instruction instruction) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ServiceResponseData<T>> |
getApiResponse() |
com.sdl.delivery.iq.index.api.client.Instruction |
getInstruction() |
int |
getStatusCode() |
boolean |
isErrorResponse() |
public IndexApiResponse(ApiResponse<T> response, com.sdl.delivery.iq.index.api.client.Instruction instruction)
public int getStatusCode()
getStatusCode in interface com.sdl.delivery.iq.index.api.client.IndexServiceResponseData<T>public com.sdl.delivery.iq.index.api.client.Instruction getInstruction()
getInstruction in interface com.sdl.delivery.iq.index.api.client.IndexServiceResponseData<T>public boolean isErrorResponse()
isErrorResponse in interface com.sdl.delivery.iq.index.api.client.IndexServiceResponseData<T>public Optional<ServiceResponseData<T>> getApiResponse()
getApiResponse in interface com.sdl.delivery.iq.index.api.client.IndexServiceResponseData<T>Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries