Documentation

WorkflowResponse extends ApiResponse
in package

Represents the server response after a document is sent to a workflow.

Table of Contents

Properties

$apiRequest  : ApiRequest
$execution  : Execution
$rawHttp  : array<string|int, mixed>

Methods

__construct()  : mixed
getRawHttp()  : string

Properties

$rawHttp

private array<string|int, mixed> $rawHttp

Raw http result. Used for debugging purposes.

Methods

__construct()

public __construct(string|null $predictionType, array<string|int, mixed> $rawResponse) : mixed
Parameters
$predictionType : string|null

Type of prediction.

$rawResponse : array<string|int, mixed>

Raw HTTP response.

Tags
throws
Exception

Throws if the prediction type isn't recognized or if a field can't be deserialized.

getRawHttp()

public getRawHttp() : string
Return values
string

String representation.


        
On this page

Search results