Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.98 KB

BatchTaskQuery.md

File metadata and controls

40 lines (31 loc) · 1.98 KB

BatchTaskQuery

Properties

Name Type Description Notes
ids List[str]
name str [optional]
resource str Unique resource identifier [optional]
type TaskScenarioType [optional]
status TaskStatus [optional]
template str Unique template identifier [optional]
plugin str either name of a plugin (e.g. `mySensor`), or full version specification of the plug (e.g `mySensor:1.0.3`) [optional]
user str Creation user mail address or 'system' for system generated tasks [optional]
finished_before int Timestamp expressed as milliseconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds. [optional]
created_after int Timestamp expressed as milliseconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds. [optional]
created_before int Timestamp expressed as milliseconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds. [optional]
tags object Key-value pairs on which you can set at task creation and later filter tasks [optional]

Example

from waylay.services.rules.models.batch_task_query import BatchTaskQuery

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

# convert the object into a dict
batch_task_query_dict = batch_task_query_instance.to_dict()
# create an instance of BatchTaskQuery from a dict
batch_task_query_form_dict = batch_task_query.from_dict(batch_task_query_dict)

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