1.2 KiB
1.2 KiB
ApiV1ServerBlocklistServersPostRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| host | str | server domain to block |
Example
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)