Execution
in package
Representation of a workflow execution.
Table of Contents
Properties
- $availableAt : DateTimeImmutable|null
- The time at which the file was uploaded to a workflow.
- $batchName : string|null
- Identifier for the batch to which the execution belongs.
- $createdAt : DateTimeImmutable|null
- The time at which the execution started.
- $file : ExecutionFile|null
- File representation within a workflow execution.
- $id : string|null
- Identifier for the execution.
- $inference : Inference|null
- Deserialized inference object.
- $priority : string|null
- Priority of the execution.
- $reviewedAt : DateTimeImmutable|null
- The time at which the file was tagged as reviewed.
- $reviewedPrediction : GeneratedV1Document|null
- Reviewed fields and values.
- $status : string|null
- Execution Status.
- $type : string|null
- Execution type.
- $uploadedAt : DateTimeImmutable|null
- The time at which the file was uploaded to a workflow.
- $workflowId : string|null
- Identifier for the workflow.
Methods
- __construct() : mixed
- __toString() : string
Properties
$availableAt
The time at which the file was uploaded to a workflow.
public
DateTimeImmutable|null
$availableAt
$batchName
Identifier for the batch to which the execution belongs.
public
string|null
$batchName
$createdAt
The time at which the execution started.
public
DateTimeImmutable|null
$createdAt
$file
File representation within a workflow execution.
public
ExecutionFile|null
$file
$id
Identifier for the execution.
public
string|null
$id
$inference
Deserialized inference object.
public
Inference|null
$inference
$priority
Priority of the execution.
public
string|null
$priority
$reviewedAt
The time at which the file was tagged as reviewed.
public
DateTimeImmutable|null
$reviewedAt
$reviewedPrediction
Reviewed fields and values.
public
GeneratedV1Document|null
$reviewedPrediction
$status
Execution Status.
public
string|null
$status
$type
Execution type.
public
string|null
$type
$uploadedAt
The time at which the file was uploaded to a workflow.
public
DateTimeImmutable|null
$uploadedAt
$workflowId
Identifier for the workflow.
public
string|null
$workflowId
Methods
__construct()
public
__construct(string $predictionType, array<string|int, mixed> $rawResponse) : mixed
Parameters
- $predictionType : string
-
Type of prediction.
- $rawResponse : array<string|int, mixed>
-
Raw execution array.
Tags
__toString()
public
__toString() : string