Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.07 KB

HeartbeatRequest.md

File metadata and controls

31 lines (22 loc) · 1.07 KB

HeartbeatRequest

Body for POST /api/v1/jobs/{id}/heartbeat.

Properties

Name Type Description Notes
extend_secs int New lease duration in seconds, measured from now (1..=3600).
lease_token str The lease token returned by the lease call.

Example

from queueflow.models.heartbeat_request import HeartbeatRequest

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

# convert the object into a dict
heartbeat_request_dict = heartbeat_request_instance.to_dict()
# create an instance of HeartbeatRequest from a dict
heartbeat_request_from_dict = HeartbeatRequest.from_dict(heartbeat_request_dict)

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