1.3 KiB
1.3 KiB
Server
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | [optional] | |
| rooms | List[str] | Tracks which rooms the server should be listed in; this will not be set when a room is listed to preserve privacy of servers. | [optional] |
| auth_token | str | Used to authenticate requests which access knocks for this server or attempt to update, delete or create services. In future calls, add a header with the format: Authorization: Bearer <auth_token> | [optional] |
| display_name | str | [optional] | |
| services | List[Service] | [optional] |
Example
from openapi_client.models.server import Server
# TODO update the JSON string below
json = "{}"
# create an instance of Server from a JSON string
server_instance = Server.from_json(json)
# print the JSON string representation of the object
print(Server.to_json())
# convert the object into a dict
server_dict = server_instance.to_dict()
# create an instance of Server from a dict
server_form_dict = server.from_dict(server_dict)