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
75 changes: 75 additions & 0 deletions src/libs/Shotstack/Generated/Shotstack.Models.Asset.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,11 @@ public Asset(global::Shotstack.VideoAsset? value)
Video = value;
}

/// <summary>
///
/// </summary>
public static Asset FromVideo(global::Shotstack.VideoAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -525,6 +530,11 @@ public Asset(global::Shotstack.ImageAsset? value)
Image = value;
}

/// <summary>
///
/// </summary>
public static Asset FromImage(global::Shotstack.ImageAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -543,6 +553,11 @@ public Asset(global::Shotstack.TextAsset? value)
Text = value;
}

/// <summary>
///
/// </summary>
public static Asset FromText(global::Shotstack.TextAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -561,6 +576,11 @@ public Asset(global::Shotstack.RichTextAsset? value)
RichText = value;
}

/// <summary>
///
/// </summary>
public static Asset FromRichText(global::Shotstack.RichTextAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -579,6 +599,11 @@ public Asset(global::Shotstack.AudioAsset? value)
Audio = value;
}

/// <summary>
///
/// </summary>
public static Asset FromAudio(global::Shotstack.AudioAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -597,6 +622,11 @@ public Asset(global::Shotstack.LumaAsset? value)
Luma = value;
}

/// <summary>
///
/// </summary>
public static Asset FromLuma(global::Shotstack.LumaAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -615,6 +645,11 @@ public Asset(global::Shotstack.CaptionAsset? value)
Caption = value;
}

/// <summary>
///
/// </summary>
public static Asset FromCaption(global::Shotstack.CaptionAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -633,6 +668,11 @@ public Asset(global::Shotstack.RichCaptionAsset? value)
RichCaption = value;
}

/// <summary>
///
/// </summary>
public static Asset FromRichCaption(global::Shotstack.RichCaptionAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -651,6 +691,11 @@ public Asset(global::Shotstack.HtmlAsset? value)
Html = value;
}

/// <summary>
///
/// </summary>
public static Asset FromHtml(global::Shotstack.HtmlAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -669,6 +714,11 @@ public Asset(global::Shotstack.TitleAsset? value)
Title = value;
}

/// <summary>
///
/// </summary>
public static Asset FromTitle(global::Shotstack.TitleAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -687,6 +737,11 @@ public Asset(global::Shotstack.ShapeAsset? value)
Shape = value;
}

/// <summary>
///
/// </summary>
public static Asset FromShape(global::Shotstack.ShapeAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -705,6 +760,11 @@ public Asset(global::Shotstack.SvgAsset? value)
Svg = value;
}

/// <summary>
///
/// </summary>
public static Asset FromSvg(global::Shotstack.SvgAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -723,6 +783,11 @@ public Asset(global::Shotstack.TextToImageAsset? value)
TextToImage = value;
}

/// <summary>
///
/// </summary>
public static Asset FromTextToImage(global::Shotstack.TextToImageAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -741,6 +806,11 @@ public Asset(global::Shotstack.ImageToVideoAsset? value)
ImageToVideo = value;
}

/// <summary>
///
/// </summary>
public static Asset FromImageToVideo(global::Shotstack.ImageToVideoAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand All @@ -759,6 +829,11 @@ public Asset(global::Shotstack.TextToSpeechAsset? value)
TextToSpeech = value;
}

/// <summary>
///
/// </summary>
public static Asset FromTextToSpeech(global::Shotstack.TextToSpeechAsset? value) => new Asset(value);

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ public AudioEnhancement(global::Shotstack.DolbyEnhancement? value)
Dolby = value;
}

/// <summary>
///
/// </summary>
public static AudioEnhancement FromDolby(global::Shotstack.DolbyEnhancement? value) => new AudioEnhancement(value);

/// <summary>
///
/// </summary>
Expand Down
45 changes: 45 additions & 0 deletions src/libs/Shotstack/Generated/Shotstack.Models.Destinations.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,11 @@ public Destinations(global::Shotstack.ShotstackDestination? value)
ShotstackDestination = value;
}

/// <summary>
///
/// </summary>
public static Destinations FromShotstackDestination(global::Shotstack.ShotstackDestination? value) => new Destinations(value);

/// <summary>
///
/// </summary>
Expand All @@ -315,6 +320,11 @@ public Destinations(global::Shotstack.MuxDestination? value)
MuxDestination = value;
}

/// <summary>
///
/// </summary>
public static Destinations FromMuxDestination(global::Shotstack.MuxDestination? value) => new Destinations(value);

/// <summary>
///
/// </summary>
Expand All @@ -333,6 +343,11 @@ public Destinations(global::Shotstack.S3Destination? value)
S3Destination = value;
}

/// <summary>
///
/// </summary>
public static Destinations FromS3Destination(global::Shotstack.S3Destination? value) => new Destinations(value);

/// <summary>
///
/// </summary>
Expand All @@ -351,6 +366,11 @@ public Destinations(global::Shotstack.GoogleCloudStorageDestination? value)
GoogleCloudStorageDestination = value;
}

/// <summary>
///
/// </summary>
public static Destinations FromGoogleCloudStorageDestination(global::Shotstack.GoogleCloudStorageDestination? value) => new Destinations(value);

/// <summary>
///
/// </summary>
Expand All @@ -369,6 +389,11 @@ public Destinations(global::Shotstack.GoogleDriveDestination? value)
GoogleDriveDestination = value;
}

/// <summary>
///
/// </summary>
public static Destinations FromGoogleDriveDestination(global::Shotstack.GoogleDriveDestination? value) => new Destinations(value);

/// <summary>
///
/// </summary>
Expand All @@ -387,6 +412,11 @@ public Destinations(global::Shotstack.VimeoDestination? value)
VimeoDestination = value;
}

/// <summary>
///
/// </summary>
public static Destinations FromVimeoDestination(global::Shotstack.VimeoDestination? value) => new Destinations(value);

/// <summary>
///
/// </summary>
Expand All @@ -405,6 +435,11 @@ public Destinations(global::Shotstack.TiktokDestination? value)
TiktokDestination = value;
}

/// <summary>
///
/// </summary>
public static Destinations FromTiktokDestination(global::Shotstack.TiktokDestination? value) => new Destinations(value);

/// <summary>
///
/// </summary>
Expand All @@ -423,6 +458,11 @@ public Destinations(global::Shotstack.AkamaiNetStorageDestination? value)
AkamaiNetStorageDestination = value;
}

/// <summary>
///
/// </summary>
public static Destinations FromAkamaiNetStorageDestination(global::Shotstack.AkamaiNetStorageDestination? value) => new Destinations(value);

/// <summary>
///
/// </summary>
Expand All @@ -441,6 +481,11 @@ public Destinations(global::Shotstack.AzureBlobStorageDestination? value)
AzureBlobStorageDestination = value;
}

/// <summary>
///
/// </summary>
public static Destinations FromAzureBlobStorageDestination(global::Shotstack.AzureBlobStorageDestination? value) => new Destinations(value);

/// <summary>
///
/// </summary>
Expand Down
10 changes: 10 additions & 0 deletions src/libs/Shotstack/Generated/Shotstack.OneOf.2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ public OneOf(T1? value)
Value1 = value;
}

/// <summary>
///
/// </summary>
public static OneOf<T1, T2> FromValue1(T1? value) => new OneOf<T1, T2>(value);

/// <summary>
///
/// </summary>
Expand All @@ -103,6 +108,11 @@ public OneOf(T2? value)
Value2 = value;
}

/// <summary>
///
/// </summary>
public static OneOf<T1, T2> FromValue2(T2? value) => new OneOf<T1, T2>(value);

/// <summary>
///
/// </summary>
Expand Down
Loading