Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.28 KB

ManifestItem.md

File metadata and controls

34 lines (25 loc) · 1.28 KB

ManifestItem

Properties

Name Type Description Notes
tree_cid str Content Identifier as specified at https://github.com/multiformats/cid
dataset_size int Length of original content in bytes
block_size int Size of blocks
protected bool Indicates if content is protected by erasure-coding
filename str The original name of the uploaded content (optional) [optional]
mimetype str The original mimetype of the uploaded content (optional) [optional]

Example

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