Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subtitle in video creation payload #109

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16598,6 +16598,10 @@ components:
description: The title of your new video.
example: Maths video
type: string
subtitle:
description: A subtitle for your video.
example: A great subtitle.
type: string
description:
description: A brief description of your video.
example: A video about string theory.
Expand Down
26 changes: 26 additions & 0 deletions docs/VideoCreationPayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Title** | **string** | The title of your new video. |
**Subtitle** | Pointer to **string** | A subtitle for your video. | [optional]
**Description** | Pointer to **string** | A brief description of your video. | [optional]
**Source** | Pointer to **string** | 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** | Pointer to **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] [default to true]
Expand Down Expand Up @@ -59,6 +60,31 @@ and a boolean to check if the value has been set.
SetTitle sets Title field to given value.


### GetSubtitle

`func (o *VideoCreationPayload) GetSubtitle() string`

GetSubtitle returns the Subtitle field if non-nil, zero value otherwise.

### GetSubtitleOk

`func (o *VideoCreationPayload) GetSubtitleOk() (*string, bool)`

GetSubtitleOk returns a tuple with the Subtitle field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetSubtitle

`func (o *VideoCreationPayload) SetSubtitle(v string)`

SetSubtitle sets Subtitle field to given value.

### HasSubtitle

`func (o *VideoCreationPayload) HasSubtitle() bool`

HasSubtitle returns a boolean if a field has been set.

### GetDescription

`func (o *VideoCreationPayload) GetDescription() string`
Expand Down
34 changes: 34 additions & 0 deletions model_video_creation_payload.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading