diff --git a/apivideo/model/video_creation_payload.py b/apivideo/model/video_creation_payload.py index 8fc03f8..314dfad 100644 --- a/apivideo/model/video_creation_payload.py +++ b/apivideo/model/video_creation_payload.py @@ -121,6 +121,7 @@ def openapi_types(): lazy_import() return { 'title': (str,), # noqa: E501 + 'subtitle': (str,), # noqa: E501 'description': (str,), # noqa: E501 'source': (str,), # noqa: E501 'public': (bool,), # noqa: E501 @@ -144,6 +145,7 @@ def discriminator(): attribute_map = { 'title': 'title', # noqa: E501 + 'subtitle': 'subtitle', # noqa: E501 'description': 'description', # noqa: E501 'source': 'source', # noqa: E501 'public': 'public', # noqa: E501 @@ -209,6 +211,7 @@ def __init__(self, title, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + subtitle (str): A subtitle for your video.. [optional] # noqa: E501 description (str): A brief description of your video.. [optional] # noqa: E501 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 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 diff --git a/docs/VideoCreationPayload.md b/docs/VideoCreationPayload.md index 90ccbe1..da1dbd0 100644 --- a/docs/VideoCreationPayload.md +++ b/docs/VideoCreationPayload.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **title** | **str** | The title of your new video. | +**subtitle** | **str** | A subtitle for your video. | [optional] **description** | **str** | A brief description of your video. | [optional] **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] **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 diff --git a/docs/VideosApi.md b/docs/VideosApi.md index d762efd..9d3e898 100644 --- a/docs/VideosApi.md +++ b/docs/VideosApi.md @@ -43,6 +43,7 @@ with apivideo.AuthenticatedApiClient(__API_KEY__) as api_client: api_instance = videos_api.VideosApi(api_client) video_creation_payload = VideoCreationPayload( title="Maths video", + subtitle="A great subtitle.", description="A video about string theory.", source="https://www.myvideo.url.com/video.mp4 OR vi4k0jvEUuaTdRAEjQ4JfOyl", public=True, diff --git a/test/test_videos_api.py b/test/test_videos_api.py index 62f6660..f4aeb2e 100644 --- a/test/test_videos_api.py +++ b/test/test_videos_api.py @@ -54,6 +54,7 @@ def test_create(self): kwargs = { 'video_creation_payload': VideoCreationPayload( title="Maths video", + subtitle="A great subtitle.", description="A video about string theory.", source="https://www.myvideo.url.com/video.mp4 OR vi4k0jvEUuaTdRAEjQ4JfOyl", public=True,