1.4 KiB
1.4 KiB
ApiV1AbusesPostRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| reason | str | Reason why the user reports this video | |
| predefined_reasons | List[str] | Reason categories that help triage reports | [optional] |
| video | ApiV1AbusesPostRequestVideo | [optional] | |
| comment | ApiV1AbusesPostRequestComment | [optional] | |
| account | ApiV1AbusesPostRequestAccount | [optional] |
Example
from peertube.models.api_v1_abuses_post_request import ApiV1AbusesPostRequest
# TODO update the JSON string below
json = "{}"
# create an instance of ApiV1AbusesPostRequest from a JSON string
api_v1_abuses_post_request_instance = ApiV1AbusesPostRequest.from_json(json)
# print the JSON string representation of the object
print ApiV1AbusesPostRequest.to_json()
# convert the object into a dict
api_v1_abuses_post_request_dict = api_v1_abuses_post_request_instance.to_dict()
# create an instance of ApiV1AbusesPostRequest from a dict
api_v1_abuses_post_request_form_dict = api_v1_abuses_post_request.from_dict(api_v1_abuses_post_request_dict)