ScheduledTasksApi

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun getTask(taskId: String): Response<<Error class: unknown class>>

Get task by id.

Link copied to clipboard
suspend fun getTasks(isHidden: Boolean? = null, isEnabled: Boolean? = null): Response<List<<Error class: unknown class>>>

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: unknown class>>): Response<Unit>

Update specified task triggers.