github-actions[bot] ef4f7a9b3d
Generated API update (#4)
Co-authored-by: codex-storage-bot <154258435+codex-storage-bot@users.noreply.github.com>
2025-04-23 10:59:04 +02:00

1.2 KiB

Reservation

Properties

Name Type Description Notes
id str 32bits identifier encoded in hex-decimal string.
availability_id str 32bits identifier encoded in hex-decimal string.
size int Size of the slot in bytes
request_id str 32bits identifier encoded in hex-decimal string.
slot_index int Slot Index number
valid_until int Timestamp after which the reservation will no longer be valid.

Example

from codex_api_client.models.reservation import Reservation

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

# convert the object into a dict
reservation_dict = reservation_instance.to_dict()
# create an instance of Reservation from a dict
reservation_from_dict = Reservation.from_dict(reservation_dict)

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