Skip to content

Commit

Permalink
Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-lando authored Jan 27, 2025
1 parent 24aa385 commit 4d67387
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/Model/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** | **string** | A subtitle of your video. | [optional]
**description** | **string** | A brief description of your video. | [optional]
**source** | **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** | **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
31 changes: 31 additions & 0 deletions src/Model/VideoCreationPayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public static function getDefinition(): ModelDefinition
'video-creation-payload',
[
'title' => 'string',
'subtitle' => 'string',
'description' => 'string',
'source' => 'string',
'public' => 'bool',
Expand All @@ -49,6 +50,7 @@ public static function getDefinition(): ModelDefinition
],
[
'title' => null,
'subtitle' => null,
'description' => null,
'source' => null,
'public' => null,
Expand All @@ -66,6 +68,7 @@ public static function getDefinition(): ModelDefinition
],
[
'title' => 'title',
'subtitle' => 'subtitle',
'description' => 'description',
'source' => 'source',
'public' => 'public',
Expand All @@ -83,6 +86,7 @@ public static function getDefinition(): ModelDefinition
],
[
'title' => 'setTitle',
'subtitle' => 'setSubtitle',
'description' => 'setDescription',
'source' => 'setSource',
'public' => 'setPublic',
Expand All @@ -100,6 +104,7 @@ public static function getDefinition(): ModelDefinition
],
[
'title' => 'getTitle',
'subtitle' => 'getSubtitle',
'description' => 'getDescription',
'source' => 'getSource',
'public' => 'getPublic',
Expand All @@ -117,6 +122,7 @@ public static function getDefinition(): ModelDefinition
],
[
'title' => null,
'subtitle' => null,
'description' => null,
'source' => null,
'public' => null,
Expand Down Expand Up @@ -245,6 +251,7 @@ public function getTranscriptSummaryAttributesAllowableValues()
public function __construct(array $data = null)
{
$this->container['title'] = $data['title'] ?? null;
$this->container['subtitle'] = $data['subtitle'] ?? null;
$this->container['description'] = $data['description'] ?? null;
$this->container['source'] = $data['source'] ?? null;
$this->container['public'] = $data['public'] ?? true;
Expand Down Expand Up @@ -321,6 +328,30 @@ public function setTitle($title)
return $this;
}

/**
* Gets subtitle
*
* @return string|null
*/
public function getSubtitle()
{
return $this->container['subtitle'];
}

/**
* Sets subtitle
*
* @param string|null $subtitle A subtitle of your video.
*
* @return self
*/
public function setSubtitle($subtitle)
{
$this->container['subtitle'] = $subtitle;

return $this;
}

/**
* Gets description
*
Expand Down

0 comments on commit 4d67387

Please sign in to comment.