mirror of
https://github.com/logos-storage/logos-storage-py-api-client.git
synced 2026-01-02 13:33:11 +00:00
34 lines
911 B
Markdown
34 lines
911 B
Markdown
# Node
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**node_id** | **str** | | [optional]
|
|
**peer_id** | **str** | | [optional]
|
|
**record** | **str** | | [optional]
|
|
**address** | **str** | | [optional]
|
|
**seen** | **bool** | | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
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)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|