BitmovinApiSdk\Models\Subtask
Synopsis
class Subtask
extends BitmovinResponse
{
- // members
- public Status $status;
- public int $progress;
- public string $name;
- public array $messages;
- public Carbon $createdAt;
- public Carbon $updatedAt;
- public Carbon $startedAt;
- public Carbon $queuedAt;
- public Carbon $runningAt;
- public Carbon $finishedAt;
- public Carbon $errorAt;
- // Inherited members from BitmovinResponse
- public string $id;
- // methods
- public void __construct()
- public $this status()
- public $this progress()
- public $this name()
- public $this messages()
- public $this createdAt()
- public $this updatedAt()
- public $this startedAt()
- public $this queuedAt()
- public $this runningAt()
- public $this finishedAt()
- public $this errorAt()
- // Inherited methods from BitmovinResponse
- public void __construct()
- // Inherited methods from ApiResource
- public void __construct()
- public static $this create()
- public void toArray()
Hierarchy
Members
public
- $createdAt — Carbon\Carbon
- $errorAt — Carbon\Carbon
- $finishedAt — Carbon\Carbon
- $id — string
- $messages — \BitmovinApiSdk\Models\Message[]
- $name — string
- $progress — int
- $queuedAt — Carbon\Carbon
- $runningAt — Carbon\Carbon
- $startedAt — Carbon\Carbon
- $status — BitmovinApiSdk\Models\Status
- $updatedAt — Carbon\Carbon
Methods
public
- __construct()
- createdAt() — Timestamp when the subtask was created, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
- errorAt() — Timestamp when the subtask status changed to 'ERROR', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ Note that this timestamp is deprecated and is equivalent to finishedAt in case of an 'ERROR'.
- finishedAt() — Timestamp when the subtask status changed to a final state like 'FINISHED', 'ERROR', 'CANCELED', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ Note that this timestamp might be inaccurate for subtasks which ran prior to the [1.50.0 REST API release](https://bitmovin.com/docs/encoding/changelogs/rest).
- messages() — Task specific messages
- name() — Name of the subtask (required)
- progress() — Progress in percent
- queuedAt() — Timestamp when the subtask status changed to 'QUEUED', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
- runningAt() — Timestamp when the subtask status changed to 'RUNNING', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
- startedAt() — Timestamp when the subtask was started, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
- status() — Current status (required)
- updatedAt() — Timestamp when the subtask was last updated, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ