Class DeliveryResponse

java.lang.Object
ai.promoted.delivery.client.DeliveryResponse

public class DeliveryResponse extends Object
Delivery response is the output from delivery.
  • Constructor Details

    • DeliveryResponse

      public DeliveryResponse(Response response, String clientRequestId, ExecutionServer executionServer)
      Instantiates a new delivery response.
      Parameters:
      response - the response from Delivery
      clientRequestId - the client request id
      executionServer - the execution server (SDK or API)
  • Method Details

    • getExecutionServer

      public ExecutionServer getExecutionServer()
      Gets the execution server (SDK or API).
      Returns:
      the execution server
    • getClientRequestId

      public String getClientRequestId()
      Gets the client request id.
      Returns:
      the client request id
    • getResponse

      public Response getResponse()
      Gets the response.
      Returns:
      the response