trigger defines how pipelines are automatically executed.
Attributes
Name | Type | Description |
---|---|---|
trigger_id | uuid.UUID | technical id of the trigger. |
interval | int | interval in ms between two execution. |
delay | int | set a delay from 00:00:00.000ms interval alignment as ms. |
pipeline_id | uuid.UUID | set a pipeline id to trigger. |
template_id | uuid.UUID | set a template id to trigger. |
properties | dict | set a dict of properties to pass when triggering the pipeline. |
twin_ids | list | set a list of twin ids on which executed the pipelines (must be registered on the pipeline). |
createdById | uuid.UUID | unique identifier of creating user. |
createdDate | int | timestamp of created date. |
updatedById | uuid.UUID | unique identifier of updating user. |
updatedDate | int | timestamp of updated date. |
Methods
api_id()
return current object id on Web API format.
endpoint()
return endpoint name used to contact backend.
from_json()
load the object from a dict originating of a JSON format.
Name | Type | Default | Description |
---|---|---|---|
obj | object to load information from. |
set_id()
specify the id_value neutrally
Name | Type | Default | Description |
---|---|---|---|
id_value |
return:
to_json()
transform current object into a dict that could be JSONIFY.
Name | Type | Default | Description |
---|---|---|---|
target | str | None |
return: dumpable dict.