Name | Type | Description | Notes |
---|---|---|---|
type | BatchJobStatusType | ||
operation | str | The operation name for the background task. | |
id | str | The id of the background job, or the constant `unknown` | |
state | JobStateResult | ||
created_at | datetime | The creation time of this job | |
processed_at | datetime | The timestamp of when the job has begun processing. | [optional] |
finished_at | datetime | The timestamp of when the job has finished processing. | [optional] |
attempts_made | float | The number of retries that were attempted. | [optional] |
created_by | str | The user that initiated this job | |
function | FunctionRef | [optional] | |
links | JobHALLinks |
from waylay.services.registry.models.batch import Batch
# TODO update the JSON string below
json = "{}"
# create an instance of Batch from a JSON string
batch_instance = Batch.from_json(json)
# print the JSON string representation of the object
print Batch.to_json()
# convert the object into a dict
batch_dict = batch_instance.to_dict()
# create an instance of Batch from a dict
batch_form_dict = batch.from_dict(batch_dict)