mirror of
https://github.com/logos-storage/logos-storage-py-api-client.git
synced 2026-01-04 14:33:08 +00:00
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
# 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
|
|
|
|
```python
|
|
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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|