Response for POST /api/v1/jobs/{id}/heartbeat.
| Name | Type | Description | Notes |
|---|---|---|---|
| status | JobStatus | The job's current status. `running` means the lease was extended; anything else (`cancelled`, `completed`, ...) means it was not, and the worker should stop working on the job. |
from queueflow.models.heartbeat_response import HeartbeatResponse
# TODO update the JSON string below
json = "{}"
# create an instance of HeartbeatResponse from a JSON string
heartbeat_response_instance = HeartbeatResponse.from_json(json)
# print the JSON string representation of the object
print(HeartbeatResponse.to_json())
# convert the object into a dict
heartbeat_response_dict = heartbeat_response_instance.to_dict()
# create an instance of HeartbeatResponse from a dict
heartbeat_response_from_dict = HeartbeatResponse.from_dict(heartbeat_response_dict)