mirror of
https://github.com/logos-storage/logos-storage-py-api-client.git
synced 2026-01-02 21:43:12 +00:00
856 B
856 B
Node
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| node_id | str | ||
| peer_id | str | ||
| record | str | ||
| address | str | ||
| seen | bool |
Example
from codex_api_client.models.node import Node
# TODO update the JSON string below
json = "{}"
# create an instance of Node from a JSON string
node_instance = Node.from_json(json)
# print the JSON string representation of the object
print(Node.to_json())
# convert the object into a dict
node_dict = node_instance.to_dict()
# create an instance of Node from a dict
node_from_dict = Node.from_dict(node_dict)