diff --git a/src/libs/Runway/Generated/Runway.Models.RequestActTwo.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestActTwo.g.cs
index 0d08138..f588059 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestActTwo.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestActTwo.g.cs
@@ -70,8 +70,7 @@ public sealed partial class RequestActTwo
///
/// "act_two"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "act_two";
+ public string Model { get; set; } = "act_two";
///
/// Additional properties that are not explicitly defined in the schema
@@ -116,21 +115,21 @@ public sealed partial class RequestActTwo
public RequestActTwo(
global::Runway.Character character,
global::Runway.RequestActTwoReferenceCharacterReferenceVideo reference,
- string model,
int? seed,
bool? bodyControl,
int? expressionIntensity,
global::Runway.RequestActTwoRatio? ratio,
- global::Runway.RequestActTwoContentModeration? contentModeration)
+ global::Runway.RequestActTwoContentModeration? contentModeration,
+ string model = "act_two")
{
this.Character = character;
this.Reference = reference ?? throw new global::System.ArgumentNullException(nameof(reference));
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Seed = seed;
this.BodyControl = bodyControl;
this.ExpressionIntensity = expressionIntensity;
this.Ratio = ratio;
this.ContentModeration = contentModeration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestActTwoCharacterCharacterImage.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestActTwoCharacterCharacterImage.g.cs
index 82c915b..0f6417a 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestActTwoCharacterCharacterImage.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestActTwoCharacterCharacterImage.g.cs
@@ -13,8 +13,7 @@ public sealed partial class RequestActTwoCharacterCharacterImage
///
/// "image"
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Type { get; set; } = "image";
+ public string Type { get; set; } = "image";
///
/// A HTTPS URL, Runway or data URI containing an encoded image. See [our docs](/assets/inputs#images) on image inputs for more information.
@@ -43,11 +42,11 @@ public sealed partial class RequestActTwoCharacterCharacterImage
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public RequestActTwoCharacterCharacterImage(
- string type,
- string uri)
+ string uri,
+ string type = "image")
{
- this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.Uri = uri;
+ this.Type = type;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestActTwoCharacterCharacterVideo.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestActTwoCharacterCharacterVideo.g.cs
index d6586c6..6403e39 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestActTwoCharacterCharacterVideo.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestActTwoCharacterCharacterVideo.g.cs
@@ -13,8 +13,7 @@ public sealed partial class RequestActTwoCharacterCharacterVideo
///
/// "video"
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Type { get; set; } = "video";
+ public string Type { get; set; } = "video";
///
/// A HTTPS URL, Runway or data URI containing an encoded video. See [our docs](/assets/inputs#videos) on video inputs for more information.
@@ -43,11 +42,11 @@ public sealed partial class RequestActTwoCharacterCharacterVideo
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public RequestActTwoCharacterCharacterVideo(
- string type,
- string uri)
+ string uri,
+ string type = "video")
{
- this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.Uri = uri;
+ this.Type = type;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestActTwoReferenceCharacterReferenceVideo.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestActTwoReferenceCharacterReferenceVideo.g.cs
index 83492f1..3d397fc 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestActTwoReferenceCharacterReferenceVideo.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestActTwoReferenceCharacterReferenceVideo.g.cs
@@ -13,8 +13,7 @@ public sealed partial class RequestActTwoReferenceCharacterReferenceVideo
///
/// "video"
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Type { get; set; } = "video";
+ public string Type { get; set; } = "video";
///
/// A video of a person performing in the manner that you would like your character to perform. The video must be between 3 and 30 seconds in duration. See [our docs](/assets/inputs#videos) on video inputs for more information.
@@ -43,11 +42,11 @@ public sealed partial class RequestActTwoReferenceCharacterReferenceVideo
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public RequestActTwoReferenceCharacterReferenceVideo(
- string type,
- string uri)
+ string uri,
+ string type = "video")
{
- this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.Uri = uri;
+ this.Type = type;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2.g.cs
index ea603af..e99f5bc 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2.g.cs
@@ -34,8 +34,7 @@ public sealed partial class RequestElevenMultilingualStsV2
///
/// "eleven_multilingual_sts_v2"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "eleven_multilingual_sts_v2";
+ public string Model { get; set; } = "eleven_multilingual_sts_v2";
///
/// Additional properties that are not explicitly defined in the schema
@@ -60,13 +59,13 @@ public sealed partial class RequestElevenMultilingualStsV2
public RequestElevenMultilingualStsV2(
global::Runway.Media media,
global::Runway.RequestElevenMultilingualStsV2VoiceRunwayPresetVoice voice,
- string model,
- bool? removeBackgroundNoise)
+ bool? removeBackgroundNoise,
+ string model = "eleven_multilingual_sts_v2")
{
this.Media = media;
this.Voice = voice ?? throw new global::System.ArgumentNullException(nameof(voice));
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.RemoveBackgroundNoise = removeBackgroundNoise;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2MediaSpeechToSpeechAudio.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2MediaSpeechToSpeechAudio.g.cs
index 1f11681..9e68d63 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2MediaSpeechToSpeechAudio.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2MediaSpeechToSpeechAudio.g.cs
@@ -13,8 +13,7 @@ public sealed partial class RequestElevenMultilingualStsV2MediaSpeechToSpeechAud
///
/// "audio"
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Type { get; set; } = "audio";
+ public string Type { get; set; } = "audio";
///
/// A HTTPS URL, Runway or data URI containing an encoded audio. See [our docs](/assets/inputs#audio) on audio inputs for more information.
@@ -43,11 +42,11 @@ public sealed partial class RequestElevenMultilingualStsV2MediaSpeechToSpeechAud
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public RequestElevenMultilingualStsV2MediaSpeechToSpeechAudio(
- string type,
- string uri)
+ string uri,
+ string type = "audio")
{
- this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.Uri = uri;
+ this.Type = type;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2MediaSpeechToSpeechVideo.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2MediaSpeechToSpeechVideo.g.cs
index 460af68..f1baf3f 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2MediaSpeechToSpeechVideo.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2MediaSpeechToSpeechVideo.g.cs
@@ -13,8 +13,7 @@ public sealed partial class RequestElevenMultilingualStsV2MediaSpeechToSpeechVid
///
/// "video"
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Type { get; set; } = "video";
+ public string Type { get; set; } = "video";
///
/// A HTTPS URL, Runway or data URI containing an encoded video. See [our docs](/assets/inputs#videos) on video inputs for more information.
@@ -43,11 +42,11 @@ public sealed partial class RequestElevenMultilingualStsV2MediaSpeechToSpeechVid
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public RequestElevenMultilingualStsV2MediaSpeechToSpeechVideo(
- string type,
- string uri)
+ string uri,
+ string type = "video")
{
- this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.Uri = uri;
+ this.Type = type;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2VoiceRunwayPresetVoice.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2VoiceRunwayPresetVoice.g.cs
index 75bac6a..b3b1328 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2VoiceRunwayPresetVoice.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualStsV2VoiceRunwayPresetVoice.g.cs
@@ -13,8 +13,7 @@ public sealed partial class RequestElevenMultilingualStsV2VoiceRunwayPresetVoice
///
/// "runway-preset"
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Type { get; set; } = "runway-preset";
+ public string Type { get; set; } = "runway-preset";
///
/// The preset voice ID to use for the generated speech.
@@ -41,11 +40,11 @@ public sealed partial class RequestElevenMultilingualStsV2VoiceRunwayPresetVoice
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public RequestElevenMultilingualStsV2VoiceRunwayPresetVoice(
- string type,
- global::Runway.RequestElevenMultilingualStsV2VoiceRunwayPresetVoicePresetId presetId)
+ global::Runway.RequestElevenMultilingualStsV2VoiceRunwayPresetVoicePresetId presetId,
+ string type = "runway-preset")
{
- this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.PresetId = presetId;
+ this.Type = type;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualV2.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualV2.g.cs
index ae1f8be..76bc855 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualV2.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualV2.g.cs
@@ -27,8 +27,7 @@ public sealed partial class RequestElevenMultilingualV2
///
/// "eleven_multilingual_v2"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "eleven_multilingual_v2";
+ public string Model { get; set; } = "eleven_multilingual_v2";
///
/// Additional properties that are not explicitly defined in the schema
@@ -52,11 +51,11 @@ public sealed partial class RequestElevenMultilingualV2
public RequestElevenMultilingualV2(
string promptText,
global::Runway.RequestElevenMultilingualV2VoiceRunwayPresetVoice voice,
- string model)
+ string model = "eleven_multilingual_v2")
{
this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText));
this.Voice = voice ?? throw new global::System.ArgumentNullException(nameof(voice));
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualV2VoiceRunwayPresetVoice.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualV2VoiceRunwayPresetVoice.g.cs
index 4387746..68bbe1c 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualV2VoiceRunwayPresetVoice.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestElevenMultilingualV2VoiceRunwayPresetVoice.g.cs
@@ -13,8 +13,7 @@ public sealed partial class RequestElevenMultilingualV2VoiceRunwayPresetVoice
///
/// "runway-preset"
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Type { get; set; } = "runway-preset";
+ public string Type { get; set; } = "runway-preset";
///
/// The preset voice ID to use for the generated speech.
@@ -41,11 +40,11 @@ public sealed partial class RequestElevenMultilingualV2VoiceRunwayPresetVoice
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public RequestElevenMultilingualV2VoiceRunwayPresetVoice(
- string type,
- global::Runway.RequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId presetId)
+ global::Runway.RequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId presetId,
+ string type = "runway-preset")
{
- this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.PresetId = presetId;
+ this.Type = type;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestElevenTextToSoundV2.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestElevenTextToSoundV2.g.cs
index 20651d5..376fd30 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestElevenTextToSoundV2.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestElevenTextToSoundV2.g.cs
@@ -33,8 +33,7 @@ public sealed partial class RequestElevenTextToSoundV2
///
/// "eleven_text_to_sound_v2"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "eleven_text_to_sound_v2";
+ public string Model { get; set; } = "eleven_text_to_sound_v2";
///
/// Additional properties that are not explicitly defined in the schema
@@ -61,14 +60,14 @@ public sealed partial class RequestElevenTextToSoundV2
#endif
public RequestElevenTextToSoundV2(
string promptText,
- string model,
double? duration,
- bool? loop)
+ bool? loop,
+ string model = "eleven_text_to_sound_v2")
{
this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText));
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Duration = duration;
this.Loop = loop;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestElevenVoiceDubbing.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestElevenVoiceDubbing.g.cs
index aef0e1e..d0566ce 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestElevenVoiceDubbing.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestElevenVoiceDubbing.g.cs
@@ -48,8 +48,7 @@ public sealed partial class RequestElevenVoiceDubbing
///
/// "eleven_voice_dubbing"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "eleven_voice_dubbing";
+ public string Model { get; set; } = "eleven_voice_dubbing";
///
/// Additional properties that are not explicitly defined in the schema
@@ -83,17 +82,17 @@ public sealed partial class RequestElevenVoiceDubbing
public RequestElevenVoiceDubbing(
string audioUri,
global::Runway.RequestElevenVoiceDubbingTargetLang targetLang,
- string model,
bool? disableVoiceCloning,
bool? dropBackgroundAudio,
- int? numSpeakers)
+ int? numSpeakers,
+ string model = "eleven_voice_dubbing")
{
this.AudioUri = audioUri;
this.TargetLang = targetLang;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.DisableVoiceCloning = disableVoiceCloning;
this.DropBackgroundAudio = dropBackgroundAudio;
this.NumSpeakers = numSpeakers;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestElevenVoiceIsolation.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestElevenVoiceIsolation.g.cs
index 7be995a..47ae4f7 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestElevenVoiceIsolation.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestElevenVoiceIsolation.g.cs
@@ -22,8 +22,7 @@ public sealed partial class RequestElevenVoiceIsolation
///
/// "eleven_voice_isolation"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "eleven_voice_isolation";
+ public string Model { get; set; } = "eleven_voice_isolation";
///
/// Additional properties that are not explicitly defined in the schema
@@ -44,10 +43,10 @@ public sealed partial class RequestElevenVoiceIsolation
#endif
public RequestElevenVoiceIsolation(
string audioUri,
- string model)
+ string model = "eleven_voice_isolation")
{
this.AudioUri = audioUri;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestGemini25Flash.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestGemini25Flash.g.cs
index 31eaa4f..add408d 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestGemini25Flash.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestGemini25Flash.g.cs
@@ -34,8 +34,7 @@ public sealed partial class RequestGemini25Flash
///
/// "gemini_2.5_flash"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "gemini_2.5_flash";
+ public string Model { get; set; } = "gemini_2.5_flash";
///
/// Additional properties that are not explicitly defined in the schema
@@ -62,13 +61,13 @@ public sealed partial class RequestGemini25Flash
public RequestGemini25Flash(
string promptText,
global::Runway.RequestGemini25FlashRatio ratio,
- string model,
- global::System.Collections.Generic.IList? referenceImages)
+ global::System.Collections.Generic.IList? referenceImages,
+ string model = "gemini_2.5_flash")
{
this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText));
this.Ratio = ratio;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.ReferenceImages = referenceImages;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestGen3aTurbo.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestGen3aTurbo.g.cs
index 126b407..b7b000a 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestGen3aTurbo.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestGen3aTurbo.g.cs
@@ -64,8 +64,7 @@ public sealed partial class RequestGen3aTurbo
///
/// "gen3a_turbo"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "gen3a_turbo";
+ public string Model { get; set; } = "gen3a_turbo";
///
/// Additional properties that are not explicitly defined in the schema
@@ -104,19 +103,19 @@ public sealed partial class RequestGen3aTurbo
public RequestGen3aTurbo(
string promptText,
global::Runway.AnyOf> promptImage,
- string model,
int? seed,
double? duration,
global::Runway.RequestGen3aTurboRatio? ratio,
- global::Runway.RequestGen3aTurboContentModeration? contentModeration)
+ global::Runway.RequestGen3aTurboContentModeration? contentModeration,
+ string model = "gen3a_turbo")
{
this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText));
this.PromptImage = promptImage;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Seed = seed;
this.Duration = duration;
this.Ratio = ratio;
this.ContentModeration = contentModeration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestGen4Aleph.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestGen4Aleph.g.cs
index 0ea0474..7813907 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestGen4Aleph.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestGen4Aleph.g.cs
@@ -55,8 +55,7 @@ public sealed partial class RequestGen4Aleph
///
/// "gen4_aleph"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "gen4_aleph";
+ public string Model { get; set; } = "gen4_aleph";
///
/// Additional properties that are not explicitly defined in the schema
@@ -94,18 +93,18 @@ public RequestGen4Aleph(
string videoUri,
string promptText,
global::Runway.RequestGen4AlephRatio ratio,
- string model,
int? seed,
global::System.Collections.Generic.IList? references,
- global::Runway.RequestGen4AlephContentModeration? contentModeration)
+ global::Runway.RequestGen4AlephContentModeration? contentModeration,
+ string model = "gen4_aleph")
{
this.VideoUri = videoUri;
this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText));
this.Ratio = ratio;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Seed = seed;
this.References = references;
this.ContentModeration = contentModeration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestGen4AlephReferenceImageReference.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestGen4AlephReferenceImageReference.g.cs
index 4ee4251..b1b04c5 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestGen4AlephReferenceImageReference.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestGen4AlephReferenceImageReference.g.cs
@@ -13,8 +13,7 @@ public sealed partial class RequestGen4AlephReferenceImageReference
///
/// "image"
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Type { get; set; } = "image";
+ public string Type { get; set; } = "image";
///
/// A HTTPS URL, Runway or data URI containing an encoded image. See [our docs](/assets/inputs#images) on image inputs for more information.
@@ -43,11 +42,11 @@ public sealed partial class RequestGen4AlephReferenceImageReference
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public RequestGen4AlephReferenceImageReference(
- string type,
- string uri)
+ string uri,
+ string type = "image")
{
- this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.Uri = uri;
+ this.Type = type;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestGen4Image.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestGen4Image.g.cs
index 32052b7..72062c7 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestGen4Image.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestGen4Image.g.cs
@@ -46,8 +46,7 @@ public sealed partial class RequestGen4Image
///
/// "gen4_image"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "gen4_image";
+ public string Model { get; set; } = "gen4_image";
///
/// Additional properties that are not explicitly defined in the schema
@@ -80,17 +79,17 @@ public sealed partial class RequestGen4Image
public RequestGen4Image(
string promptText,
global::Runway.RequestGen4ImageRatio ratio,
- string model,
int? seed,
global::System.Collections.Generic.IList? referenceImages,
- global::Runway.RequestGen4ImageContentModeration? contentModeration)
+ global::Runway.RequestGen4ImageContentModeration? contentModeration,
+ string model = "gen4_image")
{
this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText));
this.Ratio = ratio;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Seed = seed;
this.ReferenceImages = referenceImages;
this.ContentModeration = contentModeration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestGen4ImageTurbo.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestGen4ImageTurbo.g.cs
index b1a99ad..0f5d134 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestGen4ImageTurbo.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestGen4ImageTurbo.g.cs
@@ -47,8 +47,7 @@ public sealed partial class RequestGen4ImageTurbo
///
/// "gen4_image_turbo"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "gen4_image_turbo";
+ public string Model { get; set; } = "gen4_image_turbo";
///
/// Additional properties that are not explicitly defined in the schema
@@ -82,16 +81,16 @@ public RequestGen4ImageTurbo(
string promptText,
global::Runway.RequestGen4ImageTurboRatio ratio,
global::System.Collections.Generic.IList referenceImages,
- string model,
int? seed,
- global::Runway.RequestGen4ImageTurboContentModeration? contentModeration)
+ global::Runway.RequestGen4ImageTurboContentModeration? contentModeration,
+ string model = "gen4_image_turbo")
{
this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText));
this.Ratio = ratio;
this.ReferenceImages = referenceImages ?? throw new global::System.ArgumentNullException(nameof(referenceImages));
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Seed = seed;
this.ContentModeration = contentModeration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestGen4Turbo.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestGen4Turbo.g.cs
index f86d92f..9604665 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestGen4Turbo.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestGen4Turbo.g.cs
@@ -55,8 +55,7 @@ public sealed partial class RequestGen4Turbo
///
/// "gen4_turbo"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "gen4_turbo";
+ public string Model { get; set; } = "gen4_turbo";
///
/// Additional properties that are not explicitly defined in the schema
@@ -90,19 +89,19 @@ public sealed partial class RequestGen4Turbo
public RequestGen4Turbo(
global::Runway.AnyOf> promptImage,
global::Runway.RequestGen4TurboRatio ratio,
- string model,
string? promptText,
int? seed,
int? duration,
- global::Runway.RequestGen4TurboContentModeration? contentModeration)
+ global::Runway.RequestGen4TurboContentModeration? contentModeration,
+ string model = "gen4_turbo")
{
this.PromptImage = promptImage;
this.Ratio = ratio;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.PromptText = promptText;
this.Seed = seed;
this.Duration = duration;
this.ContentModeration = contentModeration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestGen4TurboPromptImagePromptImage.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestGen4TurboPromptImagePromptImage.g.cs
index 32e5b61..b6b32f6 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestGen4TurboPromptImagePromptImage.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestGen4TurboPromptImagePromptImage.g.cs
@@ -22,8 +22,7 @@ public sealed partial class RequestGen4TurboPromptImagePromptImage
///
/// "first"
[global::System.Text.Json.Serialization.JsonPropertyName("position")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Position { get; set; } = "first";
+ public string Position { get; set; } = "first";
///
/// Additional properties that are not explicitly defined in the schema
@@ -46,10 +45,10 @@ public sealed partial class RequestGen4TurboPromptImagePromptImage
#endif
public RequestGen4TurboPromptImagePromptImage(
string uri,
- string position)
+ string position = "first")
{
this.Uri = uri;
- this.Position = position ?? throw new global::System.ArgumentNullException(nameof(position));
+ this.Position = position;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestVeo3.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestVeo3.g.cs
index e34dfe7..5d35ea4 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestVeo3.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestVeo3.g.cs
@@ -29,8 +29,7 @@ public sealed partial class RequestVeo3
///
/// "8"
[global::System.Text.Json.Serialization.JsonPropertyName("duration")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Duration { get; set; } = "8";
+ public double Duration { get; set; } = "8";
///
/// The resolution of the output video.
@@ -45,8 +44,7 @@ public sealed partial class RequestVeo3
///
/// "veo3"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "veo3";
+ public string Model { get; set; } = "veo3";
///
/// Additional properties that are not explicitly defined in the schema
@@ -73,16 +71,16 @@ public sealed partial class RequestVeo3
#endif
public RequestVeo3(
global::Runway.AnyOf> promptImage,
- double duration,
global::Runway.RequestVeo3Ratio ratio,
- string model,
- string? promptText)
+ string? promptText,
+ double duration = "8",
+ string model = "veo3")
{
this.PromptImage = promptImage;
- this.Duration = duration;
this.Ratio = ratio;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.PromptText = promptText;
+ this.Duration = duration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestVeo31.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestVeo31.g.cs
index 3204ac7..ca9f261 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestVeo31.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestVeo31.g.cs
@@ -50,8 +50,7 @@ public sealed partial class RequestVeo31
///
/// "veo3.1"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "veo3.1";
+ public string Model { get; set; } = "veo3.1";
///
/// Additional properties that are not explicitly defined in the schema
@@ -85,17 +84,17 @@ public sealed partial class RequestVeo31
public RequestVeo31(
global::Runway.AnyOf> promptImage,
global::Runway.RequestVeo31Ratio ratio,
- string model,
string? promptText,
bool? audio,
- double? duration)
+ double? duration,
+ string model = "veo3.1")
{
this.PromptImage = promptImage;
this.Ratio = ratio;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.PromptText = promptText;
this.Audio = audio;
this.Duration = duration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestVeo312.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestVeo312.g.cs
index 5a902a7..dfbeab4 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestVeo312.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestVeo312.g.cs
@@ -41,8 +41,7 @@ public sealed partial class RequestVeo312
///
/// "veo3.1"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "veo3.1";
+ public string Model { get; set; } = "veo3.1";
///
/// Additional properties that are not explicitly defined in the schema
@@ -73,15 +72,15 @@ public sealed partial class RequestVeo312
public RequestVeo312(
string promptText,
global::Runway.RequestVeo31Ratio2 ratio,
- string model,
bool? audio,
- double? duration)
+ double? duration,
+ string model = "veo3.1")
{
this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText));
this.Ratio = ratio;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Audio = audio;
this.Duration = duration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestVeo31Fast.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestVeo31Fast.g.cs
index 34d88ef..cac498f 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestVeo31Fast.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestVeo31Fast.g.cs
@@ -50,8 +50,7 @@ public sealed partial class RequestVeo31Fast
///
/// "veo3.1_fast"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "veo3.1_fast";
+ public string Model { get; set; } = "veo3.1_fast";
///
/// Additional properties that are not explicitly defined in the schema
@@ -85,17 +84,17 @@ public sealed partial class RequestVeo31Fast
public RequestVeo31Fast(
global::Runway.AnyOf> promptImage,
global::Runway.RequestVeo31FastRatio ratio,
- string model,
string? promptText,
bool? audio,
- double? duration)
+ double? duration,
+ string model = "veo3.1_fast")
{
this.PromptImage = promptImage;
this.Ratio = ratio;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.PromptText = promptText;
this.Audio = audio;
this.Duration = duration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestVeo31Fast2.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestVeo31Fast2.g.cs
index 94cdef1..a864788 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestVeo31Fast2.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestVeo31Fast2.g.cs
@@ -41,8 +41,7 @@ public sealed partial class RequestVeo31Fast2
///
/// "veo3.1_fast"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "veo3.1_fast";
+ public string Model { get; set; } = "veo3.1_fast";
///
/// Additional properties that are not explicitly defined in the schema
@@ -73,15 +72,15 @@ public sealed partial class RequestVeo31Fast2
public RequestVeo31Fast2(
string promptText,
global::Runway.RequestVeo31FastRatio2 ratio,
- string model,
bool? audio,
- double? duration)
+ double? duration,
+ string model = "veo3.1_fast")
{
this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText));
this.Ratio = ratio;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Audio = audio;
this.Duration = duration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestVeo32.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestVeo32.g.cs
index aa80ab0..b115e60 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestVeo32.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestVeo32.g.cs
@@ -20,8 +20,7 @@ public sealed partial class RequestVeo32
///
/// "8"
[global::System.Text.Json.Serialization.JsonPropertyName("duration")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Duration { get; set; } = "8";
+ public double Duration { get; set; } = "8";
///
/// The resolution of the output video.
@@ -36,8 +35,7 @@ public sealed partial class RequestVeo32
///
/// "veo3"
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Model { get; set; } = "veo3";
+ public string Model { get; set; } = "veo3";
///
/// Additional properties that are not explicitly defined in the schema
@@ -63,14 +61,14 @@ public sealed partial class RequestVeo32
#endif
public RequestVeo32(
string promptText,
- double duration,
global::Runway.RequestVeo3Ratio2 ratio,
- string model)
+ double duration = "8",
+ string model = "veo3")
{
this.PromptText = promptText ?? throw new global::System.ArgumentNullException(nameof(promptText));
- this.Duration = duration;
this.Ratio = ratio;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
+ this.Duration = duration;
+ this.Model = model;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.RequestVeo3PromptImagePromptImage.g.cs b/src/libs/Runway/Generated/Runway.Models.RequestVeo3PromptImagePromptImage.g.cs
index 445757d..754c9e9 100644
--- a/src/libs/Runway/Generated/Runway.Models.RequestVeo3PromptImagePromptImage.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.RequestVeo3PromptImagePromptImage.g.cs
@@ -22,8 +22,7 @@ public sealed partial class RequestVeo3PromptImagePromptImage
///
/// "first"
[global::System.Text.Json.Serialization.JsonPropertyName("position")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Position { get; set; } = "first";
+ public string Position { get; set; } = "first";
///
/// Additional properties that are not explicitly defined in the schema
@@ -46,10 +45,10 @@ public sealed partial class RequestVeo3PromptImagePromptImage
#endif
public RequestVeo3PromptImagePromptImage(
string uri,
- string position)
+ string position = "first")
{
this.Uri = uri;
- this.Position = position ?? throw new global::System.ArgumentNullException(nameof(position));
+ this.Position = position;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.ResponseVariant1.g.cs b/src/libs/Runway/Generated/Runway.Models.ResponseVariant1.g.cs
index 491cfac..10bc826 100644
--- a/src/libs/Runway/Generated/Runway.Models.ResponseVariant1.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.ResponseVariant1.g.cs
@@ -27,8 +27,7 @@ public sealed partial class ResponseVariant1
///
/// "PENDING"
[global::System.Text.Json.Serialization.JsonPropertyName("status")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Status { get; set; } = "PENDING";
+ public string Status { get; set; } = "PENDING";
///
/// Additional properties that are not explicitly defined in the schema
@@ -52,11 +51,11 @@ public sealed partial class ResponseVariant1
public ResponseVariant1(
global::System.Guid id,
global::System.DateTime createdAt,
- string status)
+ string status = "PENDING")
{
this.Id = id;
this.CreatedAt = createdAt;
- this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status));
+ this.Status = status;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.ResponseVariant2.g.cs b/src/libs/Runway/Generated/Runway.Models.ResponseVariant2.g.cs
index fe07bbf..ee5f3c8 100644
--- a/src/libs/Runway/Generated/Runway.Models.ResponseVariant2.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.ResponseVariant2.g.cs
@@ -27,8 +27,7 @@ public sealed partial class ResponseVariant2
///
/// "THROTTLED"
[global::System.Text.Json.Serialization.JsonPropertyName("status")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Status { get; set; } = "THROTTLED";
+ public string Status { get; set; } = "THROTTLED";
///
/// Additional properties that are not explicitly defined in the schema
@@ -52,11 +51,11 @@ public sealed partial class ResponseVariant2
public ResponseVariant2(
global::System.Guid id,
global::System.DateTime createdAt,
- string status)
+ string status = "THROTTLED")
{
this.Id = id;
this.CreatedAt = createdAt;
- this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status));
+ this.Status = status;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.ResponseVariant3.g.cs b/src/libs/Runway/Generated/Runway.Models.ResponseVariant3.g.cs
index c0ebee1..69d00ea 100644
--- a/src/libs/Runway/Generated/Runway.Models.ResponseVariant3.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.ResponseVariant3.g.cs
@@ -27,8 +27,7 @@ public sealed partial class ResponseVariant3
///
/// "CANCELLED"
[global::System.Text.Json.Serialization.JsonPropertyName("status")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Status { get; set; } = "CANCELLED";
+ public string Status { get; set; } = "CANCELLED";
///
/// Additional properties that are not explicitly defined in the schema
@@ -52,11 +51,11 @@ public sealed partial class ResponseVariant3
public ResponseVariant3(
global::System.Guid id,
global::System.DateTime createdAt,
- string status)
+ string status = "CANCELLED")
{
this.Id = id;
this.CreatedAt = createdAt;
- this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status));
+ this.Status = status;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.ResponseVariant4.g.cs b/src/libs/Runway/Generated/Runway.Models.ResponseVariant4.g.cs
index 9b7907c..5b65448 100644
--- a/src/libs/Runway/Generated/Runway.Models.ResponseVariant4.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.ResponseVariant4.g.cs
@@ -27,8 +27,7 @@ public sealed partial class ResponseVariant4
///
/// "RUNNING"
[global::System.Text.Json.Serialization.JsonPropertyName("status")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Status { get; set; } = "RUNNING";
+ public string Status { get; set; } = "RUNNING";
///
///
@@ -60,13 +59,13 @@ public sealed partial class ResponseVariant4
public ResponseVariant4(
global::System.Guid id,
global::System.DateTime createdAt,
- string status,
- double progress)
+ double progress,
+ string status = "RUNNING")
{
this.Id = id;
this.CreatedAt = createdAt;
- this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status));
this.Progress = progress;
+ this.Status = status;
}
///
diff --git a/src/libs/Runway/Generated/Runway.Models.ResponseVariant5.g.cs b/src/libs/Runway/Generated/Runway.Models.ResponseVariant5.g.cs
index 832343c..c9f5456 100644
--- a/src/libs/Runway/Generated/Runway.Models.ResponseVariant5.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.ResponseVariant5.g.cs
@@ -27,8 +27,7 @@ public sealed partial class ResponseVariant5
///
/// "FAILED"
[global::System.Text.Json.Serialization.JsonPropertyName("status")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Status { get; set; } = "FAILED";
+ public string Status { get; set; } = "FAILED";
///
/// A human-friendly reason for the failure. We do not recommend returning this to users directly without adding context.
@@ -71,14 +70,14 @@ public sealed partial class ResponseVariant5
public ResponseVariant5(
global::System.Guid id,
global::System.DateTime createdAt,
- string status,
string failure,
- string? failureCode)
+ string? failureCode,
+ string status = "FAILED")
{
this.Id = id;
this.CreatedAt = createdAt;
- this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status));
this.Failure = failure ?? throw new global::System.ArgumentNullException(nameof(failure));
+ this.Status = status;
this.FailureCode = failureCode;
}
diff --git a/src/libs/Runway/Generated/Runway.Models.ResponseVariant6.g.cs b/src/libs/Runway/Generated/Runway.Models.ResponseVariant6.g.cs
index 4ffd98d..9c7d9f6 100644
--- a/src/libs/Runway/Generated/Runway.Models.ResponseVariant6.g.cs
+++ b/src/libs/Runway/Generated/Runway.Models.ResponseVariant6.g.cs
@@ -27,8 +27,7 @@ public sealed partial class ResponseVariant6
///
/// "SUCCEEDED"
[global::System.Text.Json.Serialization.JsonPropertyName("status")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Status { get; set; } = "SUCCEEDED";
+ public string Status { get; set; } = "SUCCEEDED";
///
/// An array of URLs that return the output of the task. These URLs will expire within 24-48 hours; fetch the task again to get fresh URLs. It is expected that you download the assets at these URLs and store them in your own storage system.
@@ -62,13 +61,13 @@ public sealed partial class ResponseVariant6
public ResponseVariant6(
global::System.Guid id,
global::System.DateTime createdAt,
- string status,
- global::System.Collections.Generic.IList output)
+ global::System.Collections.Generic.IList output,
+ string status = "SUCCEEDED")
{
this.Id = id;
this.CreatedAt = createdAt;
- this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status));
this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
+ this.Status = status;
}
///