Skip to content
Merged
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
14 changes: 14 additions & 0 deletions src/libs/Shotstack/Generated/Shotstack.Models.Clip.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ namespace Shotstack
/// </summary>
public sealed partial class Clip
{
/// <summary>
/// Optional client-generated identifier. Used by client SDKs (e.g. the Shotstack Studio SDK) to reference a clip across edits without relying on its position in the timeline. The render API does not use this field and it does not appear in render output.<br/>
/// Example: f47ac10b-58cc-4372-a567-0e02b2c3d479
/// </summary>
/// <example>f47ac10b-58cc-4372-a567-0e02b2c3d479</example>
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }

/// <summary>
/// The type of asset to display for the duration of the Clip, i.e. a video clip or an image. Choose from one of the available asset types below.
/// </summary>
Expand Down Expand Up @@ -171,6 +179,10 @@ public sealed partial class Clip
/// <param name="length">
/// The duration the Clip should play for.
/// </param>
/// <param name="id">
/// Optional client-generated identifier. Used by client SDKs (e.g. the Shotstack Studio SDK) to reference a clip across edits without relying on its position in the timeline. The render API does not use this field and it does not appear in render output.<br/>
/// Example: f47ac10b-58cc-4372-a567-0e02b2c3d479
/// </param>
/// <param name="fit">
/// Set how the asset should be scaled to fit the viewport using one of the following options: <br/>
/// &lt;ul&gt;<br/>
Expand Down Expand Up @@ -251,6 +263,7 @@ public Clip(
global::Shotstack.Asset asset,
global::Shotstack.OneOf<double?, string> start,
global::Shotstack.OneOf<double?, string> length,
string? id,
global::Shotstack.ClipFit? fit,
global::Shotstack.OneOf<float?, global::System.Collections.Generic.IList<global::Shotstack.Tween>>? scale,
float? width,
Expand All @@ -264,6 +277,7 @@ public Clip(
global::Shotstack.Transformation? transform,
string? alias)
{
this.Id = id;
this.Asset = asset;
this.Start = start;
this.Length = length;
Expand Down
5 changes: 5 additions & 0 deletions src/libs/Shotstack/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,11 @@
"Clip": {
"description": "A clip is a container for a specific type of asset, i.e. a title, image, video, audio or html. You use a Clip to define when an asset will display on the timeline, how long it will play for and transitions, filters and effects to apply to it.",
"properties": {
"id": {
"description": "Optional client-generated identifier. Used by client SDKs (e.g. the Shotstack Studio SDK) to reference a clip across edits without relying on its position in the timeline. The render API does not use this field and it does not appear in render output.",
"type": "string",
"example": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
},
"asset": {
"$ref": "#/components/schemas/Asset"
},
Expand Down