mirror of
https://github.com/logos-storage/logos-storage-py-api-client.git
synced 2026-01-02 21:43:12 +00:00
1.2 KiB
1.2 KiB
Reservation
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | 32bits identifier encoded in hex-decimal string. | [optional] |
| availability_id | str | 32bits identifier encoded in hex-decimal string. | [optional] |
| size | int | Size of the slot in bytes | [optional] |
| request_id | str | 32bits identifier encoded in hex-decimal string. | [optional] |
| slot_index | int | Slot Index number | [optional] |
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)