Package ai.promoted.delivery.client
Class DeliveryResponse
java.lang.Object
ai.promoted.delivery.client.DeliveryResponse
Delivery response is the output from delivery.
-
Constructor Summary
ConstructorsConstructorDescriptionDeliveryResponse(Response response, String clientRequestId, ExecutionServer executionServer) Instantiates a new delivery response. -
Method Summary
Modifier and TypeMethodDescriptionGets the client request id.Gets the execution server (SDK or API).Gets the response.
-
Constructor Details
-
DeliveryResponse
Instantiates a new delivery response.- Parameters:
response- the response from DeliveryclientRequestId- the client request idexecutionServer- the execution server (SDK or API)
-
-
Method Details
-
getExecutionServer
Gets the execution server (SDK or API).- Returns:
- the execution server
-
getClientRequestId
Gets the client request id.- Returns:
- the client request id
-
getResponse
Gets the response.- Returns:
- the response
-