ScheduledTasksApi

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun getTask(taskId: String): Response<ERROR CLASS: Symbol not found for TaskInfo>

Get task by id.

Link copied to clipboard
suspend fun getTasks(isHidden: Boolean? = null, isEnabled: Boolean? = null): Response<List<ERROR CLASS: Symbol not found for TaskInfo>>

Get tasks.

Link copied to clipboard
suspend fun startTask(taskId: String): Response<Unit>

Start specified task.

Link copied to clipboard
suspend fun stopTask(taskId: String): Response<Unit>

Stop specified task.

Link copied to clipboard
suspend fun updateTask(taskId: String, data: List<ERROR CLASS: Symbol not found for TaskTriggerInfo>): Response<Unit>

Update specified task triggers.