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
Content
Parameters specifying the content
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| cid | str | Content Identifier as specified at https://github.com/multiformats/cid | [optional] |
| erasure | ErasureParameters | [optional] | |
| por | PoRParameters | [optional] |
Example
from codex_client.models.content import Content
# TODO update the JSON string below
json = "{}"
# create an instance of Content from a JSON string
content_instance = Content.from_json(json)
# print the JSON string representation of the object
print(Content.to_json())
# convert the object into a dict
content_dict = content_instance.to_dict()
# create an instance of Content from a dict
content_from_dict = Content.from_dict(content_dict)