30 lines
1.2 KiB
Markdown
30 lines
1.2 KiB
Markdown
# ApiV1ServerBlocklistServersPostRequest
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**host** | **str** | server domain to block |
|
|
|
|
## Example
|
|
|
|
```python
|
|
from peertube.models.api_v1_server_blocklist_servers_post_request import ApiV1ServerBlocklistServersPostRequest
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of ApiV1ServerBlocklistServersPostRequest from a JSON string
|
|
api_v1_server_blocklist_servers_post_request_instance = ApiV1ServerBlocklistServersPostRequest.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print ApiV1ServerBlocklistServersPostRequest.to_json()
|
|
|
|
# convert the object into a dict
|
|
api_v1_server_blocklist_servers_post_request_dict = api_v1_server_blocklist_servers_post_request_instance.to_dict()
|
|
# create an instance of ApiV1ServerBlocklistServersPostRequest from a dict
|
|
api_v1_server_blocklist_servers_post_request_form_dict = api_v1_server_blocklist_servers_post_request.from_dict(api_v1_server_blocklist_servers_post_request_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)
|
|
|
|
|