32 lines
1.3 KiB
Markdown
32 lines
1.3 KiB
Markdown
# VideoResolutionConstant
|
|
|
|
resolutions and their labels for the video
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**id** | **int** | Video resolution (`0`, `240`, `360`, `720`, `1080`, `1440` or `2160`) `0` is used as a special value for stillimage videos dedicated to audio, a.k.a. audio-only videos. | [optional]
|
|
**label** | **str** | | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
from peertube.models.video_resolution_constant import VideoResolutionConstant
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of VideoResolutionConstant from a JSON string
|
|
video_resolution_constant_instance = VideoResolutionConstant.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print VideoResolutionConstant.to_json()
|
|
|
|
# convert the object into a dict
|
|
video_resolution_constant_dict = video_resolution_constant_instance.to_dict()
|
|
# create an instance of VideoResolutionConstant from a dict
|
|
video_resolution_constant_form_dict = video_resolution_constant.from_dict(video_resolution_constant_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)
|
|
|
|
|