Skip to content

Commit c23fe8b

Browse files
Test CI
1 parent e7c3822 commit c23fe8b

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

apivideo/model/video_creation_payload.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def openapi_types():
121121
lazy_import()
122122
return {
123123
'title': (str,), # noqa: E501
124+
'subtitle': (str,), # noqa: E501
124125
'description': (str,), # noqa: E501
125126
'source': (str,), # noqa: E501
126127
'public': (bool,), # noqa: E501
@@ -144,6 +145,7 @@ def discriminator():
144145

145146
attribute_map = {
146147
'title': 'title', # noqa: E501
148+
'subtitle': 'subtitle', # noqa: E501
147149
'description': 'description', # noqa: E501
148150
'source': 'source', # noqa: E501
149151
'public': 'public', # noqa: E501
@@ -209,6 +211,7 @@ def __init__(self, title, *args, **kwargs): # noqa: E501
209211
Animal class but this time we won't travel
210212
through its discriminator because we passed in
211213
_visited_composed_classes = (Animal,)
214+
subtitle (str): A subtitle of your video.. [optional] # noqa: E501
212215
description (str): A brief description of your video.. [optional] # noqa: E501
213216
source (str): You can either add a video already on the web, by entering the URL of the video, or you can also enter the `videoId` of one of the videos you already have on your api.video acccount, and this will generate a copy of your video. Creating a copy of a video can be especially useful if you want to keep your original video and trim or apply a watermark onto the copy you would create.. [optional] # noqa: E501
214217
public (bool): Default: True. If set to `false` the video will become private. More information on private videos can be found [here](https://docs.api.video/delivery/video-privacy-access-management). [optional] if omitted the server will use the default value of True # noqa: E501

docs/VideoCreationPayload.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**title** | **str** | The title of your new video. |
7+
**subtitle** | **str** | A subtitle of your video. | [optional]
78
**description** | **str** | A brief description of your video. | [optional]
89
**source** | **str** | You can either add a video already on the web, by entering the URL of the video, or you can also enter the `videoId` of one of the videos you already have on your api.video acccount, and this will generate a copy of your video. Creating a copy of a video can be especially useful if you want to keep your original video and trim or apply a watermark onto the copy you would create. | [optional]
910
**public** | **bool** | Default: True. If set to `false` the video will become private. More information on private videos can be found [here](https://docs.api.video/delivery/video-privacy-access-management) | [optional] if omitted the server will use the default value of True

docs/VideosApi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ with apivideo.AuthenticatedApiClient(__API_KEY__) as api_client:
4343
api_instance = videos_api.VideosApi(api_client)
4444
video_creation_payload = VideoCreationPayload(
4545
title="Maths video",
46+
subtitle="This is a great subtitle.",
4647
description="A video about string theory.",
4748
source="https://www.myvideo.url.com/video.mp4 OR vi4k0jvEUuaTdRAEjQ4JfOyl",
4849
public=True,

test/test_videos_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def test_create(self):
5454
kwargs = {
5555
'video_creation_payload': VideoCreationPayload(
5656
title="Maths video",
57+
subtitle="This is a great subtitle.",
5758
description="A video about string theory.",
5859
source="https://www.myvideo.url.com/video.mp4 OR vi4k0jvEUuaTdRAEjQ4JfOyl",
5960
public=True,

0 commit comments

Comments
 (0)