Skip to main content

TriggerEvent


TriggerEvent

Properties

description

public string $description

logLevel

public \Onslip360\API\TriggerAction\LogLevel $logLevel

retryCount

public int $retryCount

triggerAction

public \Onslip360\API\TriggerAction $triggerAction

triggerStatus

public \Onslip360\API\TriggerEvent\Status $triggerStatus

created

public string|null $created

deleted

public string|null $deleted

id

public int|null $id

labels

public array|null $labels

result

public \Onslip360\API\FileArchive|null $result

serverError

public \Onslip360\API\ServerError|null $serverError

statusMessage

public string|null $statusMessage

tags

public array|null $tags

trigger

public int|null $trigger

updated

public string|null $updated

updatedBy

public int|null $updatedBy

updatedFrom

public int|null $updatedFrom

user

public int|null $user

Methods

__construct

public __construct(string $description, \Onslip360\API\TriggerAction\LogLevel $logLevel, int $retryCount, \Onslip360\API\TriggerAction $triggerAction, \Onslip360\API\TriggerEvent\Status $triggerStatus, string|null $created = null, string|null $deleted = null, int|null $id = null, int[]|null $labels = null, \Onslip360\API\FileArchive|null $result = null, \Onslip360\API\ServerError|null $serverError = null, string|null $statusMessage = null, string[]|null $tags = null, int|null $trigger = null, string|null $updated = null, int|null $updatedBy = null, int|null $updatedFrom = null, int|null $user = null): mixed

Parameters:

ParameterTypeDescription
$descriptionstring
$logLevel\Onslip360\API\TriggerAction\LogLevel
$retryCountint
$triggerAction\Onslip360\API\TriggerAction
$triggerStatus\Onslip360\API\TriggerEvent\Status
$createdstring|null
$deletedstring|null
$idint|null
$labelsint[]|null
$result\Onslip360\API\FileArchive|null
$serverError\Onslip360\API\ServerError|null
$statusMessagestring|null
$tagsstring[]|null
$triggerint|null
$updatedstring|null
$updatedByint|null
$updatedFromint|null
$userint|null

Inherited methods

getExtended

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize

public jsonSerialize(): array|object


Automatically generated on 2024-11-05