2024-08-23 16:22:29 +02:00

1.1 KiB

ManifestItem

Properties

Name Type Description Notes
root_hash str Content Identifier as specified at https://github.com/multiformats/cid [optional]
original_bytes int Length of original content in bytes [optional]
block_size int Size of blocks [optional]
protected bool Indicates if content is protected by erasure-coding [optional]

Example

from codex_client.models.manifest_item import ManifestItem

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

# convert the object into a dict
manifest_item_dict = manifest_item_instance.to_dict()
# create an instance of ManifestItem from a dict
manifest_item_from_dict = ManifestItem.from_dict(manifest_item_dict)

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