mirror of
https://github.com/logos-storage/logos-storage-py-api-client.git
synced 2026-01-02 13:33:11 +00:00
1.0 KiB
1.0 KiB
Space
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| total_blocks | int | Number of blocks stored by the node | [optional] |
| quota_max_bytes | int | Maximum storage space used by the node | [optional] |
| quota_used_bytes | int | Amount of storage space currently in use | [optional] |
| quota_reserved_bytes | int | Amount of storage space reserved | [optional] |
Example
from codex_client.models.space import Space
# TODO update the JSON string below
json = "{}"
# create an instance of Space from a JSON string
space_instance = Space.from_json(json)
# print the JSON string representation of the object
print(Space.to_json())
# convert the object into a dict
space_dict = space_instance.to_dict()
# create an instance of Space from a dict
space_from_dict = Space.from_dict(space_dict)