add: demo server and client
This commit is contained in:
33
demo_server/demo_client/docs/Server.md
Normal file
33
demo_server/demo_client/docs/Server.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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]**](Service.md) | | [optional]
|
||||
|
||||
## Example
|
||||
|
||||
```python
|
||||
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)
|
||||
```
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user