From cb83ac5be6906ce358582acffbd090abd29fa100 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 10 May 2026 21:43:20 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ck.Models.AkamaiNetStorageDestination.g.cs | 1 + ...ls.AkamaiNetStorageDestinationOptions.g.cs | 1 + .../Generated/Shotstack.Models.Asset.g.cs | 105 ++++++++++++++++++ .../Shotstack.Models.AssetDiscriminator.g.cs | 1 + .../Shotstack.Models.AssetRenderResponse.g.cs | 1 + .../Shotstack.Models.AssetResponse.g.cs | 1 + ...tstack.Models.AssetResponseAttributes.g.cs | 1 + .../Shotstack.Models.AssetResponseData.g.cs | 1 + .../Shotstack.Models.AudioAsset.g.cs | 13 +++ .../Shotstack.Models.AudioEnhancement.g.cs | 7 ++ ....Models.AudioEnhancementDiscriminator.g.cs | 1 + ...ck.Models.AzureBlobStorageDestination.g.cs | 1 + ...ls.AzureBlobStorageDestinationOptions.g.cs | 1 + .../Shotstack.Models.CaptionAsset.g.cs | 13 +++ .../Shotstack.Models.CaptionBackground.g.cs | 1 + .../Shotstack.Models.CaptionFont.g.cs | 1 + .../Shotstack.Models.CaptionMargin.g.cs | 1 + .../Generated/Shotstack.Models.ChromaKey.g.cs | 1 + .../Generated/Shotstack.Models.Clip.g.cs | 1 + .../Generated/Shotstack.Models.Crop.g.cs | 1 + .../Shotstack.Models.Destinations.g.cs | 63 +++++++++++ ...tack.Models.DestinationsDiscriminator.g.cs | 1 + .../Shotstack.Models.DolbyEnhancement.g.cs | 1 + ...tstack.Models.DolbyEnhancementOptions.g.cs | 1 + .../Generated/Shotstack.Models.Edit.g.cs | 1 + .../Shotstack.Models.Enhancements.g.cs | 1 + .../Shotstack.Models.FlipTransformation.g.cs | 1 + .../Generated/Shotstack.Models.Font.g.cs | 1 + ....Models.GoogleCloudStorageDestination.g.cs | 1 + ....GoogleCloudStorageDestinationOptions.g.cs | 1 + ...otstack.Models.GoogleDriveDestination.g.cs | 1 + ....Models.GoogleDriveDestinationOptions.g.cs | 1 + .../Generated/Shotstack.Models.HtmlAsset.g.cs | 1 + .../Shotstack.Models.ImageAsset.g.cs | 13 +++ .../Shotstack.Models.ImageToVideoAsset.g.cs | 13 +++ .../Shotstack.Models.IngestErrorResponse.g.cs | 1 + ...tstack.Models.IngestErrorResponseData.g.cs | 1 + .../Generated/Shotstack.Models.LumaAsset.g.cs | 13 +++ .../Shotstack.Models.MergeField.g.cs | 1 + .../Shotstack.Models.MergeFieldReplace.g.cs | 1 + .../Shotstack.Models.MuxDestination.g.cs | 1 + ...hotstack.Models.MuxDestinationOptions.g.cs | 1 + .../Generated/Shotstack.Models.Offset.g.cs | 1 + .../Generated/Shotstack.Models.Output.g.cs | 1 + .../Generated/Shotstack.Models.Outputs.g.cs | 1 + .../Shotstack.Models.OutputsResponse.g.cs | 1 + .../Generated/Shotstack.Models.Poster.g.cs | 1 + .../Shotstack.Models.ProbeResponse.g.cs | 1 + ...hotstack.Models.ProbeResponseResponse.g.cs | 1 + .../Shotstack.Models.QueuedResponse.g.cs | 1 + .../Shotstack.Models.QueuedResponseData.g.cs | 1 + ...Shotstack.Models.QueuedSourceResponse.g.cs | 1 + ...stack.Models.QueuedSourceResponseData.g.cs | 1 + .../Generated/Shotstack.Models.Range.g.cs | 1 + .../Shotstack.Models.RenderResponse.g.cs | 1 + .../Shotstack.Models.RenderResponseData.g.cs | 1 + .../Generated/Shotstack.Models.Rendition.g.cs | 1 + ...ck.Models.RenditionResponseAttributes.g.cs | 1 + .../Shotstack.Models.RichCaptionActive.g.cs | 1 + ...hotstack.Models.RichCaptionActiveFont.g.cs | 1 + ...ck.Models.RichCaptionActiveFontWeight.g.cs | 1 + ...Shotstack.Models.RichCaptionAnimation.g.cs | 1 + .../Shotstack.Models.RichCaptionAsset.g.cs | 13 +++ .../Shotstack.Models.RichCaptionFont.g.cs | 1 + ...hotstack.Models.RichCaptionFontWeight.g.cs | 1 + .../Shotstack.Models.RichCaptionStyle.g.cs | 1 + .../Shotstack.Models.RichTextAlignment.g.cs | 1 + .../Shotstack.Models.RichTextAnimation.g.cs | 1 + .../Shotstack.Models.RichTextAsset.g.cs | 13 +++ .../Shotstack.Models.RichTextBackground.g.cs | 1 + .../Shotstack.Models.RichTextBorder.g.cs | 1 + .../Shotstack.Models.RichTextFont.g.cs | 1 + .../Shotstack.Models.RichTextFontWeight.g.cs | 1 + .../Shotstack.Models.RichTextGradient.g.cs | 1 + ...Shotstack.Models.RichTextGradientStop.g.cs | 1 + .../Shotstack.Models.RichTextPadding.g.cs | 1 + .../Shotstack.Models.RichTextShadow.g.cs | 1 + .../Shotstack.Models.RichTextStroke.g.cs | 1 + .../Shotstack.Models.RichTextStyle.g.cs | 1 + ...Shotstack.Models.RotateTransformation.g.cs | 1 + .../Shotstack.Models.S3Destination.g.cs | 1 + ...Shotstack.Models.S3DestinationOptions.g.cs | 1 + .../Shotstack.Models.ShapeAsset.g.cs | 13 +++ .../Shotstack.Models.ShapeAssetCircle.g.cs | 1 + .../Shotstack.Models.ShapeAssetFill.g.cs | 1 + .../Shotstack.Models.ShapeAssetLine.g.cs | 1 + .../Shotstack.Models.ShapeAssetRectangle.g.cs | 1 + .../Shotstack.Models.ShapeAssetStroke.g.cs | 1 + ...Shotstack.Models.ShotstackDestination.g.cs | 1 + .../Generated/Shotstack.Models.Size.g.cs | 1 + .../Shotstack.Models.SkewTransformation.g.cs | 1 + .../Shotstack.Models.Soundtrack.g.cs | 1 + .../Generated/Shotstack.Models.Source.g.cs | 1 + .../Shotstack.Models.SourceListResponse.g.cs | 1 + .../Shotstack.Models.SourceResponse.g.cs | 1 + ...stack.Models.SourceResponseAttributes.g.cs | 1 + .../Shotstack.Models.SourceResponseData.g.cs | 1 + .../Generated/Shotstack.Models.Speed.g.cs | 1 + .../Generated/Shotstack.Models.SvgAsset.g.cs | 13 +++ .../Generated/Shotstack.Models.Template.g.cs | 1 + ...Shotstack.Models.TemplateDataResponse.g.cs | 1 + ...stack.Models.TemplateDataResponseData.g.cs | 1 + ...Shotstack.Models.TemplateListResponse.g.cs | 1 + ...stack.Models.TemplateListResponseData.g.cs | 1 + ...stack.Models.TemplateListResponseItem.g.cs | 1 + .../Shotstack.Models.TemplateRender.g.cs | 1 + .../Shotstack.Models.TemplateResponse.g.cs | 1 + ...Shotstack.Models.TemplateResponseData.g.cs | 1 + .../Shotstack.Models.TextAlignment.g.cs | 1 + .../Shotstack.Models.TextAnimation.g.cs | 1 + .../Generated/Shotstack.Models.TextAsset.g.cs | 13 +++ .../Shotstack.Models.TextBackground.g.cs | 1 + .../Generated/Shotstack.Models.TextFont.g.cs | 1 + .../Shotstack.Models.TextStroke.g.cs | 1 + .../Shotstack.Models.TextToImageAsset.g.cs | 13 +++ .../Shotstack.Models.TextToSpeechAsset.g.cs | 1 + .../Generated/Shotstack.Models.Thumbnail.g.cs | 1 + .../Shotstack.Models.TiktokDestination.g.cs | 1 + ...stack.Models.TiktokDestinationOptions.g.cs | 1 + .../Generated/Shotstack.Models.Timeline.g.cs | 1 + .../Shotstack.Models.TitleAsset.g.cs | 1 + .../Generated/Shotstack.Models.Track.g.cs | 1 + .../Shotstack.Models.Transcription.g.cs | 1 + .../Generated/Shotstack.Models.Transfer.g.cs | 1 + .../Shotstack.Models.TransferResponse.g.cs | 1 + ...ack.Models.TransferResponseAttributes.g.cs | 1 + ...Shotstack.Models.TransferResponseData.g.cs | 1 + .../Shotstack.Models.Transformation.g.cs | 1 + .../Shotstack.Models.Transition.g.cs | 1 + .../Generated/Shotstack.Models.Tween.g.cs | 1 + .../Generated/Shotstack.Models.TweenFrom.g.cs | 1 + .../Generated/Shotstack.Models.TweenTo.g.cs | 1 + .../Shotstack.Models.UploadResponse.g.cs | 1 + ...stack.Models.UploadResponseAttributes.g.cs | 1 + .../Shotstack.Models.UploadResponseData.g.cs | 1 + .../Shotstack.Models.VideoAsset.g.cs | 13 +++ .../Shotstack.Models.VimeoDestination.g.cs | 1 + ...tstack.Models.VimeoDestinationOptions.g.cs | 1 + ...Models.VimeoDestinationPrivacyOptions.g.cs | 1 + .../Generated/Shotstack.OneOf.2.g.cs | 14 +++ .../Generated/Shotstack.OptionsSupport.g.cs | 27 ++++- 141 files changed, 495 insertions(+), 1 deletion(-) diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestination.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestination.g.cs index 8e87498..d80a80b 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestination.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestination.g.cs @@ -59,5 +59,6 @@ public AkamaiNetStorageDestination( public AkamaiNetStorageDestination() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptions.g.cs index 0c90971..427c3e2 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptions.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptions.g.cs @@ -88,5 +88,6 @@ public AkamaiNetStorageDestinationOptions( public AkamaiNetStorageDestinationOptions() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Asset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Asset.g.cs index 2adb380..21696fb 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Asset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Asset.g.cs @@ -44,6 +44,13 @@ public bool TryPickVideo( return IsVideo; } + /// + /// + /// + public global::Shotstack.VideoAsset PickVideo() => IsVideo + ? Video! + : throw new global::System.InvalidOperationException($"Expected union variant 'Video' but the value was {ToString()}."); + /// /// The ImageAsset is used to create video from images to compose an image. The src must be a publicly accessible URL to an image resource such as a jpg or png file. /// @@ -74,6 +81,13 @@ public bool TryPickImage( return IsImage; } + /// + /// + /// + public global::Shotstack.ImageAsset PickImage() => IsImage + ? Image! + : throw new global::System.InvalidOperationException($"Expected union variant 'Image' but the value was {ToString()}."); + /// /// The TextAsset is used to add text and titles to a video. The text can be styled with built in and custom
/// [Fonts](#tocs_font). You can also add a background bounding box used to control wrapping and overflow. Emoticons are also supported. @@ -105,6 +119,13 @@ public bool TryPickText( return IsText; } + /// + /// + /// + public global::Shotstack.TextAsset PickText() => IsText + ? Text! + : throw new global::System.InvalidOperationException($"Expected union variant 'Text' but the value was {ToString()}."); + /// /// The RichTextAsset provides advanced text rendering with support for custom fonts, gradients, shadows, strokes,
/// animations, and styling options. It offers more flexibility and visual effects than the basic TextAsset. @@ -136,6 +157,13 @@ public bool TryPickRichText( return IsRichText; } + /// + /// + /// + public global::Shotstack.RichTextAsset PickRichText() => IsRichText + ? RichText! + : throw new global::System.InvalidOperationException($"Expected union variant 'RichText' but the value was {ToString()}."); + /// /// The AudioAsset is used to add sound effects and audio at specific intervals on the timeline. The src must be a publicly accessible URL to an audio resource such as an mp3 file. /// @@ -166,6 +194,13 @@ public bool TryPickAudio( return IsAudio; } + /// + /// + /// + public global::Shotstack.AudioAsset PickAudio() => IsAudio + ? Audio! + : throw new global::System.InvalidOperationException($"Expected union variant 'Audio' but the value was {ToString()}."); + /// /// The LumaAsset is used to create luma matte masks, transitions and effects between other assets. A luma matte is a grey scale image or animated video where the black areas are transparent and the white areas solid. The luma matte animation should be provided as an mp4 video file. The src must be a publicly accessible URL to the file. /// @@ -196,6 +231,13 @@ public bool TryPickLuma( return IsLuma; } + /// + /// + /// + public global::Shotstack.LumaAsset PickLuma() => IsLuma + ? Luma! + : throw new global::System.InvalidOperationException($"Expected union variant 'Luma' but the value was {ToString()}."); + /// /// The CaptionAsset is used to add captions (subtitles) to a video. It uses a supplied SRT or VTT file which will
/// be read and burnt to the video.
@@ -232,6 +274,13 @@ public bool TryPickCaption( return IsCaption; } + /// + /// + /// + public global::Shotstack.CaptionAsset PickCaption() => IsCaption + ? Caption! + : throw new global::System.InvalidOperationException($"Expected union variant 'Caption' but the value was {ToString()}."); + /// /// The RichCaptionAsset provides word-level caption animations with rich-text styling. It supports
/// karaoke-style highlighting, word-by-word animations, and advanced typography. Captions can be
@@ -265,6 +314,13 @@ public bool TryPickRichCaption( return IsRichCaption; } + /// + /// + /// + public global::Shotstack.RichCaptionAsset PickRichCaption() => IsRichCaption + ? RichCaption! + : throw new global::System.InvalidOperationException($"Expected union variant 'RichCaption' but the value was {ToString()}."); + /// /// **Notice: The HtmlAsset is deprecated, use the [TextAsset](#tocs_textasset) instead.**
/// The HtmlAsset clip type lets you create text based layout and formatting using
@@ -298,6 +354,13 @@ public bool TryPickHtml( return IsHtml; } + /// + /// + /// + public global::Shotstack.HtmlAsset PickHtml() => IsHtml + ? Html! + : throw new global::System.InvalidOperationException($"Expected union variant 'Html' but the value was {ToString()}."); + /// /// **Notice: The TitleAsset is deprecated, use the [TextAsset](#tocs_textasset) instead.**
/// The TitleAsset clip type lets you create video titles from a text string and apply styling and positioning. @@ -329,6 +392,13 @@ public bool TryPickTitle( return IsTitle; } + /// + /// + /// + public global::Shotstack.TitleAsset PickTitle() => IsTitle + ? Title! + : throw new global::System.InvalidOperationException($"Expected union variant 'Title' but the value was {ToString()}."); + /// /// The ShapeAsset is used to add shapes to a video. The shape can be styled with a fill and a stroke.
/// You can manipulate properties such as rotation to create dynamic effects like a diamond shape or stripes. @@ -360,6 +430,13 @@ public bool TryPickShape( return IsShape; } + /// + /// + /// + public global::Shotstack.ShapeAsset PickShape() => IsShape + ? Shape! + : throw new global::System.InvalidOperationException($"Expected union variant 'Shape' but the value was {ToString()}."); + /// /// The SvgAsset is used to add scalable vector graphics (SVG) to a video using raw SVG markup.
/// **Supported elements:** `<path>`, `<rect>`, `<circle>`, `<ellipse>`,
@@ -400,6 +477,13 @@ public bool TryPickSvg( return IsSvg; } + /// + /// + /// + public global::Shotstack.SvgAsset PickSvg() => IsSvg + ? Svg! + : throw new global::System.InvalidOperationException($"Expected union variant 'Svg' but the value was {ToString()}."); + /// /// The TextToImageAsset lets you create a dynamic image from a text prompt. /// @@ -430,6 +514,13 @@ public bool TryPickTextToImage( return IsTextToImage; } + /// + /// + /// + public global::Shotstack.TextToImageAsset PickTextToImage() => IsTextToImage + ? TextToImage! + : throw new global::System.InvalidOperationException($"Expected union variant 'TextToImage' but the value was {ToString()}."); + /// /// The ImageToVideoAsset lets you create a video from an image and a text prompt. /// @@ -460,6 +551,13 @@ public bool TryPickImageToVideo( return IsImageToVideo; } + /// + /// + /// + public global::Shotstack.ImageToVideoAsset PickImageToVideo() => IsImageToVideo + ? ImageToVideo! + : throw new global::System.InvalidOperationException($"Expected union variant 'ImageToVideo' but the value was {ToString()}."); + /// /// The TextToSpeechAsset lets you generate a voice over from text using a text-to-speech service. The generated audio can be trimmed, faded and have its volume and speed adjusted using the same properties available on the AudioAsset. /// @@ -489,6 +587,13 @@ public bool TryPickTextToSpeech( value = TextToSpeech; return IsTextToSpeech; } + + /// + /// + /// + public global::Shotstack.TextToSpeechAsset PickTextToSpeech() => IsTextToSpeech + ? TextToSpeech! + : throw new global::System.InvalidOperationException($"Expected union variant 'TextToSpeech' but the value was {ToString()}."); /// /// /// diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AssetDiscriminator.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AssetDiscriminator.g.cs index 2642e35..a8b59d1 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AssetDiscriminator.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AssetDiscriminator.g.cs @@ -40,5 +40,6 @@ public AssetDiscriminator( public AssetDiscriminator() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AssetRenderResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AssetRenderResponse.g.cs index b3bdcc0..469fd47 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AssetRenderResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AssetRenderResponse.g.cs @@ -42,5 +42,6 @@ public AssetRenderResponse( public AssetRenderResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponse.g.cs index 5214759..a335eb5 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponse.g.cs @@ -42,5 +42,6 @@ public AssetResponse( public AssetResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponseAttributes.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponseAttributes.g.cs index f27e490..cc32007 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponseAttributes.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponseAttributes.g.cs @@ -184,5 +184,6 @@ public AssetResponseAttributes( public AssetResponseAttributes() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponseData.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponseData.g.cs index 6d69630..0ca9118 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponseData.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AssetResponseData.g.cs @@ -57,5 +57,6 @@ public AssetResponseData( public AssetResponseData() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AudioAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AudioAsset.g.cs index 676fa1c..cdee795 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AudioAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AudioAsset.g.cs @@ -117,5 +117,18 @@ public AudioAsset( public AudioAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static AudioAsset FromSrc(string src) + { + return new AudioAsset + { + Src = src, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AudioEnhancement.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AudioEnhancement.g.cs index ce7fcf4..e9377b3 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AudioEnhancement.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AudioEnhancement.g.cs @@ -41,6 +41,13 @@ public bool TryPickDolby( value = Dolby; return IsDolby; } + + /// + /// + /// + public global::Shotstack.DolbyEnhancement PickDolby() => IsDolby + ? Dolby! + : throw new global::System.InvalidOperationException($"Expected union variant 'Dolby' but the value was {ToString()}."); /// /// /// diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AudioEnhancementDiscriminator.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AudioEnhancementDiscriminator.g.cs index 86cfa14..d959ca9 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AudioEnhancementDiscriminator.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AudioEnhancementDiscriminator.g.cs @@ -39,5 +39,6 @@ public AudioEnhancementDiscriminator( public AudioEnhancementDiscriminator() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestination.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestination.g.cs index 64fef7d..028c374 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestination.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestination.g.cs @@ -59,5 +59,6 @@ public AzureBlobStorageDestination( public AzureBlobStorageDestination() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptions.g.cs index 4c6f0a0..eb06605 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptions.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptions.g.cs @@ -88,5 +88,6 @@ public AzureBlobStorageDestinationOptions( public AzureBlobStorageDestinationOptions() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.CaptionAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.CaptionAsset.g.cs index 7b3ba3b..0f6ee24 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.CaptionAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.CaptionAsset.g.cs @@ -127,5 +127,18 @@ public CaptionAsset( public CaptionAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static CaptionAsset FromSrc(string src) + { + return new CaptionAsset + { + Src = src, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.CaptionBackground.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.CaptionBackground.g.cs index 8349c61..4dbd966 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.CaptionBackground.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.CaptionBackground.g.cs @@ -86,5 +86,6 @@ public CaptionBackground( public CaptionBackground() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.CaptionFont.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.CaptionFont.g.cs index c550b2a..6aa5db7 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.CaptionFont.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.CaptionFont.g.cs @@ -128,5 +128,6 @@ public CaptionFont( public CaptionFont() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.CaptionMargin.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.CaptionMargin.g.cs index 44afd0c..3f77b81 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.CaptionMargin.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.CaptionMargin.g.cs @@ -72,5 +72,6 @@ public CaptionMargin( public CaptionMargin() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ChromaKey.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ChromaKey.g.cs index d3abe5b..b9fa097 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ChromaKey.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ChromaKey.g.cs @@ -73,5 +73,6 @@ public ChromaKey( public ChromaKey() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Clip.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Clip.g.cs index 336117d..4381911 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Clip.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Clip.g.cs @@ -287,5 +287,6 @@ public Clip( public Clip() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Crop.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Crop.g.cs index ae6bed5..176a7c2 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Crop.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Crop.g.cs @@ -80,5 +80,6 @@ public Crop( public Crop() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Destinations.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Destinations.g.cs index fea150a..c81f10b 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Destinations.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Destinations.g.cs @@ -40,6 +40,13 @@ public bool TryPickShotstackDestination( return IsShotstackDestination; } + /// + /// + /// + public global::Shotstack.ShotstackDestination PickShotstackDestination() => IsShotstackDestination + ? ShotstackDestination! + : throw new global::System.InvalidOperationException($"Expected union variant 'ShotstackDestination' but the value was {ToString()}."); + /// /// Send 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. /// @@ -70,6 +77,13 @@ public bool TryPickMuxDestination( return IsMuxDestination; } + /// + /// + /// + public global::Shotstack.MuxDestination PickMuxDestination() => IsMuxDestination + ? MuxDestination! + : throw new global::System.InvalidOperationException($"Expected union variant 'MuxDestination' but the value was {ToString()}."); + /// /// Send videos and assets to an [Amazon S3](https://shotstack.io/docs/guide/serving-assets/destinations/s3/) bucket. Send files to any region with your own prefix and filename. AWS credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/s3), not in the request. /// @@ -100,6 +114,13 @@ public bool TryPickS3Destination( return IsS3Destination; } + /// + /// + /// + public global::Shotstack.S3Destination PickS3Destination() => IsS3Destination + ? S3Destination! + : throw new global::System.InvalidOperationException($"Expected union variant 'S3Destination' but the value was {ToString()}."); + /// /// Send videos and assets to a [Google Cloud Storage](https://cloud.google.com/storage) bucket. Send files with your own prefix and filename. Google Cloud credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/google-cloud-storage), not in the request. /// @@ -130,6 +151,13 @@ public bool TryPickGoogleCloudStorageDestination( return IsGoogleCloudStorageDestination; } + /// + /// + /// + public global::Shotstack.GoogleCloudStorageDestination PickGoogleCloudStorageDestination() => IsGoogleCloudStorageDestination + ? GoogleCloudStorageDestination! + : throw new global::System.InvalidOperationException($"Expected union variant 'GoogleCloudStorageDestination' but the value was {ToString()}."); + /// /// Send rendered videos and assets to the [Google Drive](https://shotstack.io/docs/guide/serving-assets/destinations/google-drive/) cloud storage service. Google Drive uses OAuth and you must authenticate and link your Google account via [dashboard](https://dashboard.shotstack.io/integrations/google-drive), not in the request. /// @@ -160,6 +188,13 @@ public bool TryPickGoogleDriveDestination( return IsGoogleDriveDestination; } + /// + /// + /// + public global::Shotstack.GoogleDriveDestination PickGoogleDriveDestination() => IsGoogleDriveDestination + ? GoogleDriveDestination! + : throw new global::System.InvalidOperationException($"Expected union variant 'GoogleDriveDestination' but the value was {ToString()}."); + /// /// Send videos to [Vimeo](https://shotstack.io/docs/guide/serving-assets/destinations/vimeo/) video hosting and streaming service. Vimeo credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/vimeo), not in the request. /// @@ -190,6 +225,13 @@ public bool TryPickVimeoDestination( return IsVimeoDestination; } + /// + /// + /// + public global::Shotstack.VimeoDestination PickVimeoDestination() => IsVimeoDestination + ? VimeoDestination! + : throw new global::System.InvalidOperationException($"Expected union variant 'VimeoDestination' but the value was {ToString()}."); + /// /// Send videos to TikTok. TikTok credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/tiktok), not in the request. /// @@ -220,6 +262,13 @@ public bool TryPickTiktokDestination( return IsTiktokDestination; } + /// + /// + /// + public global::Shotstack.TiktokDestination PickTiktokDestination() => IsTiktokDestination + ? TiktokDestination! + : throw new global::System.InvalidOperationException($"Expected union variant 'TiktokDestination' but the value was {ToString()}."); + /// /// Send videos and assets to [Akamai NetStorage](https://techdocs.akamai.com/netstorage-usage/docs). Send files to your NetStorage upload directory with a custom path and filename. Akamai credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/akamai-netstorage), not in the request. /// @@ -250,6 +299,13 @@ public bool TryPickAkamaiNetStorageDestination( return IsAkamaiNetStorageDestination; } + /// + /// + /// + public global::Shotstack.AkamaiNetStorageDestination PickAkamaiNetStorageDestination() => IsAkamaiNetStorageDestination + ? AkamaiNetStorageDestination! + : throw new global::System.InvalidOperationException($"Expected union variant 'AkamaiNetStorageDestination' but the value was {ToString()}."); + /// /// Send videos and assets to [Azure Blob Storage](https://learn.microsoft.com/en-us/azure/storage/blobs/). Send files to any container with a custom prefix and filename. Azure credentials are required and added via the [dashboard](https://dashboard.shotstack.io/integrations/azure-blob-storage), not in the request. /// @@ -279,6 +335,13 @@ public bool TryPickAzureBlobStorageDestination( value = AzureBlobStorageDestination; return IsAzureBlobStorageDestination; } + + /// + /// + /// + public global::Shotstack.AzureBlobStorageDestination PickAzureBlobStorageDestination() => IsAzureBlobStorageDestination + ? AzureBlobStorageDestination! + : throw new global::System.InvalidOperationException($"Expected union variant 'AzureBlobStorageDestination' but the value was {ToString()}."); /// /// /// diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.DestinationsDiscriminator.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.DestinationsDiscriminator.g.cs index 3522664..926dae3 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.DestinationsDiscriminator.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.DestinationsDiscriminator.g.cs @@ -39,5 +39,6 @@ public DestinationsDiscriminator( public DestinationsDiscriminator() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.DolbyEnhancement.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.DolbyEnhancement.g.cs index 50ea602..4874020 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.DolbyEnhancement.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.DolbyEnhancement.g.cs @@ -60,5 +60,6 @@ public DolbyEnhancement( public DolbyEnhancement() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.DolbyEnhancementOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.DolbyEnhancementOptions.g.cs index 81e9808..2b9e697 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.DolbyEnhancementOptions.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.DolbyEnhancementOptions.g.cs @@ -66,5 +66,6 @@ public DolbyEnhancementOptions( public DolbyEnhancementOptions() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Edit.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Edit.g.cs index 7918f24..401326f 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Edit.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Edit.g.cs @@ -118,5 +118,6 @@ public Edit( public Edit() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Enhancements.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Enhancements.g.cs index 9c3dce7..f30849f 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Enhancements.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Enhancements.g.cs @@ -47,5 +47,6 @@ public Enhancements( public Enhancements() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.FlipTransformation.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.FlipTransformation.g.cs index 2f4255a..7c7fc6b 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.FlipTransformation.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.FlipTransformation.g.cs @@ -58,5 +58,6 @@ public FlipTransformation( public FlipTransformation() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Font.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Font.g.cs index ce80e71..d185cb6 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Font.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Font.g.cs @@ -45,5 +45,6 @@ public Font( public Font() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.GoogleCloudStorageDestination.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.GoogleCloudStorageDestination.g.cs index efc78ab..89c369c 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.GoogleCloudStorageDestination.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.GoogleCloudStorageDestination.g.cs @@ -59,5 +59,6 @@ public GoogleCloudStorageDestination( public GoogleCloudStorageDestination() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.GoogleCloudStorageDestinationOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.GoogleCloudStorageDestinationOptions.g.cs index 5006198..8558b29 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.GoogleCloudStorageDestinationOptions.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.GoogleCloudStorageDestinationOptions.g.cs @@ -73,5 +73,6 @@ public GoogleCloudStorageDestinationOptions( public GoogleCloudStorageDestinationOptions() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.GoogleDriveDestination.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.GoogleDriveDestination.g.cs index 3a48ec8..90023cc 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.GoogleDriveDestination.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.GoogleDriveDestination.g.cs @@ -60,5 +60,6 @@ public GoogleDriveDestination( public GoogleDriveDestination() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.GoogleDriveDestinationOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.GoogleDriveDestinationOptions.g.cs index 98ddf77..6bee0ba 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.GoogleDriveDestinationOptions.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.GoogleDriveDestinationOptions.g.cs @@ -59,5 +59,6 @@ public GoogleDriveDestinationOptions( public GoogleDriveDestinationOptions() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.HtmlAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.HtmlAsset.g.cs index e911641..ebd13ea 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.HtmlAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.HtmlAsset.g.cs @@ -156,5 +156,6 @@ public HtmlAsset( public HtmlAsset() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ImageAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ImageAsset.g.cs index 80d5e49..58ecf83 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ImageAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ImageAsset.g.cs @@ -71,5 +71,18 @@ public ImageAsset( public ImageAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static ImageAsset FromSrc(string src) + { + return new ImageAsset + { + Src = src, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ImageToVideoAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ImageToVideoAsset.g.cs index c4d4a67..04191cc 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ImageToVideoAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ImageToVideoAsset.g.cs @@ -114,5 +114,18 @@ public ImageToVideoAsset( public ImageToVideoAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static ImageToVideoAsset FromSrc(string src) + { + return new ImageToVideoAsset + { + Src = src, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.IngestErrorResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.IngestErrorResponse.g.cs index 3f5bb31..eda6907 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.IngestErrorResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.IngestErrorResponse.g.cs @@ -42,5 +42,6 @@ public IngestErrorResponse( public IngestErrorResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.IngestErrorResponseData.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.IngestErrorResponseData.g.cs index 0c4db8a..cec6c4c 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.IngestErrorResponseData.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.IngestErrorResponseData.g.cs @@ -75,5 +75,6 @@ public IngestErrorResponseData( public IngestErrorResponseData() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.LumaAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.LumaAsset.g.cs index 00a456d..a273d65 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.LumaAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.LumaAsset.g.cs @@ -71,5 +71,18 @@ public LumaAsset( public LumaAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static LumaAsset FromSrc(string src) + { + return new LumaAsset + { + Src = src, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.MergeField.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.MergeField.g.cs index b3d51d2..89cd1c2 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.MergeField.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.MergeField.g.cs @@ -60,5 +60,6 @@ public MergeField( public MergeField() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.MergeFieldReplace.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.MergeFieldReplace.g.cs index bf6227e..f27bde4 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.MergeFieldReplace.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.MergeFieldReplace.g.cs @@ -15,5 +15,6 @@ public sealed partial class MergeFieldReplace ///
[global::System.Text.Json.Serialization.JsonExtensionData] public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.MuxDestination.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.MuxDestination.g.cs index 2bdfce9..27c612e 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.MuxDestination.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.MuxDestination.g.cs @@ -59,5 +59,6 @@ public MuxDestination( public MuxDestination() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.MuxDestinationOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.MuxDestinationOptions.g.cs index 65726bd..c514654 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.MuxDestinationOptions.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.MuxDestinationOptions.g.cs @@ -52,5 +52,6 @@ public MuxDestinationOptions( public MuxDestinationOptions() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Offset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Offset.g.cs index 4b259b3..33d9300 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Offset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Offset.g.cs @@ -54,5 +54,6 @@ public Offset( public Offset() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Output.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Output.g.cs index 3175ffd..b788c58 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Output.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Output.g.cs @@ -288,5 +288,6 @@ public Output( public Output() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Outputs.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Outputs.g.cs index 731eded..7ad72e6 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Outputs.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Outputs.g.cs @@ -52,5 +52,6 @@ public Outputs( public Outputs() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.OutputsResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.OutputsResponse.g.cs index 7a14338..86cb0ed 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.OutputsResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.OutputsResponse.g.cs @@ -41,5 +41,6 @@ public OutputsResponse( public OutputsResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Poster.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Poster.g.cs index 6599180..a025d37 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Poster.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Poster.g.cs @@ -45,5 +45,6 @@ public Poster( public Poster() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ProbeResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ProbeResponse.g.cs index 4da7dfa..d610052 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ProbeResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ProbeResponse.g.cs @@ -72,5 +72,6 @@ public ProbeResponse( public ProbeResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ProbeResponseResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ProbeResponseResponse.g.cs index 75928e6..ad377b4 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ProbeResponseResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ProbeResponseResponse.g.cs @@ -14,5 +14,6 @@ public sealed partial class ProbeResponseResponse ///
[global::System.Text.Json.Serialization.JsonExtensionData] public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.QueuedResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.QueuedResponse.g.cs index 114d7f6..8dda93e 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.QueuedResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.QueuedResponse.g.cs @@ -72,5 +72,6 @@ public QueuedResponse( public QueuedResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.QueuedResponseData.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.QueuedResponseData.g.cs index 034eb54..3e9e5b9 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.QueuedResponseData.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.QueuedResponseData.g.cs @@ -60,5 +60,6 @@ public QueuedResponseData( public QueuedResponseData() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.QueuedSourceResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.QueuedSourceResponse.g.cs index c5a362c..b876d88 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.QueuedSourceResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.QueuedSourceResponse.g.cs @@ -42,5 +42,6 @@ public QueuedSourceResponse( public QueuedSourceResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.QueuedSourceResponseData.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.QueuedSourceResponseData.g.cs index 2598c2d..4ca2d88 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.QueuedSourceResponseData.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.QueuedSourceResponseData.g.cs @@ -60,5 +60,6 @@ public QueuedSourceResponseData( public QueuedSourceResponseData() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Range.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Range.g.cs index 90d2b5e..0d540c9 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Range.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Range.g.cs @@ -58,5 +58,6 @@ public Range( public Range() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RenderResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RenderResponse.g.cs index d8a7d49..45f3c8a 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RenderResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RenderResponse.g.cs @@ -72,5 +72,6 @@ public RenderResponse( public RenderResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RenderResponseData.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RenderResponseData.g.cs index 36947cc..b68637e 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RenderResponseData.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RenderResponseData.g.cs @@ -226,5 +226,6 @@ public RenderResponseData( public RenderResponseData() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Rendition.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Rendition.g.cs index 8489183..3e2ebb1 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Rendition.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Rendition.g.cs @@ -274,5 +274,6 @@ public Rendition( public Rendition() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RenditionResponseAttributes.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RenditionResponseAttributes.g.cs index 622a665..0d0512f 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RenditionResponseAttributes.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RenditionResponseAttributes.g.cs @@ -169,5 +169,6 @@ public RenditionResponseAttributes( public RenditionResponseAttributes() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActive.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActive.g.cs index fbd80e7..b96bc32 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActive.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActive.g.cs @@ -65,5 +65,6 @@ public RichCaptionActive( public RichCaptionActive() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFont.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFont.g.cs index f8a7bea..65ee293 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFont.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFont.g.cs @@ -132,5 +132,6 @@ public RichCaptionActiveFont( public RichCaptionActiveFont() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFontWeight.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFontWeight.g.cs index a28a892..a3866c7 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFontWeight.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFontWeight.g.cs @@ -15,5 +15,6 @@ public sealed partial class RichCaptionActiveFontWeight ///
[global::System.Text.Json.Serialization.JsonExtensionData] public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimation.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimation.g.cs index 6405873..f7630df 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimation.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAnimation.g.cs @@ -84,5 +84,6 @@ public RichCaptionAnimation( public RichCaptionAnimation() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAsset.g.cs index a71d5a6..7e6bc6b 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionAsset.g.cs @@ -174,5 +174,18 @@ public RichCaptionAsset( public RichCaptionAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static RichCaptionAsset FromSrc(string src) + { + return new RichCaptionAsset + { + Src = src, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionFont.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionFont.g.cs index 11dd5e0..392e881 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionFont.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionFont.g.cs @@ -121,5 +121,6 @@ public RichCaptionFont( public RichCaptionFont() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionFontWeight.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionFontWeight.g.cs index 3673938..15167af 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionFontWeight.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionFontWeight.g.cs @@ -15,5 +15,6 @@ public sealed partial class RichCaptionFontWeight ///
[global::System.Text.Json.Serialization.JsonExtensionData] public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionStyle.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionStyle.g.cs index 5bbf1dc..4d700ab 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionStyle.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionStyle.g.cs @@ -121,5 +121,6 @@ public RichCaptionStyle( public RichCaptionStyle() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAlignment.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAlignment.g.cs index 20fc1c1..4f72d8f 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAlignment.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAlignment.g.cs @@ -64,5 +64,6 @@ public RichTextAlignment( public RichTextAlignment() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimation.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimation.g.cs index ff5fbac..9b31ff0 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimation.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAnimation.g.cs @@ -114,5 +114,6 @@ public RichTextAnimation( public RichTextAnimation() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAsset.g.cs index b8669a9..2f404bb 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextAsset.g.cs @@ -161,5 +161,18 @@ public RichTextAsset( public RichTextAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static RichTextAsset FromText(string text) + { + return new RichTextAsset + { + Text = text, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBackground.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBackground.g.cs index 9dba494..89a5062 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBackground.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBackground.g.cs @@ -98,5 +98,6 @@ public RichTextBackground( public RichTextBackground() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBorder.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBorder.g.cs index 22e27fc..76d81eb 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBorder.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextBorder.g.cs @@ -94,5 +94,6 @@ public RichTextBorder( public RichTextBorder() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextFont.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextFont.g.cs index 63ba56d..e8def2e 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextFont.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextFont.g.cs @@ -132,5 +132,6 @@ public RichTextFont( public RichTextFont() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextFontWeight.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextFontWeight.g.cs index bcf8506..fb8eac3 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextFontWeight.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextFontWeight.g.cs @@ -15,5 +15,6 @@ public sealed partial class RichTextFontWeight ///
[global::System.Text.Json.Serialization.JsonExtensionData] public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextGradient.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextGradient.g.cs index 4ca196c..4ce61a2 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextGradient.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextGradient.g.cs @@ -75,5 +75,6 @@ public RichTextGradient( public RichTextGradient() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextGradientStop.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextGradientStop.g.cs index 604a26c..3400db0 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextGradientStop.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextGradientStop.g.cs @@ -60,5 +60,6 @@ public RichTextGradientStop( public RichTextGradientStop() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextPadding.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextPadding.g.cs index dd21d28..030f03b 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextPadding.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextPadding.g.cs @@ -94,5 +94,6 @@ public RichTextPadding( public RichTextPadding() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextShadow.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextShadow.g.cs index ddfa153..a8d1256 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextShadow.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextShadow.g.cs @@ -110,5 +110,6 @@ public RichTextShadow( public RichTextShadow() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextStroke.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextStroke.g.cs index a2c28be..0da1f82 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextStroke.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextStroke.g.cs @@ -78,5 +78,6 @@ public RichTextStroke( public RichTextStroke() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextStyle.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextStyle.g.cs index b1b70e3..a5bef52 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RichTextStyle.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichTextStyle.g.cs @@ -123,5 +123,6 @@ public RichTextStyle( public RichTextStyle() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RotateTransformation.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RotateTransformation.g.cs index 34c2e34..7d1cb37 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.RotateTransformation.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.RotateTransformation.g.cs @@ -42,5 +42,6 @@ public RotateTransformation( public RotateTransformation() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.S3Destination.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.S3Destination.g.cs index 41b438e..fef43aa 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.S3Destination.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.S3Destination.g.cs @@ -59,5 +59,6 @@ public S3Destination( public S3Destination() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.S3DestinationOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.S3DestinationOptions.g.cs index 4707676..12f29e1 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.S3DestinationOptions.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.S3DestinationOptions.g.cs @@ -102,5 +102,6 @@ public S3DestinationOptions( public S3DestinationOptions() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAsset.g.cs index 5dc7446..29b3ad1 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAsset.g.cs @@ -142,5 +142,18 @@ public ShapeAsset( public ShapeAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static ShapeAsset FromShape(global::Shotstack.ShapeAssetShape shape) + { + return new ShapeAsset + { + Shape = shape, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetCircle.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetCircle.g.cs index 3496b32..27ff8b5 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetCircle.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetCircle.g.cs @@ -45,5 +45,6 @@ public ShapeAssetCircle( public ShapeAssetCircle() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetFill.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetFill.g.cs index 2986be7..3017df2 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetFill.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetFill.g.cs @@ -58,5 +58,6 @@ public ShapeAssetFill( public ShapeAssetFill() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetLine.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetLine.g.cs index 66aafb0..8076acc 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetLine.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetLine.g.cs @@ -60,5 +60,6 @@ public ShapeAssetLine( public ShapeAssetLine() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetRectangle.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetRectangle.g.cs index 9da119f..a7dd42b 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetRectangle.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetRectangle.g.cs @@ -74,5 +74,6 @@ public ShapeAssetRectangle( public ShapeAssetRectangle() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetStroke.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetStroke.g.cs index de74612..1012aeb 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetStroke.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ShapeAssetStroke.g.cs @@ -58,5 +58,6 @@ public ShapeAssetStroke( public ShapeAssetStroke() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.ShotstackDestination.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.ShotstackDestination.g.cs index c4ecd31..7706245 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.ShotstackDestination.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.ShotstackDestination.g.cs @@ -62,5 +62,6 @@ public ShotstackDestination( public ShotstackDestination() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Size.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Size.g.cs index aa20f0b..57f1ff8 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Size.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Size.g.cs @@ -58,5 +58,6 @@ public Size( public Size() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SkewTransformation.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SkewTransformation.g.cs index 59a370d..0f20322 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.SkewTransformation.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.SkewTransformation.g.cs @@ -54,5 +54,6 @@ public SkewTransformation( public SkewTransformation() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Soundtrack.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Soundtrack.g.cs index f011765..b46a2a3 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Soundtrack.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Soundtrack.g.cs @@ -76,5 +76,6 @@ public Soundtrack( public Soundtrack() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Source.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Source.g.cs index 3529e01..503a002 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Source.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Source.g.cs @@ -84,5 +84,6 @@ public Source( public Source() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SourceListResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SourceListResponse.g.cs index 5acc86e..a4e2643 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.SourceListResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.SourceListResponse.g.cs @@ -42,5 +42,6 @@ public SourceListResponse( public SourceListResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponse.g.cs index fdb8444..df3dff0 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponse.g.cs @@ -42,5 +42,6 @@ public SourceResponse( public SourceResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponseAttributes.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponseAttributes.g.cs index d42cc66..146ce15 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponseAttributes.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponseAttributes.g.cs @@ -210,5 +210,6 @@ public SourceResponseAttributes( public SourceResponseAttributes() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponseData.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponseData.g.cs index ecf7f71..48988ba 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponseData.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.SourceResponseData.g.cs @@ -72,5 +72,6 @@ public SourceResponseData( public SourceResponseData() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Speed.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Speed.g.cs index 6d2faa8..cb26598 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Speed.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Speed.g.cs @@ -58,5 +58,6 @@ public Speed( public Speed() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgAsset.g.cs index 379e40c..81c2bee 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.SvgAsset.g.cs @@ -77,5 +77,18 @@ public SvgAsset( public SvgAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static SvgAsset FromSrc(string src) + { + return new SvgAsset + { + Src = src, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Template.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Template.g.cs index b937aac..7e3cfe6 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Template.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Template.g.cs @@ -56,5 +56,6 @@ public Template( public Template() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateDataResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateDataResponse.g.cs index 129f9dd..6999c56 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateDataResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateDataResponse.g.cs @@ -72,5 +72,6 @@ public TemplateDataResponse( public TemplateDataResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateDataResponseData.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateDataResponseData.g.cs index e60c296..29b89ff 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateDataResponseData.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateDataResponseData.g.cs @@ -87,5 +87,6 @@ public TemplateDataResponseData( public TemplateDataResponseData() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponse.g.cs index f08dccf..405d6a4 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponse.g.cs @@ -72,5 +72,6 @@ public TemplateListResponse( public TemplateListResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponseData.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponseData.g.cs index 6e692dd..ff70609 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponseData.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponseData.g.cs @@ -57,5 +57,6 @@ public TemplateListResponseData( public TemplateListResponseData() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponseItem.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponseItem.g.cs index a6c2188..d7d891d 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponseItem.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateListResponseItem.g.cs @@ -88,5 +88,6 @@ public TemplateListResponseItem( public TemplateListResponseItem() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateRender.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateRender.g.cs index 62c84b1..d793836 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateRender.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateRender.g.cs @@ -56,5 +56,6 @@ public TemplateRender( public TemplateRender() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateResponse.g.cs index 8a41a3f..8b9f102 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateResponse.g.cs @@ -72,5 +72,6 @@ public TemplateResponse( public TemplateResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateResponseData.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateResponseData.g.cs index f42a835..f31d537 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TemplateResponseData.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TemplateResponseData.g.cs @@ -60,5 +60,6 @@ public TemplateResponseData( public TemplateResponseData() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TextAlignment.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TextAlignment.g.cs index 7210721..2fff1d9 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TextAlignment.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TextAlignment.g.cs @@ -76,5 +76,6 @@ public TextAlignment( public TextAlignment() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TextAnimation.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TextAnimation.g.cs index 887b9a2..3eecec3 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TextAnimation.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TextAnimation.g.cs @@ -63,5 +63,6 @@ public TextAnimation( public TextAnimation() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TextAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TextAsset.g.cs index a6ef8e8..10afa9d 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TextAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TextAsset.g.cs @@ -158,5 +158,18 @@ public TextAsset( public TextAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static TextAsset FromText(string text) + { + return new TextAsset + { + Text = text, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TextBackground.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TextBackground.g.cs index 1422472..0b76a31 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TextBackground.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TextBackground.g.cs @@ -100,5 +100,6 @@ public TextBackground( public TextBackground() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TextFont.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TextFont.g.cs index 242121e..e1016ec 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TextFont.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TextFont.g.cs @@ -114,5 +114,6 @@ public TextFont( public TextFont() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TextStroke.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TextStroke.g.cs index d3678b3..c5e2cd0 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TextStroke.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TextStroke.g.cs @@ -58,5 +58,6 @@ public TextStroke( public TextStroke() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TextToImageAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TextToImageAsset.g.cs index 15a53cd..5c15990 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TextToImageAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TextToImageAsset.g.cs @@ -99,5 +99,18 @@ public TextToImageAsset( public TextToImageAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static TextToImageAsset FromPrompt(string prompt) + { + return new TextToImageAsset + { + Prompt = prompt, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TextToSpeechAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TextToSpeechAsset.g.cs index fd76f11..a559f28 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TextToSpeechAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TextToSpeechAsset.g.cs @@ -159,5 +159,6 @@ public TextToSpeechAsset( public TextToSpeechAsset() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Thumbnail.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Thumbnail.g.cs index 50ee652..39fbca6 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Thumbnail.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Thumbnail.g.cs @@ -60,5 +60,6 @@ public Thumbnail( public Thumbnail() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TiktokDestination.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TiktokDestination.g.cs index 163bbfa..319f236 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TiktokDestination.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TiktokDestination.g.cs @@ -59,5 +59,6 @@ public TiktokDestination( public TiktokDestination() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TiktokDestinationOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TiktokDestinationOptions.g.cs index 0fefbf7..7e30654 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TiktokDestinationOptions.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TiktokDestinationOptions.g.cs @@ -102,5 +102,6 @@ public TiktokDestinationOptions( public TiktokDestinationOptions() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Timeline.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Timeline.g.cs index bb30b24..d93d0f9 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Timeline.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Timeline.g.cs @@ -86,5 +86,6 @@ public Timeline( public Timeline() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TitleAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TitleAsset.g.cs index 18b7e8c..fe18474 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TitleAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TitleAsset.g.cs @@ -200,5 +200,6 @@ public TitleAsset( public TitleAsset() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Track.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Track.g.cs index 0aabedb..37df55a 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Track.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Track.g.cs @@ -42,5 +42,6 @@ public Track( public Track() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Transcription.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Transcription.g.cs index 65a8fd7..432b17f 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Transcription.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Transcription.g.cs @@ -51,5 +51,6 @@ public Transcription( public Transcription() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Transfer.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Transfer.g.cs index 500ed47..1283258 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Transfer.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Transfer.g.cs @@ -72,5 +72,6 @@ public Transfer( public Transfer() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponse.g.cs index 9c1c4ec..a9e5d35 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponse.g.cs @@ -42,5 +42,6 @@ public TransferResponse( public TransferResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponseAttributes.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponseAttributes.g.cs index ccbecec..1f7523a 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponseAttributes.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponseAttributes.g.cs @@ -93,5 +93,6 @@ public TransferResponseAttributes( public TransferResponseAttributes() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponseData.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponseData.g.cs index 90f9ed4..4129a12 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponseData.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TransferResponseData.g.cs @@ -55,5 +55,6 @@ public TransferResponseData( public TransferResponseData() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Transformation.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Transformation.g.cs index 0363f1f..30285a8 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Transformation.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Transformation.g.cs @@ -63,5 +63,6 @@ public Transformation( public Transformation() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Transition.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Transition.g.cs index b44c568..c9cf7cd 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Transition.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Transition.g.cs @@ -150,5 +150,6 @@ public Transition( public Transition() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Tween.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Tween.g.cs index f6cce00..51ab5c7 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Tween.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Tween.g.cs @@ -128,5 +128,6 @@ public Tween( public Tween() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TweenFrom.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TweenFrom.g.cs index 3fc4130..243b53a 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TweenFrom.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TweenFrom.g.cs @@ -15,5 +15,6 @@ public sealed partial class TweenFrom ///
[global::System.Text.Json.Serialization.JsonExtensionData] public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.TweenTo.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.TweenTo.g.cs index 343bdf6..f4a45c0 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.TweenTo.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.TweenTo.g.cs @@ -15,5 +15,6 @@ public sealed partial class TweenTo ///
[global::System.Text.Json.Serialization.JsonExtensionData] public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponse.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponse.g.cs index a5857aa..bb98088 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponse.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponse.g.cs @@ -42,5 +42,6 @@ public UploadResponse( public UploadResponse() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponseAttributes.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponseAttributes.g.cs index 4b2d1c9..7b3e95a 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponseAttributes.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponseAttributes.g.cs @@ -75,5 +75,6 @@ public UploadResponseAttributes( public UploadResponseAttributes() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponseData.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponseData.g.cs index 8970a24..1b1a4b7 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponseData.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.UploadResponseData.g.cs @@ -72,5 +72,6 @@ public UploadResponseData( public UploadResponseData() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.VideoAsset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.VideoAsset.g.cs index 6d3a6a2..0763307 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.VideoAsset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.VideoAsset.g.cs @@ -156,5 +156,18 @@ public VideoAsset( public VideoAsset() { } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static VideoAsset FromSrc(string src) + { + return new VideoAsset + { + Src = src, + }; + } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestination.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestination.g.cs index 5b805bc..165be4c 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestination.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestination.g.cs @@ -59,5 +59,6 @@ public VimeoDestination( public VimeoDestination() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestinationOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestinationOptions.g.cs index 11e98ab..29819cd 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestinationOptions.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestinationOptions.g.cs @@ -77,5 +77,6 @@ public VimeoDestinationOptions( public VimeoDestinationOptions() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestinationPrivacyOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestinationPrivacyOptions.g.cs index 63b9dbc..5e4ecfe 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestinationPrivacyOptions.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.VimeoDestinationPrivacyOptions.g.cs @@ -116,5 +116,6 @@ public VimeoDestinationPrivacyOptions( public VimeoDestinationPrivacyOptions() { } + } } \ No newline at end of file diff --git a/src/libs/Shotstack/Generated/Shotstack.OneOf.2.g.cs b/src/libs/Shotstack/Generated/Shotstack.OneOf.2.g.cs index d5e7d53..69698e6 100644 --- a/src/libs/Shotstack/Generated/Shotstack.OneOf.2.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.OneOf.2.g.cs @@ -38,6 +38,13 @@ public bool TryPickValue1( return IsValue1; } + /// + /// + /// + public T1 PickValue1() => IsValue1 + ? Value1! + : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); + /// /// /// @@ -67,6 +74,13 @@ public bool TryPickValue2( value = Value2; return IsValue2; } + + /// + /// + /// + public T2 PickValue2() => IsValue2 + ? Value2! + : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); /// /// /// diff --git a/src/libs/Shotstack/Generated/Shotstack.OptionsSupport.g.cs b/src/libs/Shotstack/Generated/Shotstack.OptionsSupport.g.cs index cc12518..8cb598a 100644 --- a/src/libs/Shotstack/Generated/Shotstack.OptionsSupport.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.OptionsSupport.g.cs @@ -163,8 +163,24 @@ public sealed class AutoSDKAuthorizationProviderHook : global::Shotstack.AutoSDK { context = context ?? throw new global::System.ArgumentNullException(nameof(context)); + if (context.Request == null) + { + return; + } + + var perRequest = context.RequestOptions?.Authorizations; + if (perRequest != null && perRequest.Count > 0) + { + for (var index = 0; index < perRequest.Count; index++) + { + ApplyAuthorization(context.Request, perRequest[index]); + } + + return; + } + var provider = context.ClientOptions?.AuthorizationProvider; - if (provider == null || context.Request == null) + if (provider == null) { return; } @@ -237,6 +253,15 @@ public sealed class AutoSDKRequestOptions /// Overrides response buffering for this request when set. ///
public bool? ReadResponseAsString { get; set; } + + /// + /// Optional per-request authorization values. When non-empty, the built-in + /// applies these instead of consulting + /// for this request only. + /// Useful for multi-tenant routing or "act-as" admin tooling that needs a different + /// credential per call without mutating shared client state. + /// + public global::System.Collections.Generic.IReadOnlyList? Authorizations { get; set; } } ///