Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.46 KB

TaskEntity.md

File metadata and controls

36 lines (27 loc) · 1.46 KB

TaskEntity

Properties

Name Type Description Notes
id str Unique task identifier
name str
status TaskStatus
user str Creation user mail address or 'system' for system generated tasks
create_time int Timestamp expressed as milliseconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds.
template str Unique template identifier [optional]
network object The graph, either from the template or from the task definition. Depending on the `format` query parameter either BN or simplified format
resource_ids List[str] List of resources that are used in the task [optional]

Example

from waylay.services.rules.models.task_entity import TaskEntity

# TODO update the JSON string below
json = "{}"
# create an instance of TaskEntity from a JSON string
task_entity_instance = TaskEntity.from_json(json)
# print the JSON string representation of the object
print TaskEntity.to_json()

# convert the object into a dict
task_entity_dict = task_entity_instance.to_dict()
# create an instance of TaskEntity from a dict
task_entity_form_dict = task_entity.from_dict(task_entity_dict)

[Back to Model list] [Back to API list] [Back to README]