From ce9d69499caa71d0d929e72c9618f8b8941e3f29 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 24 May 2026 16:05:38 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../OpenRouter.Models.BYOKProviderSlug.g.cs | 6 ++ ...uter.Models.ByokGetParametersProvider.g.cs | 6 ++ .../OpenRouter.Models.ProviderName.g.cs | 6 ++ .../OpenRouter.Models.ProviderOptions.g.cs | 9 ++ ...dels.ProviderOptionsDigitalocean.Json.g.cs | 92 +++++++++++++++++++ ...er.Models.ProviderOptionsDigitalocean.g.cs | 19 ++++ ...els.ProviderOptionsDigitalocean2.Json.g.cs | 92 +++++++++++++++++++ ...r.Models.ProviderOptionsDigitalocean2.g.cs | 19 ++++ ...r.Models.ProviderResponseProviderName.g.cs | 6 ++ ...VideoGenerationRequestProviderOptions.g.cs | 9 ++ ...questProviderOptionsDigitalocean.Json.g.cs | 92 +++++++++++++++++++ ...ionRequestProviderOptionsDigitalocean.g.cs | 19 ++++ ...uestProviderOptionsDigitalocean2.Json.g.cs | 92 +++++++++++++++++++ ...onRequestProviderOptionsDigitalocean2.g.cs | 19 ++++ src/libs/OpenRouter/openapi.yaml | 16 ++++ 15 files changed, 502 insertions(+) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean2.g.cs diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs index cfba8a03..89b93921 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs @@ -115,6 +115,10 @@ public enum BYOKProviderSlug /// /// /// + Digitalocean, + /// + /// + /// Featherless, /// /// @@ -368,6 +372,7 @@ public static string ToValueString(this BYOKProviderSlug value) BYOKProviderSlug.Deepinfra => "deepinfra", BYOKProviderSlug.Deepseek => "deepseek", BYOKProviderSlug.Dekallm => "dekallm", + BYOKProviderSlug.Digitalocean => "digitalocean", BYOKProviderSlug.Featherless => "featherless", BYOKProviderSlug.Fireworks => "fireworks", BYOKProviderSlug.Friendli => "friendli", @@ -458,6 +463,7 @@ public static string ToValueString(this BYOKProviderSlug value) "deepinfra" => BYOKProviderSlug.Deepinfra, "deepseek" => BYOKProviderSlug.Deepseek, "dekallm" => BYOKProviderSlug.Dekallm, + "digitalocean" => BYOKProviderSlug.Digitalocean, "featherless" => BYOKProviderSlug.Featherless, "fireworks" => BYOKProviderSlug.Fireworks, "friendli" => BYOKProviderSlug.Friendli, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs index afb26870..b768dff1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs @@ -115,6 +115,10 @@ public enum ByokGetParametersProvider /// /// /// + Digitalocean, + /// + /// + /// Featherless, /// /// @@ -368,6 +372,7 @@ public static string ToValueString(this ByokGetParametersProvider value) ByokGetParametersProvider.Deepinfra => "deepinfra", ByokGetParametersProvider.Deepseek => "deepseek", ByokGetParametersProvider.Dekallm => "dekallm", + ByokGetParametersProvider.Digitalocean => "digitalocean", ByokGetParametersProvider.Featherless => "featherless", ByokGetParametersProvider.Fireworks => "fireworks", ByokGetParametersProvider.Friendli => "friendli", @@ -458,6 +463,7 @@ public static string ToValueString(this ByokGetParametersProvider value) "deepinfra" => ByokGetParametersProvider.Deepinfra, "deepseek" => ByokGetParametersProvider.Deepseek, "dekallm" => ByokGetParametersProvider.Dekallm, + "digitalocean" => ByokGetParametersProvider.Digitalocean, "featherless" => ByokGetParametersProvider.Featherless, "fireworks" => ByokGetParametersProvider.Fireworks, "friendli" => ByokGetParametersProvider.Friendli, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs index 02159178..23f38dbf 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs @@ -119,6 +119,10 @@ public enum ProviderName /// /// /// + DigitalOcean, + /// + /// + /// FakeProvider, /// /// @@ -381,6 +385,7 @@ public static string ToValueString(this ProviderName value) ProviderName.DeepInfra => "DeepInfra", ProviderName.DeepSeek => "DeepSeek", ProviderName.DekaLLM => "DekaLLM", + ProviderName.DigitalOcean => "DigitalOcean", ProviderName.FakeProvider => "FakeProvider", ProviderName.Featherless => "Featherless", ProviderName.Fireworks => "Fireworks", @@ -474,6 +479,7 @@ public static string ToValueString(this ProviderName value) "DeepInfra" => ProviderName.DeepInfra, "DeepSeek" => ProviderName.DeepSeek, "DekaLLM" => ProviderName.DekaLLM, + "DigitalOcean" => ProviderName.DigitalOcean, "FakeProvider" => ProviderName.FakeProvider, "Featherless" => ProviderName.Featherless, "Fireworks" => ProviderName.Fireworks, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs index 7a658d81..9cab1be4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs @@ -200,6 +200,12 @@ public sealed partial class ProviderOptions [global::System.Text.Json.Serialization.JsonPropertyName("dekallm")] public object? Dekallm { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("digitalocean")] + public object? Digitalocean { get; set; } + /// /// /// @@ -715,6 +721,7 @@ public sealed partial class ProviderOptions /// /// /// + /// /// /// /// @@ -830,6 +837,7 @@ public ProviderOptions( object? deepinfra, object? deepseek, object? dekallm, + object? digitalocean, object? enfer, object? fakeProvider, object? featherless, @@ -942,6 +950,7 @@ public ProviderOptions( this.Deepinfra = deepinfra; this.Deepseek = deepseek; this.Dekallm = dekallm; + this.Digitalocean = digitalocean; this.Enfer = enfer; this.FakeProvider = fakeProvider; this.Featherless = featherless; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean.Json.g.cs new file mode 100644 index 00000000..5b31fbd0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ProviderOptionsDigitalocean + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ProviderOptionsDigitalocean? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ProviderOptionsDigitalocean), + jsonSerializerContext) as global::OpenRouter.ProviderOptionsDigitalocean; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ProviderOptionsDigitalocean? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ProviderOptionsDigitalocean), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ProviderOptionsDigitalocean; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean.g.cs new file mode 100644 index 00000000..759b4319 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ProviderOptionsDigitalocean + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [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/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean2.Json.g.cs new file mode 100644 index 00000000..e39341ad --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ProviderOptionsDigitalocean2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ProviderOptionsDigitalocean2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ProviderOptionsDigitalocean2), + jsonSerializerContext) as global::OpenRouter.ProviderOptionsDigitalocean2; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ProviderOptionsDigitalocean2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ProviderOptionsDigitalocean2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ProviderOptionsDigitalocean2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean2.g.cs new file mode 100644 index 00000000..5068986b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsDigitalocean2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class ProviderOptionsDigitalocean2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [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/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs index 83390d3e..f991b70d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs @@ -139,6 +139,10 @@ public enum ProviderResponseProviderName /// /// /// + DigitalOcean, + /// + /// + /// Enfer, /// /// @@ -498,6 +502,7 @@ public static string ToValueString(this ProviderResponseProviderName value) ProviderResponseProviderName.DeepInfra => "DeepInfra", ProviderResponseProviderName.DeepSeek => "DeepSeek", ProviderResponseProviderName.DekaLLM => "DekaLLM", + ProviderResponseProviderName.DigitalOcean => "DigitalOcean", ProviderResponseProviderName.Enfer => "Enfer", ProviderResponseProviderName.FakeProvider => "FakeProvider", ProviderResponseProviderName.Featherless => "Featherless", @@ -619,6 +624,7 @@ public static string ToValueString(this ProviderResponseProviderName value) "DeepInfra" => ProviderResponseProviderName.DeepInfra, "DeepSeek" => ProviderResponseProviderName.DeepSeek, "DekaLLM" => ProviderResponseProviderName.DekaLLM, + "DigitalOcean" => ProviderResponseProviderName.DigitalOcean, "Enfer" => ProviderResponseProviderName.Enfer, "FakeProvider" => ProviderResponseProviderName.FakeProvider, "Featherless" => ProviderResponseProviderName.Featherless, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs index b614f5b5..ea7b00f6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs @@ -200,6 +200,12 @@ public sealed partial class VideoGenerationRequestProviderOptions [global::System.Text.Json.Serialization.JsonPropertyName("dekallm")] public object? Dekallm { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("digitalocean")] + public object? Digitalocean { get; set; } + /// /// /// @@ -715,6 +721,7 @@ public sealed partial class VideoGenerationRequestProviderOptions /// /// /// + /// /// /// /// @@ -830,6 +837,7 @@ public VideoGenerationRequestProviderOptions( object? deepinfra, object? deepseek, object? dekallm, + object? digitalocean, object? enfer, object? fakeProvider, object? featherless, @@ -942,6 +950,7 @@ public VideoGenerationRequestProviderOptions( this.Deepinfra = deepinfra; this.Deepseek = deepseek; this.Dekallm = dekallm; + this.Digitalocean = digitalocean; this.Enfer = enfer; this.FakeProvider = fakeProvider; this.Featherless = featherless; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean.Json.g.cs new file mode 100644 index 00000000..4d0e2f1c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VideoGenerationRequestProviderOptionsDigitalocean + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean), + jsonSerializerContext) as global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean.g.cs new file mode 100644 index 00000000..63e22a61 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VideoGenerationRequestProviderOptionsDigitalocean + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [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/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean2.Json.g.cs new file mode 100644 index 00000000..ebfe1e53 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VideoGenerationRequestProviderOptionsDigitalocean2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean2), + jsonSerializerContext) as global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean2; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VideoGenerationRequestProviderOptionsDigitalocean2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean2.g.cs new file mode 100644 index 00000000..2daf81b6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsDigitalocean2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class VideoGenerationRequestProviderOptionsDigitalocean2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [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/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index 3593981e..62e191c8 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -8731,6 +8731,7 @@ "DeepInfra", "DeepSeek", "DekaLLM", + "DigitalOcean", "Featherless", "Fireworks", "Friendli", @@ -15163,6 +15164,12 @@ "description": "Any type" } }, + "digitalocean": { + "type": "object", + "additionalProperties": { + "description": "Any type" + } + }, "enfer": { "type": "object", "additionalProperties": { @@ -15914,6 +15921,7 @@ "deepinfra", "deepseek", "dekallm", + "digitalocean", "featherless", "fireworks", "friendli", @@ -16001,6 +16009,7 @@ "deepinfra", "deepseek", "dekallm", + "digitalocean", "featherless", "fireworks", "friendli", @@ -20213,6 +20222,7 @@ "DeepInfra", "DeepSeek", "DekaLLM", + "DigitalOcean", "Featherless", "Fireworks", "Friendli", @@ -35295,6 +35305,12 @@ "description": "Any type" } }, + "digitalocean": { + "type": "object", + "additionalProperties": { + "description": "Any type" + } + }, "enfer": { "type": "object", "additionalProperties": {