Tasks
extends Endpoint
in package
Tags
Table of Contents
Constants
- PATH : mixed = '/tasks'
Properties
Methods
- __construct() : mixed
- all() : TasksResponse
- cancelTasks() : Task
- deleteTasks() : Task
- get() : Task
- show() : array<string|int, mixed>|null
Constants
PATH
protected
mixed
PATH
= '/tasks'
Properties
$apiKey
protected
string|null
$apiKey
$http
protected
Http
$http
Methods
__construct()
public
__construct(Http $http[, string|null $apiKey = null ]) : mixed
Parameters
- $http : Http
- $apiKey : string|null = null
all()
public
all([array<string|int, mixed> $query = [] ]) : TasksResponse
Parameters
- $query : array<string|int, mixed> = []
Return values
TasksResponsecancelTasks()
public
cancelTasks(CancelTasksQuery|null $options) : Task
Parameters
- $options : CancelTasksQuery|null
Return values
TaskdeleteTasks()
public
deleteTasks(DeleteTasksQuery|null $options) : Task
Parameters
- $options : DeleteTasksQuery|null
Return values
Taskget()
public
get(int $taskUid) : Task
Parameters
- $taskUid : int
Return values
Taskshow()
public
show() : array<string|int, mixed>|null