Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.31 KB

Space.md

File metadata and controls

32 lines (23 loc) · 1.31 KB

Space

Properties

Name Type Description Notes
total_blocks int Number of blocks stored by the node
quota_max_bytes int Maximum storage space (in bytes) available for the node in Codex's local repository.
quota_used_bytes int Amount of storage space (in bytes) currently used for storing files in Codex's local repository.
quota_reserved_bytes int Amount of storage reserved (in bytes) in the Codex's local repository for future use when storage requests will be picked up and hosted by the node using node's availabilities. This does not include the storage currently in use.

Example

from codex_api_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)

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