1.2 KiB
1.2 KiB
ApiV1ServerRedundancyHostPutRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| redundancy_allowed | bool | allow mirroring of the host's local videos |
Example
from peertube.models.api_v1_server_redundancy_host_put_request import ApiV1ServerRedundancyHostPutRequest
# TODO update the JSON string below
json = "{}"
# create an instance of ApiV1ServerRedundancyHostPutRequest from a JSON string
api_v1_server_redundancy_host_put_request_instance = ApiV1ServerRedundancyHostPutRequest.from_json(json)
# print the JSON string representation of the object
print ApiV1ServerRedundancyHostPutRequest.to_json()
# convert the object into a dict
api_v1_server_redundancy_host_put_request_dict = api_v1_server_redundancy_host_put_request_instance.to_dict()
# create an instance of ApiV1ServerRedundancyHostPutRequest from a dict
api_v1_server_redundancy_host_put_request_form_dict = api_v1_server_redundancy_host_put_request.from_dict(api_v1_server_redundancy_host_put_request_dict)