You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Model/Asset.php
+67-1Lines changed: 67 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
* Asset Class Doc Comment
36
36
*
37
37
* @category Class
38
-
* @description The type of asset to display for the duration of this Clip. Value must be one of: <ul> <li><a href=\"#tocs_videoasset\">VideoAsset</a></li> <li><a href=\"#tocs_imageasset\">ImageAsset</a></li> <li><a href=\"#tocs_titleasset\">TitleAsset</a></li> <li><a href=\"#tocs_htmlasset\">HtmlAsset</a></li> <li><a href=\"#tocs_audioasset\">AudioAsset</a></li> <li><a href=\"#tocs_lumaasset\">LumaAsset</a></li> </ul>
38
+
* @description The type of asset to display for the duration of the Clip. Value must be one of: <ul> <li><a href=\"#tocs_videoasset\">VideoAsset</a></li> <li><a href=\"#tocs_imageasset\">ImageAsset</a></li> <li><a href=\"#tocs_titleasset\">TitleAsset</a></li> <li><a href=\"#tocs_htmlasset\">HtmlAsset</a></li> <li><a href=\"#tocs_audioasset\">AudioAsset</a></li> <li><a href=\"#tocs_lumaasset\">LumaAsset</a></li> </ul>
39
39
* @package Shotstack\Client
40
40
* @author OpenAPI Generator team
41
41
* @link https://openapi-generator.tech
@@ -64,6 +64,7 @@ class Asset implements ModelInterface, ArrayAccess, \JsonSerializable
64
64
'src' => 'string',
65
65
'trim' => 'float',
66
66
'volume' => 'float',
67
+
'volume_effect' => 'string',
67
68
'crop' => '\Shotstack\Client\Model\Crop',
68
69
'text' => 'string',
69
70
'style' => 'string',
@@ -91,6 +92,7 @@ class Asset implements ModelInterface, ArrayAccess, \JsonSerializable
91
92
'src' => null,
92
93
'trim' => null,
93
94
'volume' => null,
95
+
'volume_effect' => null,
94
96
'crop' => null,
95
97
'text' => null,
96
98
'style' => null,
@@ -137,6 +139,7 @@ public static function openAPIFormats()
137
139
'src' => 'src',
138
140
'trim' => 'trim',
139
141
'volume' => 'volume',
142
+
'volume_effect' => 'volumeEffect',
140
143
'crop' => 'crop',
141
144
'text' => 'text',
142
145
'style' => 'style',
@@ -162,6 +165,7 @@ public static function openAPIFormats()
162
165
'src' => 'setSrc',
163
166
'trim' => 'setTrim',
164
167
'volume' => 'setVolume',
168
+
'volume_effect' => 'setVolumeEffect',
165
169
'crop' => 'setCrop',
166
170
'text' => 'setText',
167
171
'style' => 'setStyle',
@@ -187,6 +191,7 @@ public static function openAPIFormats()
187
191
'src' => 'getSrc',
188
192
'trim' => 'getTrim',
189
193
'volume' => 'getVolume',
194
+
'volume_effect' => 'getVolumeEffect',
190
195
'crop' => 'getCrop',
191
196
'text' => 'getText',
192
197
'style' => 'getStyle',
@@ -243,6 +248,9 @@ public function getModelName()
if (!is_null($this->container['volume_effect']) && !in_array($this->container['volume_effect'], $allowedValues, true)) {
426
+
$invalidProperties[] = sprintf(
427
+
"invalid value '%s' for 'volume_effect', must be one of '%s'",
428
+
$this->container['volume_effect'],
429
+
implode("', '", $allowedValues)
430
+
);
431
+
}
432
+
401
433
if ($this->container['text'] === null) {
402
434
$invalidProperties[] = "'text' can't be null";
403
435
}
@@ -551,6 +583,40 @@ public function setVolume($volume)
551
583
return$this;
552
584
}
553
585
586
+
/**
587
+
* Gets volume_effect
588
+
*
589
+
* @return string|null
590
+
*/
591
+
publicfunctiongetVolumeEffect()
592
+
{
593
+
return$this->container['volume_effect'];
594
+
}
595
+
596
+
/**
597
+
* Sets volume_effect
598
+
*
599
+
* @param string|null $volume_effect The volume effect to apply to the video asset <ul> <li>`fadeIn` - fade volume in only</li> <li>`fadeOut` - fade volume out only</li> <li>`fadeInFadeOut` - fade volume in and out</li> </ul>
Copy file name to clipboardExpand all lines: src/Model/Clip.php
+27-3Lines changed: 27 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -232,11 +232,23 @@ public function getModelName()
232
232
constPOSITION_TOP_LEFT = 'topLeft';
233
233
constPOSITION_CENTER = 'center';
234
234
constEFFECT_ZOOM_IN = 'zoomIn';
235
+
constEFFECT_ZOOM_IN_SLOW = 'zoomInSlow';
236
+
constEFFECT_ZOOM_IN_FAST = 'zoomInFast';
235
237
constEFFECT_ZOOM_OUT = 'zoomOut';
238
+
constEFFECT_ZOOM_OUT_SLOW = 'zoomOutSlow';
239
+
constEFFECT_ZOOM_OUT_FAST = 'zoomOutFast';
236
240
constEFFECT_SLIDE_LEFT = 'slideLeft';
241
+
constEFFECT_SLIDE_LEFT_S_LOW = 'slideLeftSLow';
242
+
constEFFECT_SLIDE_LEFT_FAST = 'slideLeftFast';
237
243
constEFFECT_SLIDE_RIGHT = 'slideRight';
244
+
constEFFECT_SLIDE_RIGHT_SLOW = 'slideRightSlow';
245
+
constEFFECT_SLIDE_RIGHT_FAST = 'slideRightFast';
238
246
constEFFECT_SLIDE_UP = 'slideUp';
247
+
constEFFECT_SLIDE_UP_SLOW = 'slideUpSlow';
248
+
constEFFECT_SLIDE_UP_FAST = 'slideUpFast';
239
249
constEFFECT_SLIDE_DOWN = 'slideDown';
250
+
constEFFECT_SLIDE_DOWN_SLOW = 'slideDownSlow';
251
+
constEFFECT_SLIDE_DOWN_FAST = 'slideDownFast';
240
252
constFILTER_BOOST = 'boost';
241
253
constFILTER_CONTRAST = 'contrast';
242
254
constFILTER_DARKEN = 'darken';
@@ -289,11 +301,23 @@ public function getEffectAllowableValues()
289
301
{
290
302
return [
291
303
self::EFFECT_ZOOM_IN,
304
+
self::EFFECT_ZOOM_IN_SLOW,
305
+
self::EFFECT_ZOOM_IN_FAST,
292
306
self::EFFECT_ZOOM_OUT,
307
+
self::EFFECT_ZOOM_OUT_SLOW,
308
+
self::EFFECT_ZOOM_OUT_FAST,
293
309
self::EFFECT_SLIDE_LEFT,
310
+
self::EFFECT_SLIDE_LEFT_S_LOW,
311
+
self::EFFECT_SLIDE_LEFT_FAST,
294
312
self::EFFECT_SLIDE_RIGHT,
313
+
self::EFFECT_SLIDE_RIGHT_SLOW,
314
+
self::EFFECT_SLIDE_RIGHT_FAST,
295
315
self::EFFECT_SLIDE_UP,
316
+
self::EFFECT_SLIDE_UP_SLOW,
317
+
self::EFFECT_SLIDE_UP_FAST,
296
318
self::EFFECT_SLIDE_DOWN,
319
+
self::EFFECT_SLIDE_DOWN_SLOW,
320
+
self::EFFECT_SLIDE_DOWN_FAST,
297
321
];
298
322
}
299
323
@@ -498,7 +522,7 @@ public function getFit()
498
522
/**
499
523
* Sets fit
500
524
*
501
-
* @param string|null $fit Set how the asset should be scaled to fit the viewport using one of the following options: <ul> <li>`cover` - stretch the asset to fill the viewport without maintaining the aspect ratio.</li> <li>`contain` - fit the entire asset within the viewport while maintaining the original aspect ratio.</li> <li>`crop` (default) - scale the asset to fill the viewport while maintaining the aspect ratio. The asset will be cropped if it exceeds the bounds of the viewport.</li> <li>`none` - preserves the original asset dimensions and does not apply any scaling.</li> </ul>
525
+
* @param string|null $fit Set how the asset should be scaled to fit the viewport using one of the following options: <ul> <li>`crop` <b>(default)</b> - scale the asset to fill the viewport while maintaining the aspect ratio. The asset will be cropped if it exceeds the bounds of the viewport.</li> <li>`cover` - stretch the asset to fill the viewport without maintaining the aspect ratio.</li> <li>`contain` - fit the entire asset within the viewport while maintaining the original aspect ratio.</li> <li>`none` - preserves the original asset dimensions and does not apply any scaling.</li> </ul>
* @param string|null $effect A motion effect to apply to the Clip. <ul> <li>`zoomIn` - slow zoom in</li> <li>`zoomOut` - slow zoom out</li> <li>`slideLeft` - slow slide (pan) left</li> <li>`slideRight` - slow slide (pan) right</li> <li>`slideUp` - slow slide (pan) up</li> <li>`slideDown` - slow slide (pan) down</li> </ul> The motion effect speed can also be controlled by appending `Fast` or `Slow` to the effect, e.g. `zoomInFast` or `slideRightSlow`.
642
666
*
643
667
* @return self
644
668
*/
@@ -672,7 +696,7 @@ public function getFilter()
672
696
/**
673
697
* Sets filter
674
698
*
675
-
* @param string|null $filter A filter effect to apply to the Clip. <ul> <li>`boost` - boost contrast and saturation</li> <li>`contrast` - increase contrast</li> <li>`darken` - darken the scene</li> <li>`greyscale` - remove colour</li> <li>`lighten` - lighten the scene</li> <li>`muted` - reduce saturation and contrast</li> <li>`invert` - invert colors</li> </ul>
699
+
* @param string|null $filter A filter effect to apply to the Clip. <ul> <li>`boost` - boost contrast and saturation</li> <li>`contrast` - increase contrast</li> <li>`darken` - darken the scene</li> <li>`greyscale` - remove colour</li> <li>`lighten` - lighten the scene</li> <li>`muted` - reduce saturation and contrast</li> <li>`negative` - negative colors</li> </ul>
Copy file name to clipboardExpand all lines: src/Model/Destinations.php
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
* Destinations Class Doc Comment
36
36
*
37
37
* @category Class
38
-
* @description A destination is a location where output files can be sent to for serving or hosting. By default all rendered assets are automatically sent to the [Shotstack hosting destination](https://shotstack.io/docs/guide/serving-assets/hosting). You can add other destinations to send assets to. The following destinations are available: <ul> <li><a href=\"#tocs_shotstackdestination\">DestinationShotstack</a></li> <li><a href=\"#tocs_muxdestination\">DestinationMux</a></li> </ul>
38
+
* @description A destination is a location where output files can be sent to for serving or hosting. By default all rendered assets are automatically sent to the [Shotstack hosting destination](https://shotstack.io/docs/guide/serving-assets/hosting). You can add other destinations to send assets to. The following destinations are available: <ul> <li><a href=\"#tocs_shotstackdestination\">ShotstackDestination</a></li> <li><a href=\"#tocs_muxdestination\">MuxDestination</a></li> <li><a href=\"#tocs_s3destination\">S3Destination</a></li> </ul>
39
39
* @package Shotstack\Client
40
40
* @author OpenAPI Generator team
41
41
* @link https://openapi-generator.tech
@@ -62,7 +62,7 @@ class Destinations implements ModelInterface, ArrayAccess, \JsonSerializable
* @param string $provider The destination to send rendered assets to - set to `mux` for Mux.
240
+
* @param string $provider The destination to send rendered assets to - set to `s3` for S3.
241
241
*
242
242
* @return self
243
243
*/
@@ -261,7 +261,7 @@ public function getExclude()
261
261
/**
262
262
* Sets exclude
263
263
*
264
-
* @param bool|null $exclude Set to `true` to opt-out from the Shotstack hosting and CDN service. All files must be downloaded within 24 hours of rendering.
264
+
* @param bool|null $exclude Set to `true` to [opt-out](https://shotstack.io/docs/guide/serving-assets/self-host) from the Shotstack hosting and CDN service. All files must be downloaded within 24 hours of rendering.
265
265
*
266
266
* @return self
267
267
*/
@@ -275,7 +275,7 @@ public function setExclude($exclude)
Copy file name to clipboardExpand all lines: src/Model/Edit.php
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -360,6 +360,7 @@ public function setCallback($callback)
360
360
* Gets disk
361
361
*
362
362
* @return string|null
363
+
* @deprecated
363
364
*/
364
365
publicfunctiongetDisk()
365
366
{
@@ -369,9 +370,10 @@ public function getDisk()
369
370
/**
370
371
* Sets disk
371
372
*
372
-
* @param string|null $disk The disk type to use for storing footage and assets for each render. See [disk types](https://shotstack.io/docs/guide/architecting-an-application/disk-types) for more details. <ul> <li>`local` - optimized for high speed rendering with up to 512MB storage</li> <li>`mount` - optimized for larger file sizes and longer videos with 5GB for source footage and 512MB for output render</li> </ul>
373
+
* @param string|null $disk **Notice: This option is now deprecated and will be removed. Disk types are handled automatically. Setting a disk type has no effect.** The disk type to use for storing footage and assets for each render. See [disk types](https://shotstack.io/docs/guide/architecting-an-application/disk-types) for more details. <ul> <li>`local` - optimized for high speed rendering with up to 512MB storage</li> <li>`mount` - optimized for larger file sizes and longer videos with 5GB for source footage and 512MB for output render</li> </ul>
Copy file name to clipboardExpand all lines: src/Model/MuxDestination.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
* MuxDestination Class Doc Comment
36
36
*
37
37
* @category Class
38
-
* @description Send rendered videos to the [Mux](https://www.mux.com/) video hosting and streaming service. Add the `mux` destination provider to send the output video to Mux. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
38
+
* @description Send rendered videos to the [Mux](https://shotstack.io/docs/guide/serving-assets/destinations/mux) video hosting and streaming service. Mux credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/mux), not in the request.
0 commit comments