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
$apiRequest
public
ApiRequest
$apiRequest
Request part of the response.
$execution
public
Execution
$execution
Result of the base inference.
$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
getRawHttp()
public
getRawHttp() : string
Return values
string —String representation.