mirror of
https://github.com/logos-storage/logos-storage-py-api-client.git
synced 2026-01-02 13:33:11 +00:00
934 B
934 B
PeerIdRead
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | Peer Identity reference as specified at https://docs.libp2p.io/concepts/fundamentals/peers/ | [optional] |
Example
from codex_api_client.models.peer_id_read import PeerIdRead
# TODO update the JSON string below
json = "{}"
# create an instance of PeerIdRead from a JSON string
peer_id_read_instance = PeerIdRead.from_json(json)
# print the JSON string representation of the object
print(PeerIdRead.to_json())
# convert the object into a dict
peer_id_read_dict = peer_id_read_instance.to_dict()
# create an instance of PeerIdRead from a dict
peer_id_read_from_dict = PeerIdRead.from_dict(peer_id_read_dict)