NodeInfo contains standardized way of exposing metadata about a server running one of the distributed social networks
Name | Type | Description | Notes |
---|---|---|---|
metadata | object | [optional] | |
open_registrations | bool | [optional] | |
protocols | List[str] | [optional] | |
services | NodeInfoServices | [optional] | |
software | NodeInfoSoftware | [optional] | |
usage | NodeInfoUsage | [optional] | |
version | str | [optional] |
from clientapi_forgejo.models.node_info import NodeInfo
# TODO update the JSON string below
json = "{}"
# create an instance of NodeInfo from a JSON string
node_info_instance = NodeInfo.from_json(json)
# print the JSON string representation of the object
print(NodeInfo.to_json())
# convert the object into a dict
node_info_dict = node_info_instance.to_dict()
# create an instance of NodeInfo from a dict
node_info_from_dict = NodeInfo.from_dict(node_info_dict)