diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageTtsClient.CreateAudioSpeech.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageTtsClient.CreateAudioSpeech.g.cs index 82b2d3dc..81a3a36f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageTtsClient.CreateAudioSpeech.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageTtsClient.CreateAudioSpeech.g.cs @@ -14,7 +14,7 @@ public partial interface ISubpackageTtsClient /// global::System.Threading.Tasks.Task CreateAudioSpeechAsync( - global::OpenRouter.CreateAudioSpeechRequest request, + global::OpenRouter.SpeechRequest request, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -47,8 +47,8 @@ public partial interface ISubpackageTtsClient string input, string model, string voice, - global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider? provider = default, - global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat? responseFormat = default, + global::OpenRouter.SpeechRequestProvider? provider = default, + global::OpenRouter.SpeechRequestResponseFormat? responseFormat = default, double? speed = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat.g.cs deleted file mode 100644 index 50d77f5c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace OpenRouter.JsonConverters -{ - /// - public sealed class AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatNullable.g.cs deleted file mode 100644 index 5bbd8b1c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace OpenRouter.JsonConverters -{ - /// - public sealed class AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatRequestPluginsItems.g.cs index 21322f66..0284035f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatRequestPluginsItems.g.cs @@ -60,6 +60,10 @@ public class ChatRequestPluginsItemsJsonConverter : global::System.Text.Json.Ser if (__jsonProps.Contains("enabled")) __score5++; if (__jsonProps.Contains("engine")) __score5++; if (__jsonProps.Contains("id")) __score5++; + var __score6 = 0; + if (__jsonProps.Contains("enabled")) __score6++; + if (__jsonProps.Contains("id")) __score6++; + if (__jsonProps.Contains("min_coding_score")) __score6++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -68,6 +72,7 @@ public class ChatRequestPluginsItemsJsonConverter : global::System.Text.Json.Ser if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; } + if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; } global::OpenRouter.AutoRouterPlugin? autoRouterPlugin = default; global::OpenRouter.ModerationPlugin? moderationPlugin = default; @@ -75,6 +80,7 @@ public class ChatRequestPluginsItemsJsonConverter : global::System.Text.Json.Ser global::OpenRouter.FileParserPlugin? fileParserPlugin = default; global::OpenRouter.ResponseHealingPlugin? responseHealingPlugin = default; global::OpenRouter.ContextCompressionPlugin? contextCompressionPlugin = default; + global::OpenRouter.ParetoRouterPlugin? paretoRouterPlugin = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -167,9 +173,24 @@ public class ChatRequestPluginsItemsJsonConverter : global::System.Text.Json.Ser { } } + else if (__bestIndex == 6) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ParetoRouterPlugin), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ParetoRouterPlugin).Name}"); + paretoRouterPlugin = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } } - if (autoRouterPlugin == null && moderationPlugin == null && webSearchPlugin == null && fileParserPlugin == null && responseHealingPlugin == null && contextCompressionPlugin == null) + if (autoRouterPlugin == null && moderationPlugin == null && webSearchPlugin == null && fileParserPlugin == null && responseHealingPlugin == null && contextCompressionPlugin == null && paretoRouterPlugin == null) { try { @@ -248,6 +269,19 @@ public class ChatRequestPluginsItemsJsonConverter : global::System.Text.Json.Ser catch (global::System.InvalidOperationException) { } + + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ParetoRouterPlugin), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ParetoRouterPlugin).Name}"); + paretoRouterPlugin = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } } var __value = new global::OpenRouter.ChatRequestPluginsItems( @@ -261,7 +295,9 @@ public class ChatRequestPluginsItemsJsonConverter : global::System.Text.Json.Ser responseHealingPlugin, - contextCompressionPlugin + contextCompressionPlugin, + + paretoRouterPlugin ); return __value; @@ -312,6 +348,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ContextCompressionPlugin).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ContextCompressionPlugin!, typeInfo); } + else if (value.IsParetoRouterPlugin) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ParetoRouterPlugin), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ParetoRouterPlugin).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ParetoRouterPlugin!, typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestPluginsItems.g.cs index fe2ed923..88c5aafa 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestPluginsItems.g.cs @@ -60,6 +60,10 @@ public class MessagesRequestPluginsItemsJsonConverter : global::System.Text.Json if (__jsonProps.Contains("enabled")) __score5++; if (__jsonProps.Contains("engine")) __score5++; if (__jsonProps.Contains("id")) __score5++; + var __score6 = 0; + if (__jsonProps.Contains("enabled")) __score6++; + if (__jsonProps.Contains("id")) __score6++; + if (__jsonProps.Contains("min_coding_score")) __score6++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -68,6 +72,7 @@ public class MessagesRequestPluginsItemsJsonConverter : global::System.Text.Json if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; } + if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; } global::OpenRouter.AutoRouterPlugin? autoRouterPlugin = default; global::OpenRouter.ModerationPlugin? moderationPlugin = default; @@ -75,6 +80,7 @@ public class MessagesRequestPluginsItemsJsonConverter : global::System.Text.Json global::OpenRouter.FileParserPlugin? fileParserPlugin = default; global::OpenRouter.ResponseHealingPlugin? responseHealingPlugin = default; global::OpenRouter.ContextCompressionPlugin? contextCompressionPlugin = default; + global::OpenRouter.ParetoRouterPlugin? paretoRouterPlugin = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -167,9 +173,24 @@ public class MessagesRequestPluginsItemsJsonConverter : global::System.Text.Json { } } + else if (__bestIndex == 6) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ParetoRouterPlugin), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ParetoRouterPlugin).Name}"); + paretoRouterPlugin = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } } - if (autoRouterPlugin == null && moderationPlugin == null && webSearchPlugin == null && fileParserPlugin == null && responseHealingPlugin == null && contextCompressionPlugin == null) + if (autoRouterPlugin == null && moderationPlugin == null && webSearchPlugin == null && fileParserPlugin == null && responseHealingPlugin == null && contextCompressionPlugin == null && paretoRouterPlugin == null) { try { @@ -248,6 +269,19 @@ public class MessagesRequestPluginsItemsJsonConverter : global::System.Text.Json catch (global::System.InvalidOperationException) { } + + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ParetoRouterPlugin), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ParetoRouterPlugin).Name}"); + paretoRouterPlugin = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } } var __value = new global::OpenRouter.MessagesRequestPluginsItems( @@ -261,7 +295,9 @@ public class MessagesRequestPluginsItemsJsonConverter : global::System.Text.Json responseHealingPlugin, - contextCompressionPlugin + contextCompressionPlugin, + + paretoRouterPlugin ); return __value; @@ -312,6 +348,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ContextCompressionPlugin).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ContextCompressionPlugin!, typeInfo); } + else if (value.IsParetoRouterPlugin) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ParetoRouterPlugin), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ParetoRouterPlugin).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ParetoRouterPlugin!, typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParetoRouterPluginId.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParetoRouterPluginId.g.cs new file mode 100644 index 00000000..8507fb02 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParetoRouterPluginId.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ParetoRouterPluginIdJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ParetoRouterPluginId Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ParetoRouterPluginIdExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ParetoRouterPluginId)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ParetoRouterPluginId); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ParetoRouterPluginId value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ParetoRouterPluginIdExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParetoRouterPluginIdNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParetoRouterPluginIdNullable.g.cs new file mode 100644 index 00000000..6b4cd775 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParetoRouterPluginIdNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ParetoRouterPluginIdNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ParetoRouterPluginId? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ParetoRouterPluginIdExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ParetoRouterPluginId)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ParetoRouterPluginId?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ParetoRouterPluginId? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ParetoRouterPluginIdExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestPluginsItems.g.cs index 91ae99e7..bcc0e8f9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestPluginsItems.g.cs @@ -60,6 +60,10 @@ public class ResponsesRequestPluginsItemsJsonConverter : global::System.Text.Jso if (__jsonProps.Contains("enabled")) __score5++; if (__jsonProps.Contains("engine")) __score5++; if (__jsonProps.Contains("id")) __score5++; + var __score6 = 0; + if (__jsonProps.Contains("enabled")) __score6++; + if (__jsonProps.Contains("id")) __score6++; + if (__jsonProps.Contains("min_coding_score")) __score6++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -68,6 +72,7 @@ public class ResponsesRequestPluginsItemsJsonConverter : global::System.Text.Jso if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; } + if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; } global::OpenRouter.AutoRouterPlugin? autoRouterPlugin = default; global::OpenRouter.ModerationPlugin? moderationPlugin = default; @@ -75,6 +80,7 @@ public class ResponsesRequestPluginsItemsJsonConverter : global::System.Text.Jso global::OpenRouter.FileParserPlugin? fileParserPlugin = default; global::OpenRouter.ResponseHealingPlugin? responseHealingPlugin = default; global::OpenRouter.ContextCompressionPlugin? contextCompressionPlugin = default; + global::OpenRouter.ParetoRouterPlugin? paretoRouterPlugin = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -167,9 +173,24 @@ public class ResponsesRequestPluginsItemsJsonConverter : global::System.Text.Jso { } } + else if (__bestIndex == 6) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ParetoRouterPlugin), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ParetoRouterPlugin).Name}"); + paretoRouterPlugin = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } } - if (autoRouterPlugin == null && moderationPlugin == null && webSearchPlugin == null && fileParserPlugin == null && responseHealingPlugin == null && contextCompressionPlugin == null) + if (autoRouterPlugin == null && moderationPlugin == null && webSearchPlugin == null && fileParserPlugin == null && responseHealingPlugin == null && contextCompressionPlugin == null && paretoRouterPlugin == null) { try { @@ -248,6 +269,19 @@ public class ResponsesRequestPluginsItemsJsonConverter : global::System.Text.Jso catch (global::System.InvalidOperationException) { } + + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ParetoRouterPlugin), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ParetoRouterPlugin).Name}"); + paretoRouterPlugin = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } } var __value = new global::OpenRouter.ResponsesRequestPluginsItems( @@ -261,7 +295,9 @@ public class ResponsesRequestPluginsItemsJsonConverter : global::System.Text.Jso responseHealingPlugin, - contextCompressionPlugin + contextCompressionPlugin, + + paretoRouterPlugin ); return __value; @@ -312,6 +348,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ContextCompressionPlugin).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ContextCompressionPlugin!, typeInfo); } + else if (value.IsParetoRouterPlugin) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ParetoRouterPlugin), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ParetoRouterPlugin).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ParetoRouterPlugin!, typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestResponseFormat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestResponseFormat.g.cs new file mode 100644 index 00000000..b52b9ffa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestResponseFormat.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class SpeechRequestResponseFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.SpeechRequestResponseFormat Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.SpeechRequestResponseFormatExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.SpeechRequestResponseFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.SpeechRequestResponseFormat); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.SpeechRequestResponseFormat value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.SpeechRequestResponseFormatExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestResponseFormatNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestResponseFormatNullable.g.cs new file mode 100644 index 00000000..24b4c53d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestResponseFormatNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class SpeechRequestResponseFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.SpeechRequestResponseFormat? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.SpeechRequestResponseFormatExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.SpeechRequestResponseFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.SpeechRequestResponseFormat?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.SpeechRequestResponseFormat? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.SpeechRequestResponseFormatExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs index 1235bcab..0744d0e3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs @@ -281,6 +281,10 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.ContextCompressionPluginIdNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.ParetoRouterPluginIdJsonConverter), + + typeof(global::OpenRouter.JsonConverters.ParetoRouterPluginIdNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.ProviderPreferencesDataCollectionJsonConverter), typeof(global::OpenRouter.JsonConverters.ProviderPreferencesDataCollectionNullableJsonConverter), @@ -697,9 +701,9 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaUsageLimitTypeNullableJsonConverter), - typeof(global::OpenRouter.JsonConverters.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatJsonConverter), + typeof(global::OpenRouter.JsonConverters.SpeechRequestResponseFormatJsonConverter), - typeof(global::OpenRouter.JsonConverters.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.SpeechRequestResponseFormatNullableJsonConverter), typeof(global::OpenRouter.JsonConverters.AnthropicCacheControlTtlJsonConverter), @@ -1863,6 +1867,8 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompressionEngine), TypeInfoPropertyName = "ContextCompressionEngine2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompressionPluginId), TypeInfoPropertyName = "ContextCompressionPluginId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompressionPlugin))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPluginId), TypeInfoPropertyName = "ParetoRouterPluginId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPlugin))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginsItems), TypeInfoPropertyName = "ResponsesRequestPluginsItems2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StoredPromptTemplateVariables), TypeInfoPropertyName = "StoredPromptTemplateVariables2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StoredPromptTemplate))] @@ -2159,9 +2165,10 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ActivityItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ActivityResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat), TypeInfoPropertyName = "AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechRequestProviderOptions))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechRequestProvider))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechRequestResponseFormat), TypeInfoPropertyName = "SpeechRequestResponseFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCacheControlTtl), TypeInfoPropertyName = "AnthropicCacheControlTtl2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCacheControlDirectiveType), TypeInfoPropertyName = "AnthropicCacheControlDirectiveType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestCacheControl))] @@ -2779,7 +2786,6 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExchangeAuthCodeForApiKeyRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfAuthKeysPostRequestBodyContentApplicationJsonSchemaCodeChallengeMethodObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAudioSpeechRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateKeysRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfKeysPostRequestBodyContentApplicationJsonSchemaLimitResetObject2")] diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs index c2bffbfe..9c4f7b6f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs @@ -648,3699 +648,3707 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenRouter.ResponsesRequestPluginsItems? Type155 { get; set; } + public global::OpenRouter.ParetoRouterPluginId? Type155 { get; set; } /// /// /// - public global::OpenRouter.StoredPromptTemplateVariables? Type156 { get; set; } + public global::OpenRouter.ParetoRouterPlugin? Type156 { get; set; } /// /// /// - public global::OpenRouter.StoredPromptTemplate? Type157 { get; set; } + public global::OpenRouter.ResponsesRequestPluginsItems? Type157 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesDataCollection? Type158 { get; set; } + public global::OpenRouter.StoredPromptTemplateVariables? Type158 { get; set; } /// /// /// - public global::OpenRouter.ProviderName? Type159 { get; set; } + public global::OpenRouter.StoredPromptTemplate? Type159 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesIgnoreItems? Type160 { get; set; } + public global::OpenRouter.ProviderPreferencesDataCollection? Type160 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesMaxPriceAudio? Type161 { get; set; } + public global::OpenRouter.ProviderName? Type161 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesMaxPriceCompletion? Type162 { get; set; } + public global::OpenRouter.ProviderPreferencesIgnoreItems? Type162 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesMaxPriceImage? Type163 { get; set; } + public global::OpenRouter.ProviderPreferencesMaxPriceAudio? Type163 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesMaxPriceRequest? Type164 { get; set; } + public global::OpenRouter.ProviderPreferencesMaxPriceCompletion? Type164 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesMaxPrice? Type165 { get; set; } + public global::OpenRouter.ProviderPreferencesMaxPriceImage? Type165 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesOnlyItems? Type166 { get; set; } + public global::OpenRouter.ProviderPreferencesMaxPriceRequest? Type166 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesOrderItems? Type167 { get; set; } + public global::OpenRouter.ProviderPreferencesMaxPrice? Type167 { get; set; } /// /// /// - public global::OpenRouter.PercentileLatencyCutoffs? Type168 { get; set; } + public global::OpenRouter.ProviderPreferencesOnlyItems? Type168 { get; set; } /// /// /// - public global::OpenRouter.PreferredMaxLatency? Type169 { get; set; } + public global::OpenRouter.ProviderPreferencesOrderItems? Type169 { get; set; } /// /// /// - public global::OpenRouter.PercentileThroughputCutoffs? Type170 { get; set; } + public global::OpenRouter.PercentileLatencyCutoffs? Type170 { get; set; } /// /// /// - public global::OpenRouter.PreferredMinThroughput? Type171 { get; set; } + public global::OpenRouter.PreferredMaxLatency? Type171 { get; set; } /// /// /// - public global::OpenRouter.Quantization? Type172 { get; set; } + public global::OpenRouter.PercentileThroughputCutoffs? Type172 { get; set; } /// /// /// - public global::OpenRouter.ProviderSort? Type173 { get; set; } + public global::OpenRouter.PreferredMinThroughput? Type173 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigBy? Type174 { get; set; } + public global::OpenRouter.Quantization? Type174 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigPartition? Type175 { get; set; } + public global::OpenRouter.ProviderSort? Type175 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfig? Type176 { get; set; } + public global::OpenRouter.ProviderSortConfigBy? Type176 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type177 { get; set; } + public global::OpenRouter.ProviderSortConfigPartition? Type177 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type178 { get; set; } + public global::OpenRouter.ProviderSortConfig? Type178 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesSort? Type179 { get; set; } + public global::OpenRouter.OneOf? Type179 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferences? Type180 { get; set; } + public global::OpenRouter.OneOf? Type180 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type181 { get; set; } + public global::OpenRouter.ProviderPreferencesSort? Type181 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type182 { get; set; } + public global::OpenRouter.ProviderPreferences? Type182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type183 { get; set; } + public global::OpenRouter.OneOf? Type183 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type184 { get; set; } + public global::System.Collections.Generic.IList? Type184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type185 { get; set; } + public global::System.Collections.Generic.IList? Type185 { get; set; } /// /// /// - public global::OpenRouter.ReasoningEffort? Type186 { get; set; } + public global::System.Collections.Generic.IList? Type186 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryVerbosity? Type187 { get; set; } + public global::System.Collections.Generic.IList? Type187 { get; set; } /// /// /// - public global::OpenRouter.ReasoningConfig? Type188 { get; set; } + public global::OpenRouter.ReasoningEffort? Type188 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestServiceTier? Type189 { get; set; } + public global::OpenRouter.ReasoningSummaryVerbosity? Type189 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfigType? Type190 { get; set; } + public global::OpenRouter.ReasoningConfig? Type190 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfig? Type191 { get; set; } + public global::OpenRouter.ResponsesRequestServiceTier? Type191 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfigType? Type192 { get; set; } + public global::OpenRouter.FormatTextConfigType? Type192 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfig? Type193 { get; set; } + public global::OpenRouter.FormatTextConfig? Type193 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfigType? Type194 { get; set; } + public global::OpenRouter.FormatJsonObjectConfigType? Type194 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfig? Type195 { get; set; } + public global::OpenRouter.FormatJsonObjectConfig? Type195 { get; set; } /// /// /// - public global::OpenRouter.Formats? Type196 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfigType? Type196 { get; set; } /// /// /// - public global::OpenRouter.TextConfigVerbosity? Type197 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfig? Type197 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVerbosity? Type198 { get; set; } + public global::OpenRouter.Formats? Type198 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfig? Type199 { get; set; } + public global::OpenRouter.TextConfigVerbosity? Type199 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type200 { get; set; } + public global::OpenRouter.TextExtendedConfigVerbosity? Type200 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice0? Type201 { get; set; } + public global::OpenRouter.TextExtendedConfig? Type201 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice1? Type202 { get; set; } + public global::OpenRouter.OneOf? Type202 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice2? Type203 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice0? Type203 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoiceOneOf3Type? Type204 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice1? Type204 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice3? Type205 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice2? Type205 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type0? Type206 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoiceOneOf3Type? Type206 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type1? Type207 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice3? Type207 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type? Type208 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type0? Type208 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesToolChoice4? Type209 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type1? Type209 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedMode0? Type210 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoiceOneOf4Type? Type210 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedMode1? Type211 { get; set; } + public global::OpenRouter.OpenAiResponsesToolChoice4? Type211 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedMode? Type212 { get; set; } + public global::OpenRouter.ToolChoiceAllowedMode0? Type212 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedType? Type213 { get; set; } + public global::OpenRouter.ToolChoiceAllowedMode1? Type213 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowed? Type214 { get; set; } + public global::OpenRouter.ToolChoiceAllowedMode? Type214 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoice? Type215 { get; set; } + public global::OpenRouter.ToolChoiceAllowedType? Type215 { get; set; } /// /// /// - public global::OpenRouter.FunctionToolType? Type216 { get; set; } + public global::OpenRouter.ToolChoiceAllowed? Type216 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolsItems0? Type217 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoice? Type217 { get; set; } /// /// /// - public global::OpenRouter.WebSearchEngineEnum? Type218 { get; set; } + public global::OpenRouter.FunctionToolType? Type218 { get; set; } /// /// /// - public global::OpenRouter.WebSearchDomainFilter? Type219 { get; set; } + public global::OpenRouter.ResponsesRequestToolsItems0? Type219 { get; set; } /// /// /// - public global::OpenRouter.SearchContextSizeEnum? Type220 { get; set; } + public global::OpenRouter.WebSearchEngineEnum? Type220 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchServerToolType? Type221 { get; set; } + public global::OpenRouter.WebSearchDomainFilter? Type221 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocationType? Type222 { get; set; } + public global::OpenRouter.SearchContextSizeEnum? Type222 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocation? Type223 { get; set; } + public global::OpenRouter.PreviewWebSearchServerToolType? Type223 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchServerTool? Type224 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocationType? Type224 { get; set; } /// /// /// - public global::OpenRouter.Preview20250311WebSearchServerToolType? Type225 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocation? Type225 { get; set; } /// /// /// - public global::OpenRouter.Preview20250311WebSearchServerTool? Type226 { get; set; } + public global::OpenRouter.PreviewWebSearchServerTool? Type226 { get; set; } /// /// /// - public global::OpenRouter.LegacyWebSearchServerToolType? Type227 { get; set; } + public global::OpenRouter.Preview20250311WebSearchServerToolType? Type227 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationType? Type228 { get; set; } + public global::OpenRouter.Preview20250311WebSearchServerTool? Type228 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocation? Type229 { get; set; } + public global::OpenRouter.LegacyWebSearchServerToolType? Type229 { get; set; } /// /// /// - public global::OpenRouter.LegacyWebSearchServerTool? Type230 { get; set; } + public global::OpenRouter.WebSearchUserLocationType? Type230 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolType? Type231 { get; set; } + public global::OpenRouter.WebSearchUserLocation? Type231 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerTool? Type232 { get; set; } + public global::OpenRouter.LegacyWebSearchServerTool? Type232 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFiltersOneOf0Type? Type233 { get; set; } + public global::OpenRouter.WebSearchServerToolType? Type233 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFiltersOneOf0ValueOneOf3Items? Type234 { get; set; } + public global::OpenRouter.WebSearchServerTool? Type234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type235 { get; set; } + public global::OpenRouter.FileSearchServerToolFiltersOneOf0Type? Type235 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFiltersOneOf0Value? Type236 { get; set; } + public global::OpenRouter.FileSearchServerToolFiltersOneOf0ValueOneOf3Items? Type236 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFilters0? Type237 { get; set; } + public global::System.Collections.Generic.IList? Type237 { get; set; } /// /// /// - public global::OpenRouter.CompoundFilterType? Type238 { get; set; } + public global::OpenRouter.FileSearchServerToolFiltersOneOf0Value? Type238 { get; set; } /// /// /// - public global::OpenRouter.CompoundFilter? Type239 { get; set; } + public global::OpenRouter.FileSearchServerToolFilters0? Type239 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFilters? Type240 { get; set; } + public global::OpenRouter.CompoundFilterType? Type240 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type241 { get; set; } + public global::OpenRouter.CompoundFilter? Type241 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptions? Type242 { get; set; } + public global::OpenRouter.FileSearchServerToolFilters? Type242 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolType? Type243 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type243 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerTool? Type244 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptions? Type244 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerToolEnvironment? Type245 { get; set; } + public global::OpenRouter.FileSearchServerToolType? Type245 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerToolType? Type246 { get; set; } + public global::OpenRouter.FileSearchServerTool? Type246 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerTool? Type247 { get; set; } + public global::OpenRouter.ComputerUseServerToolEnvironment? Type247 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainerOneOf1MemoryLimit? Type248 { get; set; } + public global::OpenRouter.ComputerUseServerToolType? Type248 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainerOneOf1Type? Type249 { get; set; } + public global::OpenRouter.ComputerUseServerTool? Type249 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainer1? Type250 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainerOneOf1MemoryLimit? Type250 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type251 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainerOneOf1Type? Type251 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainer? Type252 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainer1? Type252 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolType? Type253 { get; set; } + public global::OpenRouter.OneOf? Type253 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerTool? Type254 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainer? Type254 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolAllowedTools1? Type255 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolType? Type255 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolAllowedTools? Type256 { get; set; } + public global::OpenRouter.CodeInterpreterServerTool? Type256 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolConnectorId? Type257 { get; set; } + public global::OpenRouter.McpServerToolAllowedTools1? Type257 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalOneOf0Always? Type258 { get; set; } + public global::OpenRouter.McpServerToolAllowedTools? Type258 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalOneOf0Never? Type259 { get; set; } + public global::OpenRouter.McpServerToolConnectorId? Type259 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApproval0? Type260 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalOneOf0Always? Type260 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApproval1? Type261 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalOneOf0Never? Type261 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApproval2? Type262 { get; set; } + public global::OpenRouter.McpServerToolRequireApproval0? Type262 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApproval? Type263 { get; set; } + public global::OpenRouter.McpServerToolRequireApproval1? Type263 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolType? Type264 { get; set; } + public global::OpenRouter.McpServerToolRequireApproval2? Type264 { get; set; } /// /// /// - public global::OpenRouter.McpServerTool? Type265 { get; set; } + public global::OpenRouter.McpServerToolRequireApproval? Type265 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolBackground? Type266 { get; set; } + public global::OpenRouter.McpServerToolType? Type266 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type267 { get; set; } + public global::OpenRouter.McpServerTool? Type267 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type268 { get; set; } + public global::OpenRouter.ImageGenerationServerToolBackground? Type268 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolModel? Type269 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type269 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolModeration? Type270 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type270 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type271 { get; set; } + public global::OpenRouter.ImageGenerationServerToolModel? Type271 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolQuality? Type272 { get; set; } + public global::OpenRouter.ImageGenerationServerToolModeration? Type272 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolSize? Type273 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type273 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolType? Type274 { get; set; } + public global::OpenRouter.ImageGenerationServerToolQuality? Type274 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerTool? Type275 { get; set; } + public global::OpenRouter.ImageGenerationServerToolSize? Type275 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type276 { get; set; } + public global::OpenRouter.ImageGenerationServerToolType? Type276 { get; set; } /// /// /// - public global::OpenRouter.CodexLocalShellToolType? Type277 { get; set; } + public global::OpenRouter.ImageGenerationServerTool? Type277 { get; set; } /// /// /// - public global::OpenRouter.CodexLocalShellTool? Type278 { get; set; } + public global::OpenRouter.OneOf? Type278 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolType? Type279 { get; set; } + public global::OpenRouter.CodexLocalShellToolType? Type279 { get; set; } /// /// /// - public global::OpenRouter.ShellServerTool? Type280 { get; set; } + public global::OpenRouter.CodexLocalShellTool? Type280 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolType? Type281 { get; set; } + public global::OpenRouter.ShellServerToolType? Type281 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerTool? Type282 { get; set; } + public global::OpenRouter.ShellServerTool? Type282 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatOneOf0Type? Type283 { get; set; } + public global::OpenRouter.ApplyPatchServerToolType? Type283 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormat0? Type284 { get; set; } + public global::OpenRouter.ApplyPatchServerTool? Type284 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatOneOf1Syntax? Type285 { get; set; } + public global::OpenRouter.CustomToolFormatOneOf0Type? Type285 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatOneOf1Type? Type286 { get; set; } + public global::OpenRouter.CustomToolFormat0? Type286 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormat1? Type287 { get; set; } + public global::OpenRouter.CustomToolFormatOneOf1Syntax? Type287 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormat? Type288 { get; set; } + public global::OpenRouter.CustomToolFormatOneOf1Type? Type288 { get; set; } /// /// /// - public global::OpenRouter.CustomToolType? Type289 { get; set; } + public global::OpenRouter.CustomToolFormat1? Type289 { get; set; } /// /// /// - public global::OpenRouter.CustomTool? Type290 { get; set; } + public global::OpenRouter.CustomToolFormat? Type290 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolConfig? Type291 { get; set; } + public global::OpenRouter.CustomToolType? Type291 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolType? Type292 { get; set; } + public global::OpenRouter.CustomTool? Type292 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerTool? Type293 { get; set; } + public global::OpenRouter.DatetimeServerToolConfig? Type293 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolConfig? Type294 { get; set; } + public global::OpenRouter.DatetimeServerToolType? Type294 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type295 { get; set; } + public global::OpenRouter.DatetimeServerTool? Type295 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOpenRouter? Type296 { get; set; } + public global::OpenRouter.ImageGenerationServerToolConfig? Type296 { get; set; } /// /// /// - public global::OpenRouter.SearchModelsServerToolConfig? Type297 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type297 { get; set; } /// /// /// - public global::OpenRouter.ChatSearchModelsServerToolType? Type298 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOpenRouter? Type298 { get; set; } /// /// /// - public global::OpenRouter.ChatSearchModelsServerTool? Type299 { get; set; } + public global::OpenRouter.SearchModelsServerToolConfig? Type299 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterParameters? Type300 { get; set; } + public global::OpenRouter.ChatSearchModelsServerToolType? Type300 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterType? Type301 { get; set; } + public global::OpenRouter.ChatSearchModelsServerTool? Type301 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouter? Type302 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouterParameters? Type302 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolsItems? Type303 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouterType? Type303 { get; set; } /// /// /// - public global::OpenRouter.TraceConfig? Type304 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouter? Type304 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesTruncation? Type305 { get; set; } + public global::OpenRouter.ResponsesRequestToolsItems? Type305 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequest? Type306 { get; set; } + public global::OpenRouter.TraceConfig? Type306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type307 { get; set; } + public global::OpenRouter.OpenAIResponsesTruncation? Type307 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type308 { get; set; } + public global::OpenRouter.ResponsesRequest? Type308 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type309 { get; set; } + public global::System.Collections.Generic.IList? Type309 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type310 { get; set; } + public global::System.Collections.Generic.IList? Type310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type311 { get; set; } + public global::System.Collections.Generic.IList? Type311 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorFieldCode? Type312 { get; set; } + public global::OpenRouter.OneOf? Type312 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorField? Type313 { get; set; } + public global::System.Collections.Generic.IList? Type313 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetailsReason? Type314 { get; set; } + public global::OpenRouter.ResponsesErrorFieldCode? Type314 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetails? Type315 { get; set; } + public global::OpenRouter.ResponsesErrorField? Type315 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0Items? Type316 { get; set; } + public global::OpenRouter.IncompleteDetailsReason? Type316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type317 { get; set; } + public global::OpenRouter.IncompleteDetails? Type317 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Content? Type318 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0Items? Type318 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase0? Type319 { get; set; } + public global::System.Collections.Generic.IList? Type319 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase1? Type320 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Content? Type320 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase? Type321 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase0? Type321 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role0? Type322 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase1? Type322 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role1? Type323 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase? Type323 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role2? Type324 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role0? Type324 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role3? Type325 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role1? Type325 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role? Type326 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role2? Type326 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Type? Type327 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role3? Type327 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1Items0? Type328 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role? Type328 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItems? Type329 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Type? Type329 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole0? Type330 { get; set; } + public global::OpenRouter.BaseInputsOneOf1Items0? Type330 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole1? Type331 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItems? Type331 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole2? Type332 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole0? Type332 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole? Type333 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole1? Type333 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemType? Type334 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole2? Type334 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItem? Type335 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole? Type335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type336 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemType? Type336 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type337 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItem? Type337 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCall? Type338 { get; set; } + public global::System.Collections.Generic.IList? Type338 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCall? Type339 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type339 { get; set; } /// /// /// - public global::OpenRouter.OutputMessage? Type340 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCall? Type340 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type341 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCall? Type341 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1Items? Type342 { get; set; } + public global::OpenRouter.OutputMessage? Type342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type343 { get; set; } + public global::System.Collections.Generic.IList? Type343 { get; set; } /// /// /// - public global::OpenRouter.BaseInputs? Type344 { get; set; } + public global::OpenRouter.BaseInputsOneOf1Items? Type344 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultObject? Type345 { get; set; } + public global::System.Collections.Generic.IList? Type345 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoning? Type346 { get; set; } + public global::OpenRouter.BaseInputs? Type346 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCall? Type347 { get; set; } + public global::OpenRouter.BaseResponsesResultObject? Type347 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCall? Type348 { get; set; } + public global::OpenRouter.OutputItemReasoning? Type348 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFileSearchCall? Type349 { get; set; } + public global::OpenRouter.OutputItemFunctionCall? Type349 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultOutputItems? Type350 { get; set; } + public global::OpenRouter.OutputItemWebSearchCall? Type350 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningConfig? Type351 { get; set; } + public global::OpenRouter.OutputItemFileSearchCall? Type351 { get; set; } /// /// /// - public global::OpenRouter.ServiceTier2? Type352 { get; set; } + public global::OpenRouter.BaseResponsesResultOutputItems? Type352 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesResponseStatus? Type353 { get; set; } + public global::OpenRouter.BaseReasoningConfig? Type353 { get; set; } /// /// /// - public global::OpenRouter.TextConfig? Type354 { get; set; } + public global::OpenRouter.ServiceTier2? Type354 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type355 { get; set; } + public global::OpenRouter.OpenAIResponsesResponseStatus? Type355 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultToolsItems0? Type356 { get; set; } + public global::OpenRouter.TextConfig? Type356 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultToolsItems? Type357 { get; set; } + public global::OpenRouter.OneOf? Type357 { get; set; } /// /// /// - public global::OpenRouter.Truncation? Type358 { get; set; } + public global::OpenRouter.BaseResponsesResultToolsItems0? Type358 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesUsageInputTokensDetails? Type359 { get; set; } + public global::OpenRouter.BaseResponsesResultToolsItems? Type359 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesUsageOutputTokensDetails? Type360 { get; set; } + public global::OpenRouter.Truncation? Type360 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsage? Type361 { get; set; } + public global::OpenRouter.OpenAiResponsesUsageInputTokensDetails? Type361 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf0Type? Type362 { get; set; } + public global::OpenRouter.OpenAiResponsesUsageOutputTokensDetails? Type362 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItems0? Type363 { get; set; } + public global::OpenRouter.OpenAIResponsesUsage? Type363 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf1Type? Type364 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf0Type? Type364 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItems1? Type365 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItems0? Type365 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItems? Type366 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf1Type? Type366 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemType? Type367 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItems1? Type367 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemPendingSafetyChecksItems? Type368 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItems? Type368 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemStatus? Type369 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemType? Type369 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemType? Type370 { get; set; } + public global::OpenRouter.OutputComputerCallItemPendingSafetyChecksItems? Type370 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItemType? Type371 { get; set; } + public global::OpenRouter.OutputComputerCallItemStatus? Type371 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemType? Type372 { get; set; } + public global::OpenRouter.OutputComputerCallItemType? Type372 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItemType? Type373 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItemType? Type373 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type374 { get; set; } + public global::OpenRouter.OutputBashServerToolItemType? Type374 { get; set; } /// /// /// - public global::OpenRouter.OutputSearchModelsServerToolItemType? Type375 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItemType? Type375 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItemType? Type376 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type376 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItemType? Type377 { get; set; } + public global::OpenRouter.OutputSearchModelsServerToolItemType? Type377 { get; set; } /// /// /// - public global::OpenRouter.OutputMcpServerToolItemType? Type378 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItemType? Type378 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemAction? Type379 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItemType? Type379 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemType? Type380 { get; set; } + public global::OpenRouter.OutputMcpServerToolItemType? Type380 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type381 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemAction? Type381 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemType? Type382 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemType? Type382 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItemType? Type383 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type383 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItemType? Type384 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemType? Type384 { get; set; } /// /// /// - public global::OpenRouter.OutputItems? Type385 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemType? Type385 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant1? Type386 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItemType? Type386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type387 { get; set; } + public global::OpenRouter.OutputItems? Type387 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant2? Type388 { get; set; } + public global::OpenRouter.OutputItemsVariant1? Type388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type389 { get; set; } + public global::System.Collections.Generic.IList? Type389 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant3? Type390 { get; set; } + public global::OpenRouter.OutputItemsVariant2? Type390 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant4? Type391 { get; set; } + public global::System.Collections.Generic.IList? Type391 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant5? Type392 { get; set; } + public global::OpenRouter.OutputItemsVariant3? Type392 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant6? Type393 { get; set; } + public global::OpenRouter.OutputItemsVariant4? Type393 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant7? Type394 { get; set; } + public global::OpenRouter.OutputItemsVariant5? Type394 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant8? Type395 { get; set; } + public global::OpenRouter.OutputItemsVariant6? Type395 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant9? Type396 { get; set; } + public global::OpenRouter.OutputItemsVariant7? Type396 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant10? Type397 { get; set; } + public global::OpenRouter.OutputItemsVariant8? Type397 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant11? Type398 { get; set; } + public global::OpenRouter.OutputItemsVariant9? Type398 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant12? Type399 { get; set; } + public global::OpenRouter.OutputItemsVariant10? Type399 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant13? Type400 { get; set; } + public global::OpenRouter.OutputItemsVariant11? Type400 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant14? Type401 { get; set; } + public global::OpenRouter.OutputItemsVariant12? Type401 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant15? Type402 { get; set; } + public global::OpenRouter.OutputItemsVariant13? Type402 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant16? Type403 { get; set; } + public global::OpenRouter.OutputItemsVariant14? Type403 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant17? Type404 { get; set; } + public global::OpenRouter.OutputItemsVariant15? Type404 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant18? Type405 { get; set; } + public global::OpenRouter.OutputItemsVariant16? Type405 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant19? Type406 { get; set; } + public global::OpenRouter.OutputItemsVariant17? Type406 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant20? Type407 { get; set; } + public global::OpenRouter.OutputItemsVariant18? Type407 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant21? Type408 { get; set; } + public global::OpenRouter.OutputItemsVariant19? Type408 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant22? Type409 { get; set; } + public global::OpenRouter.OutputItemsVariant20? Type409 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminator? Type410 { get; set; } + public global::OpenRouter.OutputItemsVariant21? Type410 { get; set; } /// /// /// - public global::OpenRouter.UsageCostDetails? Type411 { get; set; } + public global::OpenRouter.OutputItemsVariant22? Type411 { get; set; } /// /// /// - public global::OpenRouter.Usage? Type412 { get; set; } + public global::OpenRouter.OutputItemsDiscriminator? Type412 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResult? Type413 { get; set; } + public global::OpenRouter.UsageCostDetails? Type413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type414 { get; set; } + public global::OpenRouter.Usage? Type414 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type415 { get; set; } + public global::OpenRouter.OpenResponsesResult? Type415 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponseErrorData? Type416 { get; set; } + public global::System.Collections.Generic.IList? Type416 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponse? Type417 { get; set; } + public global::System.Collections.Generic.IList? Type417 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponseErrorData? Type418 { get; set; } + public global::OpenRouter.BadRequestResponseErrorData? Type418 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponse? Type419 { get; set; } + public global::OpenRouter.BadRequestResponse? Type419 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponseErrorData? Type420 { get; set; } + public global::OpenRouter.UnauthorizedResponseErrorData? Type420 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponse? Type421 { get; set; } + public global::OpenRouter.UnauthorizedResponse? Type421 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponseErrorData? Type422 { get; set; } + public global::OpenRouter.PaymentRequiredResponseErrorData? Type422 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponse? Type423 { get; set; } + public global::OpenRouter.PaymentRequiredResponse? Type423 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponseErrorData? Type424 { get; set; } + public global::OpenRouter.NotFoundResponseErrorData? Type424 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponse? Type425 { get; set; } + public global::OpenRouter.NotFoundResponse? Type425 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponseErrorData? Type426 { get; set; } + public global::OpenRouter.RequestTimeoutResponseErrorData? Type426 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponse? Type427 { get; set; } + public global::OpenRouter.RequestTimeoutResponse? Type427 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponseErrorData? Type428 { get; set; } + public global::OpenRouter.PayloadTooLargeResponseErrorData? Type428 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponse? Type429 { get; set; } + public global::OpenRouter.PayloadTooLargeResponse? Type429 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponseErrorData? Type430 { get; set; } + public global::OpenRouter.UnprocessableEntityResponseErrorData? Type430 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponse? Type431 { get; set; } + public global::OpenRouter.UnprocessableEntityResponse? Type431 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponseErrorData? Type432 { get; set; } + public global::OpenRouter.TooManyRequestsResponseErrorData? Type432 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponse? Type433 { get; set; } + public global::OpenRouter.TooManyRequestsResponse? Type433 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponseErrorData? Type434 { get; set; } + public global::OpenRouter.InternalServerResponseErrorData? Type434 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponse? Type435 { get; set; } + public global::OpenRouter.InternalServerResponse? Type435 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponseErrorData? Type436 { get; set; } + public global::OpenRouter.BadGatewayResponseErrorData? Type436 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponse? Type437 { get; set; } + public global::OpenRouter.BadGatewayResponse? Type437 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysPostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type438 { get; set; } + public global::OpenRouter.ServiceUnavailableResponseErrorData? Type438 { get; set; } /// /// /// - public global::OpenRouter.OAuthExchangeAuthCodeForAPIKeyResponse200? Type439 { get; set; } + public global::OpenRouter.ServiceUnavailableResponse? Type439 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponseErrorData? Type440 { get; set; } + public global::OpenRouter.AuthKeysPostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type440 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponse? Type441 { get; set; } + public global::OpenRouter.OAuthExchangeAuthCodeForAPIKeyResponse200? Type441 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type442 { get; set; } + public global::OpenRouter.ForbiddenResponseErrorData? Type442 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaUsageLimitType? Type443 { get; set; } + public global::OpenRouter.ForbiddenResponse? Type443 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostResponsesContentApplicationJsonSchemaData? Type444 { get; set; } + public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type444 { get; set; } /// /// /// - public global::OpenRouter.OAuthCreateAuthKeysCodeResponse200? Type445 { get; set; } + public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaUsageLimitType? Type445 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponseErrorData? Type446 { get; set; } + public global::OpenRouter.AuthKeysCodePostResponsesContentApplicationJsonSchemaData? Type446 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponse? Type447 { get; set; } + public global::OpenRouter.OAuthCreateAuthKeysCodeResponse200? Type447 { get; set; } /// /// /// - public global::OpenRouter.ActivityItem? Type448 { get; set; } + public global::OpenRouter.ConflictResponseErrorData? Type448 { get; set; } /// /// /// - public global::OpenRouter.ActivityResponse? Type449 { get; set; } + public global::OpenRouter.ConflictResponse? Type449 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type450 { get; set; } + public global::OpenRouter.ActivityItem? Type450 { get; set; } /// /// /// - public global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions? Type451 { get; set; } + public global::OpenRouter.ActivityResponse? Type451 { get; set; } /// /// /// - public global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider? Type452 { get; set; } + public global::System.Collections.Generic.IList? Type452 { get; set; } /// /// /// - public global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat? Type453 { get; set; } + public global::OpenRouter.SpeechRequestProviderOptions? Type453 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlTtl? Type454 { get; set; } + public global::OpenRouter.SpeechRequestProvider? Type454 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlDirectiveType? Type455 { get; set; } + public global::OpenRouter.SpeechRequestResponseFormat? Type455 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestCacheControl? Type456 { get; set; } + public global::OpenRouter.SpeechRequest? Type456 { get; set; } /// /// /// - public global::OpenRouter.ChatDebugOptions? Type457 { get; set; } + public global::OpenRouter.AnthropicCacheControlTtl? Type457 { get; set; } /// /// /// - public global::OpenRouter.ChatContentCacheControl? Type458 { get; set; } + public global::OpenRouter.AnthropicCacheControlDirectiveType? Type458 { get; set; } /// /// /// - public global::OpenRouter.ChatContentTextType? Type459 { get; set; } + public global::OpenRouter.ChatRequestCacheControl? Type459 { get; set; } /// /// /// - public global::OpenRouter.ChatContentText? Type460 { get; set; } + public global::OpenRouter.ChatDebugOptions? Type460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type461 { get; set; } + public global::OpenRouter.ChatContentCacheControl? Type461 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageContent? Type462 { get; set; } + public global::OpenRouter.ChatContentTextType? Type462 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageRole? Type463 { get; set; } + public global::OpenRouter.ChatContentText? Type463 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessage? Type464 { get; set; } + public global::System.Collections.Generic.IList? Type464 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageImageUrlDetail? Type465 { get; set; } + public global::OpenRouter.ChatSystemMessageContent? Type465 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageImageUrl? Type466 { get; set; } + public global::OpenRouter.ChatSystemMessageRole? Type466 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageType? Type467 { get; set; } + public global::OpenRouter.ChatSystemMessage? Type467 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImage? Type468 { get; set; } + public global::OpenRouter.ChatContentImageImageUrlDetail? Type468 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudioInputAudio? Type469 { get; set; } + public global::OpenRouter.ChatContentImageImageUrl? Type469 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudioType? Type470 { get; set; } + public global::OpenRouter.ChatContentImageType? Type470 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudio? Type471 { get; set; } + public global::OpenRouter.ChatContentImage? Type471 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoType? Type472 { get; set; } + public global::OpenRouter.ChatContentAudioInputAudio? Type472 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoInput? Type473 { get; set; } + public global::OpenRouter.ChatContentAudioType? Type473 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideo? Type474 { get; set; } + public global::OpenRouter.ChatContentAudio? Type474 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoType? Type475 { get; set; } + public global::OpenRouter.LegacyChatContentVideoType? Type475 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideo? Type476 { get; set; } + public global::OpenRouter.ChatContentVideoInput? Type476 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFileFile? Type477 { get; set; } + public global::OpenRouter.LegacyChatContentVideo? Type477 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFileType? Type478 { get; set; } + public global::OpenRouter.ChatContentVideoType? Type478 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFile? Type479 { get; set; } + public global::OpenRouter.ChatContentVideo? Type479 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItems? Type480 { get; set; } + public global::OpenRouter.ChatContentFileFile? Type480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type481 { get; set; } + public global::OpenRouter.ChatContentFileType? Type481 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageContent? Type482 { get; set; } + public global::OpenRouter.ChatContentFile? Type482 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageRole? Type483 { get; set; } + public global::OpenRouter.ChatContentItems? Type483 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessage? Type484 { get; set; } + public global::System.Collections.Generic.IList? Type484 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessageContent? Type485 { get; set; } + public global::OpenRouter.ChatUserMessageContent? Type485 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessageRole? Type486 { get; set; } + public global::OpenRouter.ChatUserMessageRole? Type486 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessage? Type487 { get; set; } + public global::OpenRouter.ChatUserMessage? Type487 { get; set; } /// /// /// - public global::OpenRouter.ChatAudioOutput? Type488 { get; set; } + public global::OpenRouter.ChatDeveloperMessageContent? Type488 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessageContent? Type489 { get; set; } + public global::OpenRouter.ChatDeveloperMessageRole? Type489 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImagesItemsImageUrl? Type490 { get; set; } + public global::OpenRouter.ChatDeveloperMessage? Type490 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImagesItems? Type491 { get; set; } + public global::OpenRouter.ChatAudioOutput? Type491 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type492 { get; set; } + public global::OpenRouter.ChatAssistantMessageContent? Type492 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummaryType? Type493 { get; set; } + public global::OpenRouter.ChatAssistantImagesItemsImageUrl? Type493 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummary? Type494 { get; set; } + public global::OpenRouter.ChatAssistantImagesItems? Type494 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncryptedType? Type495 { get; set; } + public global::System.Collections.Generic.IList? Type495 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncrypted? Type496 { get; set; } + public global::OpenRouter.ReasoningDetailSummaryType? Type496 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailTextType? Type497 { get; set; } + public global::OpenRouter.ReasoningDetailSummary? Type497 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailText? Type498 { get; set; } + public global::OpenRouter.ReasoningDetailEncryptedType? Type498 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnion? Type499 { get; set; } + public global::OpenRouter.ReasoningDetailEncrypted? Type499 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type500 { get; set; } + public global::OpenRouter.ReasoningDetailTextType? Type500 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessageRole? Type501 { get; set; } + public global::OpenRouter.ReasoningDetailText? Type501 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallFunction? Type502 { get; set; } + public global::OpenRouter.ReasoningDetailUnion? Type502 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallType? Type503 { get; set; } + public global::System.Collections.Generic.IList? Type503 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCall? Type504 { get; set; } + public global::OpenRouter.ChatAssistantMessageRole? Type504 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessage? Type505 { get; set; } + public global::OpenRouter.ChatToolCallFunction? Type505 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type506 { get; set; } + public global::OpenRouter.ChatToolCallType? Type506 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageContent? Type507 { get; set; } + public global::OpenRouter.ChatToolCall? Type507 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageRole? Type508 { get; set; } + public global::OpenRouter.ChatAssistantMessage? Type508 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessage? Type509 { get; set; } + public global::System.Collections.Generic.IList? Type509 { get; set; } /// /// /// - public global::OpenRouter.ChatMessages? Type510 { get; set; } + public global::OpenRouter.ChatToolMessageContent? Type510 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestModalitiesItems? Type511 { get; set; } + public global::OpenRouter.ChatToolMessageRole? Type511 { get; set; } /// /// /// - public global::OpenRouter.ChatModelNamesItems? Type512 { get; set; } + public global::OpenRouter.ChatToolMessage? Type512 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type513 { get; set; } + public global::OpenRouter.ChatMessages? Type513 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItems? Type514 { get; set; } + public global::OpenRouter.ChatRequestModalitiesItems? Type514 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoningEffort? Type515 { get; set; } + public global::OpenRouter.ChatModelNamesItems? Type515 { get; set; } /// /// /// - public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type516 { get; set; } + public global::System.Collections.Generic.IList? Type516 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoning? Type517 { get; set; } + public global::OpenRouter.ChatRequestPluginsItems? Type517 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type518 { get; set; } + public global::OpenRouter.ChatRequestReasoningEffort? Type518 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfigType? Type519 { get; set; } + public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type519 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfig? Type520 { get; set; } + public global::OpenRouter.ChatRequestReasoning? Type520 { get; set; } /// /// /// - public global::OpenRouter.ChatJsonSchemaConfig? Type521 { get; set; } + public global::OpenRouter.OneOf? Type521 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type522 { get; set; } + public global::OpenRouter.ChatFormatTextConfigType? Type522 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfig? Type523 { get; set; } + public global::OpenRouter.ChatFormatTextConfig? Type523 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfigType? Type524 { get; set; } + public global::OpenRouter.ChatJsonSchemaConfig? Type524 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfig? Type525 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type525 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfigType? Type526 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfig? Type526 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfig? Type527 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfigType? Type527 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormat? Type528 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfig? Type528 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestServiceTier? Type529 { get; set; } + public global::OpenRouter.ChatFormatPythonConfigType? Type529 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestStop? Type530 { get; set; } + public global::OpenRouter.ChatFormatPythonConfig? Type530 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamOptions? Type531 { get; set; } + public global::OpenRouter.ChatRequestResponseFormat? Type531 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice0? Type532 { get; set; } + public global::OpenRouter.ChatRequestServiceTier? Type532 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice1? Type533 { get; set; } + public global::OpenRouter.ChatRequestStop? Type533 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice2? Type534 { get; set; } + public global::OpenRouter.ChatStreamOptions? Type534 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceFunction? Type535 { get; set; } + public global::OpenRouter.ChatToolChoice0? Type535 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceType? Type536 { get; set; } + public global::OpenRouter.ChatToolChoice1? Type536 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoice? Type537 { get; set; } + public global::OpenRouter.ChatToolChoice2? Type537 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice? Type538 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceFunction? Type538 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolOneOf0Function? Type539 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceType? Type539 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolOneOf0Type? Type540 { get; set; } + public global::OpenRouter.ChatNamedToolChoice? Type540 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool0? Type541 { get; set; } + public global::OpenRouter.ChatToolChoice? Type541 { get; set; } /// /// /// - public global::OpenRouter.SearchQualityLevel? Type542 { get; set; } + public global::OpenRouter.ChatFunctionToolOneOf0Function? Type542 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerToolType? Type543 { get; set; } + public global::OpenRouter.ChatFunctionToolOneOf0Type? Type543 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerTool? Type544 { get; set; } + public global::OpenRouter.ChatFunctionTool0? Type544 { get; set; } /// /// /// - public global::OpenRouter.WebSearchConfig? Type545 { get; set; } + public global::OpenRouter.SearchQualityLevel? Type545 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerToolType? Type546 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerToolType? Type546 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerTool? Type547 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerTool? Type547 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthandType? Type548 { get; set; } + public global::OpenRouter.WebSearchConfig? Type548 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthand? Type549 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerToolType? Type549 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool? Type550 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerTool? Type550 { get; set; } /// /// /// - public global::OpenRouter.ChatRequest? Type551 { get; set; } + public global::OpenRouter.ChatWebSearchShorthandType? Type551 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type552 { get; set; } + public global::OpenRouter.ChatWebSearchShorthand? Type552 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type553 { get; set; } + public global::OpenRouter.ChatFunctionTool? Type553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type554 { get; set; } + public global::OpenRouter.ChatRequest? Type554 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type555 { get; set; } + public global::System.Collections.Generic.Dictionary? Type555 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type556 { get; set; } + public global::System.Collections.Generic.IList? Type556 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type557 { get; set; } + public global::System.Collections.Generic.IList? Type557 { get; set; } /// /// /// - public global::OpenRouter.ChatFinishReasonEnum? Type558 { get; set; } + public global::System.Collections.Generic.IList? Type558 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobTopLogprobsItems? Type559 { get; set; } + public global::OpenRouter.OneOf? Type559 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprob? Type560 { get; set; } + public global::System.Collections.Generic.IList? Type560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type561 { get; set; } + public global::OpenRouter.ChatFinishReasonEnum? Type561 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobs? Type562 { get; set; } + public global::OpenRouter.ChatTokenLogprobTopLogprobsItems? Type562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type563 { get; set; } + public global::OpenRouter.ChatTokenLogprob? Type563 { get; set; } /// /// /// - public global::OpenRouter.ChatChoice? Type564 { get; set; } + public global::System.Collections.Generic.IList? Type564 { get; set; } /// /// /// - public global::OpenRouter.ChatResultObject? Type565 { get; set; } + public global::OpenRouter.ChatTokenLogprobs? Type565 { get; set; } /// /// /// - public global::OpenRouter.ChatUsageCompletionTokensDetails? Type566 { get; set; } + public global::System.Collections.Generic.IList? Type566 { get; set; } /// /// /// - public global::OpenRouter.ChatUsagePromptTokensDetails? Type567 { get; set; } + public global::OpenRouter.ChatChoice? Type567 { get; set; } /// /// /// - public global::OpenRouter.ChatUsage? Type568 { get; set; } + public global::OpenRouter.ChatResultObject? Type568 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type569 { get; set; } + public global::OpenRouter.ChatUsageCompletionTokensDetails? Type569 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type570 { get; set; } + public global::OpenRouter.ChatUsagePromptTokensDetails? Type570 { get; set; } /// /// /// - public global::OpenRouter.ChatResult? Type571 { get; set; } + public global::OpenRouter.ChatUsage? Type571 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type572 { get; set; } + public global::OpenRouter.OneOf? Type572 { get; set; } /// /// /// - public global::System.DateTimeOffset? Type573 { get; set; } + public global::OpenRouter.OneOf? Type573 { get; set; } /// /// /// - public global::OpenRouter.CreditsGetResponsesContentApplicationJsonSchemaData? Type574 { get; set; } + public global::OpenRouter.ChatResult? Type574 { get; set; } /// /// /// - public global::OpenRouter.CreditsGetCreditsResponse200? Type575 { get; set; } + public global::System.Collections.Generic.IList? Type575 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaEncodingFormat? Type576 { get; set; } + public global::System.DateTimeOffset? Type576 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf0Type? Type577 { get; set; } + public global::OpenRouter.CreditsGetResponsesContentApplicationJsonSchemaData? Type577 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0? Type578 { get; set; } + public global::OpenRouter.CreditsGetCreditsResponse200? Type578 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1ImageUrl? Type579 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaEncodingFormat? Type579 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1Type? Type580 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf0Type? Type580 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1? Type581 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0? Type581 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems? Type582 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1ImageUrl? Type582 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4Items? Type583 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1Type? Type583 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type584 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1? Type584 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type585 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems? Type585 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInput? Type586 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4Items? Type586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type587 { get; set; } + public global::System.Collections.Generic.IList? Type587 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type588 { get; set; } + public global::System.Collections.Generic.IList? Type588 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProvider? Type589 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInput? Type589 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsEmbedding? Type590 { get; set; } + public global::System.Collections.Generic.IList? Type590 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsObject? Type591 { get; set; } + public global::System.Collections.Generic.IList>? Type591 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems? Type592 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProvider? Type592 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaObject? Type593 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsEmbedding? Type593 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsagePromptTokensDetails? Type594 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsObject? Type594 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsage? Type595 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems? Type595 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsCreateEmbeddingsResponse200? Type596 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaObject? Type596 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type597 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsagePromptTokensDetails? Type597 { get; set; } /// /// /// - public global::OpenRouter.InputModality? Type598 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsage? Type598 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitectureInstructType? Type599 { get; set; } + public global::OpenRouter.EmbeddingsCreateEmbeddingsResponse200? Type599 { get; set; } /// /// /// - public global::OpenRouter.OutputModality? Type600 { get; set; } + public global::System.Collections.Generic.IList? Type600 { get; set; } /// /// /// - public global::OpenRouter.ModelGroup? Type601 { get; set; } + public global::OpenRouter.InputModality? Type601 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitecture? Type602 { get; set; } + public global::OpenRouter.ModelArchitectureInstructType? Type602 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type603 { get; set; } + public global::OpenRouter.OutputModality? Type603 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type604 { get; set; } + public global::OpenRouter.ModelGroup? Type604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type605 { get; set; } + public global::OpenRouter.ModelArchitecture? Type605 { get; set; } /// /// /// - public global::OpenRouter.DefaultParameters? Type606 { get; set; } + public global::System.Collections.Generic.IList? Type606 { get; set; } /// /// /// - public global::OpenRouter.ModelLinks? Type607 { get; set; } + public global::OpenRouter.OneOf? Type607 { get; set; } /// /// /// - public global::OpenRouter.PerRequestLimits? Type608 { get; set; } + public global::System.Collections.Generic.IList? Type608 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingAudio? Type609 { get; set; } + public global::OpenRouter.DefaultParameters? Type609 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingAudioOutput? Type610 { get; set; } + public global::OpenRouter.ModelLinks? Type610 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingCompletion? Type611 { get; set; } + public global::OpenRouter.PerRequestLimits? Type611 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingImage? Type612 { get; set; } + public global::OpenRouter.PublicPricingAudio? Type612 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingImageOutput? Type613 { get; set; } + public global::OpenRouter.PublicPricingAudioOutput? Type613 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingImageToken? Type614 { get; set; } + public global::OpenRouter.PublicPricingCompletion? Type614 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInputAudioCache? Type615 { get; set; } + public global::OpenRouter.PublicPricingImage? Type615 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInputCacheRead? Type616 { get; set; } + public global::OpenRouter.PublicPricingImageOutput? Type616 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInputCacheWrite? Type617 { get; set; } + public global::OpenRouter.PublicPricingImageToken? Type617 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInternalReasoning? Type618 { get; set; } + public global::OpenRouter.PublicPricingInputAudioCache? Type618 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingPrompt? Type619 { get; set; } + public global::OpenRouter.PublicPricingInputCacheRead? Type619 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingRequest? Type620 { get; set; } + public global::OpenRouter.PublicPricingInputCacheWrite? Type620 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingWebSearch? Type621 { get; set; } + public global::OpenRouter.PublicPricingInternalReasoning? Type621 { get; set; } /// /// /// - public global::OpenRouter.PublicPricing? Type622 { get; set; } + public global::OpenRouter.PublicPricingPrompt? Type622 { get; set; } /// /// /// - public global::OpenRouter.Parameter? Type623 { get; set; } + public global::OpenRouter.PublicPricingRequest? Type623 { get; set; } /// /// /// - public global::OpenRouter.TopProviderInfo? Type624 { get; set; } + public global::OpenRouter.PublicPricingWebSearch? Type624 { get; set; } /// /// /// - public global::OpenRouter.Model? Type625 { get; set; } + public global::OpenRouter.PublicPricing? Type625 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type626 { get; set; } + public global::OpenRouter.Parameter? Type626 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type627 { get; set; } + public global::OpenRouter.TopProviderInfo? Type627 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponse? Type628 { get; set; } + public global::OpenRouter.Model? Type628 { get; set; } /// /// /// - public global::OpenRouter.PercentileStats? Type629 { get; set; } + public global::System.Collections.Generic.IList? Type629 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingAudio? Type630 { get; set; } + public global::System.Collections.Generic.IList? Type630 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingAudioOutput? Type631 { get; set; } + public global::OpenRouter.ModelsListResponse? Type631 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingCompletion? Type632 { get; set; } + public global::OpenRouter.PercentileStats? Type632 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingImage? Type633 { get; set; } + public global::OpenRouter.PublicEndpointPricingAudio? Type633 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingImageOutput? Type634 { get; set; } + public global::OpenRouter.PublicEndpointPricingAudioOutput? Type634 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingImageToken? Type635 { get; set; } + public global::OpenRouter.PublicEndpointPricingCompletion? Type635 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInputAudioCache? Type636 { get; set; } + public global::OpenRouter.PublicEndpointPricingImage? Type636 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInputCacheRead? Type637 { get; set; } + public global::OpenRouter.PublicEndpointPricingImageOutput? Type637 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInputCacheWrite? Type638 { get; set; } + public global::OpenRouter.PublicEndpointPricingImageToken? Type638 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInternalReasoning? Type639 { get; set; } + public global::OpenRouter.PublicEndpointPricingInputAudioCache? Type639 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingPrompt? Type640 { get; set; } + public global::OpenRouter.PublicEndpointPricingInputCacheRead? Type640 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingRequest? Type641 { get; set; } + public global::OpenRouter.PublicEndpointPricingInputCacheWrite? Type641 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingWebSearch? Type642 { get; set; } + public global::OpenRouter.PublicEndpointPricingInternalReasoning? Type642 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricing? Type643 { get; set; } + public global::OpenRouter.PublicEndpointPricingPrompt? Type643 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointQuantization? Type644 { get; set; } + public global::OpenRouter.PublicEndpointPricingRequest? Type644 { get; set; } /// /// /// - public global::OpenRouter.EndpointStatus? Type645 { get; set; } + public global::OpenRouter.PublicEndpointPricingWebSearch? Type645 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointThroughputLast30M? Type646 { get; set; } + public global::OpenRouter.PublicEndpointPricing? Type646 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpoint? Type647 { get; set; } + public global::OpenRouter.PublicEndpointQuantization? Type647 { get; set; } /// /// /// - public global::OpenRouter.EndpointsListEndpointsZdrResponse200? Type648 { get; set; } + public global::OpenRouter.EndpointStatus? Type648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type649 { get; set; } + public global::OpenRouter.PublicEndpointThroughputLast30M? Type649 { get; set; } /// /// /// - public global::OpenRouter.InstructType2? Type650 { get; set; } + public global::OpenRouter.PublicEndpoint? Type650 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitectureTokenizer? Type651 { get; set; } + public global::OpenRouter.EndpointsListEndpointsZdrResponse200? Type651 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitecture? Type652 { get; set; } + public global::System.Collections.Generic.IList? Type652 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse? Type653 { get; set; } + public global::OpenRouter.InstructType2? Type653 { get; set; } /// /// /// - public global::OpenRouter.EndpointsListEndpointsResponse200? Type654 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitectureTokenizer? Type654 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataApiType? Type655 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitecture? Type655 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseProviderName? Type656 { get; set; } + public global::OpenRouter.ListEndpointsResponse? Type656 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponse? Type657 { get; set; } + public global::OpenRouter.EndpointsListEndpointsResponse200? Type657 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseData? Type658 { get; set; } + public global::OpenRouter.GenerationResponseDataApiType? Type658 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type659 { get; set; } + public global::OpenRouter.ProviderResponseProviderName? Type659 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type660 { get; set; } + public global::OpenRouter.ProviderResponse? Type660 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponse? Type661 { get; set; } + public global::OpenRouter.GenerationResponseData? Type661 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput0? Type662 { get; set; } + public global::OpenRouter.OneOf? Type662 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput1? Type663 { get; set; } + public global::System.Collections.Generic.IList? Type663 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput? Type664 { get; set; } + public global::OpenRouter.GenerationResponse? Type664 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataOutput? Type665 { get; set; } + public global::OpenRouter.GenerationContentDataInput0? Type665 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentData? Type666 { get; set; } + public global::OpenRouter.GenerationContentDataInput1? Type666 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentResponse? Type667 { get; set; } + public global::OpenRouter.GenerationContentDataInput? Type667 { get; set; } /// /// /// - public global::OpenRouter.GuardrailInterval? Type668 { get; set; } + public global::OpenRouter.GenerationContentDataOutput? Type668 { get; set; } /// /// /// - public global::OpenRouter.Guardrail? Type669 { get; set; } + public global::OpenRouter.GenerationContentData? Type669 { get; set; } /// /// /// - public global::System.Guid? Type670 { get; set; } + public global::OpenRouter.GenerationContentResponse? Type670 { get; set; } /// /// /// - public global::OpenRouter.ListGuardrailsResponse? Type671 { get; set; } + public global::OpenRouter.GuardrailInterval? Type671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type672 { get; set; } + public global::OpenRouter.Guardrail? Type672 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailRequest? Type673 { get; set; } + public global::System.Guid? Type673 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponseData? Type674 { get; set; } + public global::OpenRouter.ListGuardrailsResponse? Type674 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponse? Type675 { get; set; } + public global::System.Collections.Generic.IList? Type675 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponseData? Type676 { get; set; } + public global::OpenRouter.CreateGuardrailRequest? Type676 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponse? Type677 { get; set; } + public global::OpenRouter.CreateGuardrailResponseData? Type677 { get; set; } /// /// /// - public global::OpenRouter.DeleteGuardrailResponse? Type678 { get; set; } + public global::OpenRouter.CreateGuardrailResponse? Type678 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailRequest? Type679 { get; set; } + public global::OpenRouter.GetGuardrailResponseData? Type679 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponseData? Type680 { get; set; } + public global::OpenRouter.GetGuardrailResponse? Type680 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponse? Type681 { get; set; } + public global::OpenRouter.DeleteGuardrailResponse? Type681 { get; set; } /// /// /// - public global::OpenRouter.KeyAssignment? Type682 { get; set; } + public global::OpenRouter.UpdateGuardrailRequest? Type682 { get; set; } /// /// /// - public global::OpenRouter.ListKeyAssignmentsResponse? Type683 { get; set; } + public global::OpenRouter.UpdateGuardrailResponseData? Type683 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type684 { get; set; } + public global::OpenRouter.UpdateGuardrailResponse? Type684 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysRequest? Type685 { get; set; } + public global::OpenRouter.KeyAssignment? Type685 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysResponse? Type686 { get; set; } + public global::OpenRouter.ListKeyAssignmentsResponse? Type686 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysRequest? Type687 { get; set; } + public global::System.Collections.Generic.IList? Type687 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysResponse? Type688 { get; set; } + public global::OpenRouter.BulkAssignKeysRequest? Type688 { get; set; } /// /// /// - public global::OpenRouter.MemberAssignment? Type689 { get; set; } + public global::OpenRouter.BulkAssignKeysResponse? Type689 { get; set; } /// /// /// - public global::OpenRouter.ListMemberAssignmentsResponse? Type690 { get; set; } + public global::OpenRouter.BulkUnassignKeysRequest? Type690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type691 { get; set; } + public global::OpenRouter.BulkUnassignKeysResponse? Type691 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersRequest? Type692 { get; set; } + public global::OpenRouter.MemberAssignment? Type692 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersResponse? Type693 { get; set; } + public global::OpenRouter.ListMemberAssignmentsResponse? Type693 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersRequest? Type694 { get; set; } + public global::System.Collections.Generic.IList? Type694 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersResponse? Type695 { get; set; } + public global::OpenRouter.BulkAssignMembersRequest? Type695 { get; set; } /// /// /// - public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaDataRateLimit? Type696 { get; set; } + public global::OpenRouter.BulkAssignMembersResponse? Type696 { get; set; } /// /// /// - public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaData? Type697 { get; set; } + public global::OpenRouter.BulkUnassignMembersRequest? Type697 { get; set; } /// /// /// - public global::System.DateTime? Type698 { get; set; } + public global::OpenRouter.BulkUnassignMembersResponse? Type698 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysGetCurrentKeyResponse200? Type699 { get; set; } + public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaDataRateLimit? Type699 { get; set; } /// /// /// - public global::OpenRouter.KeysGetResponsesContentApplicationJsonSchemaDataItems? Type700 { get; set; } + public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaData? Type700 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysListResponse200? Type701 { get; set; } + public global::System.DateTime? Type701 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type702 { get; set; } + public global::OpenRouter.ApiKeysGetCurrentKeyResponse200? Type702 { get; set; } /// /// /// - public global::OpenRouter.KeysPostRequestBodyContentApplicationJsonSchemaLimitReset? Type703 { get; set; } + public global::OpenRouter.KeysGetResponsesContentApplicationJsonSchemaDataItems? Type703 { get; set; } /// /// /// - public global::OpenRouter.KeysPostResponsesContentApplicationJsonSchemaData? Type704 { get; set; } + public global::OpenRouter.ApiKeysListResponse200? Type704 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysCreateKeysResponse201? Type705 { get; set; } + public global::System.Collections.Generic.IList? Type705 { get; set; } /// /// /// - public global::OpenRouter.KeysHashGetResponsesContentApplicationJsonSchemaData? Type706 { get; set; } + public global::OpenRouter.KeysPostRequestBodyContentApplicationJsonSchemaLimitReset? Type706 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysGetKeyResponse200? Type707 { get; set; } + public global::OpenRouter.KeysPostResponsesContentApplicationJsonSchemaData? Type707 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysDeleteKeysResponse200? Type708 { get; set; } + public global::OpenRouter.ApiKeysCreateKeysResponse201? Type708 { get; set; } /// /// /// - public global::OpenRouter.KeysHashPatchRequestBodyContentApplicationJsonSchemaLimitReset? Type709 { get; set; } + public global::OpenRouter.KeysHashGetResponsesContentApplicationJsonSchemaData? Type709 { get; set; } /// /// /// - public global::OpenRouter.KeysHashPatchResponsesContentApplicationJsonSchemaData? Type710 { get; set; } + public global::OpenRouter.ApiKeysGetKeyResponse200? Type710 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysUpdateKeysResponse200? Type711 { get; set; } + public global::OpenRouter.ApiKeysDeleteKeysResponse200? Type711 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlDirective? Type712 { get; set; } + public global::OpenRouter.KeysHashPatchRequestBodyContentApplicationJsonSchemaLimitReset? Type712 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type713 { get; set; } + public global::OpenRouter.KeysHashPatchResponsesContentApplicationJsonSchemaData? Type713 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type714 { get; set; } + public global::OpenRouter.ApiKeysUpdateKeysResponse200? Type714 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0ClearToolInputs? Type715 { get; set; } + public global::OpenRouter.AnthropicCacheControlDirective? Type715 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeepType? Type716 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type716 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeep? Type717 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type717 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensTriggerType? Type718 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0ClearToolInputs? Type718 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensTrigger? Type719 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeepType? Type719 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesTriggerType? Type720 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeep? Type720 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesTrigger? Type721 { get; set; } + public global::OpenRouter.AnthropicInputTokensTriggerType? Type721 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Trigger? Type722 { get; set; } + public global::OpenRouter.AnthropicInputTokensTrigger? Type722 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Type? Type723 { get; set; } + public global::OpenRouter.AnthropicToolUsesTriggerType? Type723 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems0? Type724 { get; set; } + public global::OpenRouter.AnthropicToolUsesTrigger? Type724 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurnsType? Type725 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Trigger? Type725 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurns? Type726 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Type? Type726 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1KeepOneOf1Type? Type727 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems0? Type727 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep1? Type728 { get; set; } + public global::OpenRouter.AnthropicThinkingTurnsType? Type728 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep2? Type729 { get; set; } + public global::OpenRouter.AnthropicThinkingTurns? Type729 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep? Type730 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1KeepOneOf1Type? Type730 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Type? Type731 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep1? Type731 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems1? Type732 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep2? Type732 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Trigger? Type733 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep? Type733 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Type? Type734 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Type? Type734 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems2? Type735 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems1? Type735 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems? Type736 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Trigger? Type736 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagement? Type737 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Type? Type737 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type738 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems2? Type738 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationParamType? Type739 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems? Type739 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationParam? Type740 { get; set; } + public global::OpenRouter.MessagesRequestContextManagement? Type740 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationParamType? Type741 { get; set; } + public global::System.Collections.Generic.IList? Type741 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationParam? Type742 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationParamType? Type742 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationParamType? Type743 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationParam? Type743 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationParam? Type744 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationParamType? Type744 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocationType? Type745 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationParam? Type745 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocation? Type746 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationParamType? Type746 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocationType? Type747 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationParam? Type747 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocation? Type748 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocationType? Type748 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItems? Type749 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocation? Type749 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamType? Type750 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocationType? Type750 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParam? Type751 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocation? Type751 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type752 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItems? Type752 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageMimeType? Type753 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamType? Type753 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64ImageSourceType? Type754 { get; set; } + public global::OpenRouter.AnthropicTextBlockParam? Type754 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64ImageSource? Type755 { get; set; } + public global::System.Collections.Generic.IList? Type755 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSourceType? Type756 { get; set; } + public global::OpenRouter.AnthropicImageMimeType? Type756 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSource? Type757 { get; set; } + public global::OpenRouter.AnthropicBase64ImageSourceType? Type757 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSource? Type758 { get; set; } + public global::OpenRouter.AnthropicBase64ImageSource? Type758 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamType? Type759 { get; set; } + public global::OpenRouter.AnthropicUrlImageSourceType? Type759 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParam? Type760 { get; set; } + public global::OpenRouter.AnthropicUrlImageSource? Type760 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type761 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSource? Type761 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type762 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamType? Type762 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceType? Type763 { get; set; } + public global::OpenRouter.AnthropicImageBlockParam? Type763 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSource? Type764 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type764 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type765 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type765 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceType? Type766 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceType? Type766 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSource? Type767 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSource? Type767 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1Items? Type768 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type768 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type769 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceType? Type769 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Content? Type770 { get; set; } + public global::OpenRouter.AnthropicPlainTextSource? Type770 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Type? Type771 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1Items? Type771 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource2? Type772 { get; set; } + public global::System.Collections.Generic.IList? Type772 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSourceType? Type773 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Content? Type773 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSource? Type774 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Type? Type774 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource? Type775 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource2? Type775 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamType? Type776 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSourceType? Type776 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParam? Type777 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSource? Type777 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type778 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource? Type778 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf3Type? Type779 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamType? Type779 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items3? Type780 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParam? Type780 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf2Type? Type781 { get; set; } + public global::OpenRouter.OneOf? Type781 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2? Type782 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf3Type? Type782 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type783 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items3? Type783 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamType? Type784 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf2Type? Type784 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParam? Type785 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2? Type785 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type786 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type786 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items? Type787 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamType? Type787 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type788 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParam? Type788 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Content? Type789 { get; set; } + public global::System.Collections.Generic.IList? Type789 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Type? Type790 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items? Type790 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items4? Type791 { get; set; } + public global::System.Collections.Generic.IList? Type791 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf5Type? Type792 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Content? Type792 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items5? Type793 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Type? Type793 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf6Type? Type794 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items4? Type794 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items6? Type795 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf5Type? Type795 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolName? Type796 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items5? Type796 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf7Type? Type797 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf6Type? Type797 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items7? Type798 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items6? Type798 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type799 { get; set; } + public global::OpenRouter.AnthropicServerToolName? Type799 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type800 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf7Type? Type800 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type801 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items7? Type801 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1ErrorCode? Type802 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type802 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1Type? Type803 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type803 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content1? Type804 { get; set; } + public global::System.Collections.Generic.IList? Type804 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content? Type805 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1ErrorCode? Type805 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Type? Type806 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1Type? Type806 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items8? Type807 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content1? Type807 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf10Type? Type808 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content? Type808 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items10? Type809 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Type? Type809 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items? Type810 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items8? Type810 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type811 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf10Type? Type811 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContent? Type812 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items10? Type812 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamRole? Type813 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items? Type813 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParam? Type814 { get; set; } + public global::System.Collections.Generic.IList? Type814 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestMetadata? Type815 { get; set; } + public global::OpenRouter.MessagesMessageParamContent? Type815 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigEffort? Type816 { get; set; } + public global::OpenRouter.MessagesMessageParamRole? Type816 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormatType? Type817 { get; set; } + public global::OpenRouter.MessagesMessageParam? Type817 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormat? Type818 { get; set; } + public global::OpenRouter.MessagesRequestMetadata? Type818 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type819 { get; set; } + public global::OpenRouter.MessagesOutputConfigEffort? Type819 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudget? Type820 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormatType? Type820 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfig? Type821 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormat? Type821 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type822 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type822 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type823 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudget? Type823 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type824 { get; set; } + public global::OpenRouter.MessagesOutputConfig? Type824 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItems? Type825 { get; set; } + public global::OpenRouter.OneOf? Type825 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestServiceTier? Type826 { get; set; } + public global::OpenRouter.OneOf? Type826 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestSpeed? Type827 { get; set; } + public global::OpenRouter.OneOf? Type827 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestSystem? Type828 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItems? Type828 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingDisplay? Type829 { get; set; } + public global::OpenRouter.MessagesRequestServiceTier? Type829 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type830 { get; set; } + public global::OpenRouter.MessagesRequestSpeed? Type830 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking0? Type831 { get; set; } + public global::OpenRouter.MessagesRequestSystem? Type831 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type832 { get; set; } + public global::OpenRouter.AnthropicThinkingDisplay? Type832 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking1? Type833 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type833 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type834 { get; set; } + public global::OpenRouter.MessagesRequestThinking0? Type834 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking2? Type835 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type835 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking? Type836 { get; set; } + public global::OpenRouter.MessagesRequestThinking1? Type836 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type837 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type837 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice0? Type838 { get; set; } + public global::OpenRouter.MessagesRequestThinking2? Type838 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type839 { get; set; } + public global::OpenRouter.MessagesRequestThinking? Type839 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice1? Type840 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type840 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type841 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice0? Type841 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice2? Type842 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type842 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type843 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice1? Type843 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice3? Type844 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type844 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice? Type845 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice2? Type845 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type846 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type846 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type847 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice3? Type847 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems0? Type848 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice? Type848 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type849 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type849 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type850 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type850 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems1? Type851 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems0? Type851 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type852 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type852 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type853 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type853 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems2? Type854 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems1? Type854 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type855 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type855 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type856 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type856 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type857 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems2? Type857 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type858 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type858 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems3? Type859 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type859 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4AllowedCallersItems? Type860 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type860 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type861 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type861 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type862 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems3? Type862 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems4? Type863 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4AllowedCallersItems? Type863 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type864 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type864 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems? Type865 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type865 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequest? Type866 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems4? Type866 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type867 { get; set; } + public global::System.Collections.Generic.IList? Type867 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type868 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems? Type868 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type869 { get; set; } + public global::OpenRouter.MessagesRequest? Type869 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type870 { get; set; } + public global::OpenRouter.OneOf? Type870 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainer? Type871 { get; set; } + public global::System.Collections.Generic.IList? Type871 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationType? Type872 { get; set; } + public global::System.Collections.Generic.IList? Type872 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocation? Type873 { get; set; } + public global::System.Collections.Generic.IList? Type873 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationType? Type874 { get; set; } + public global::OpenRouter.AnthropicContainer? Type874 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocation? Type875 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationType? Type875 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type876 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocation? Type876 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocation? Type877 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationType? Type877 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitation? Type878 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocation? Type878 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockType? Type879 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type879 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlock? Type880 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocation? Type880 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type881 { get; set; } + public global::OpenRouter.AnthropicTextCitation? Type881 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCallerType? Type882 { get; set; } + public global::OpenRouter.AnthropicTextBlockType? Type882 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCaller? Type883 { get; set; } + public global::OpenRouter.AnthropicTextBlock? Type883 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type884 { get; set; } + public global::System.Collections.Generic.IList? Type884 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type885 { get; set; } + public global::OpenRouter.AnthropicDirectCallerType? Type885 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type886 { get; set; } + public global::OpenRouter.AnthropicDirectCaller? Type886 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type887 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type887 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCaller? Type888 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type888 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlockType? Type889 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type889 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlock? Type890 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type890 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockType? Type891 { get; set; } + public global::OpenRouter.AnthropicCaller? Type891 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlock? Type892 { get; set; } + public global::OpenRouter.AnthropicToolUseBlockType? Type892 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type893 { get; set; } + public global::OpenRouter.AnthropicToolUseBlock? Type893 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlock? Type894 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockType? Type894 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUseBlockType? Type895 { get; set; } + public global::OpenRouter.AnthropicThinkingBlock? Type895 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUseBlock? Type896 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type896 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultType? Type897 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlock? Type897 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResult? Type898 { get; set; } + public global::OpenRouter.AnthropicServerToolUseBlockType? Type898 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type899 { get; set; } + public global::OpenRouter.AnthropicServerToolUseBlock? Type899 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type900 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultType? Type900 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type901 { get; set; } + public global::OpenRouter.AnthropicWebSearchResult? Type901 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultError? Type902 { get; set; } + public global::System.Collections.Generic.IList? Type902 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultContent? Type903 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type903 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultType? Type904 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type904 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResult? Type905 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultError? Type905 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type906 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultContent? Type906 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type907 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultType? Type907 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultError? Type908 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResult? Type908 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationsConfig? Type909 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type909 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockSource? Type910 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type910 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockType? Type911 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultError? Type911 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlock? Type912 { get; set; } + public global::OpenRouter.AnthropicCitationsConfig? Type912 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlockType? Type913 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockSource? Type913 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlock? Type914 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockType? Type914 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContent? Type915 { get; set; } + public global::OpenRouter.AnthropicDocumentBlock? Type915 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultType? Type916 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlockType? Type916 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResult? Type917 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlock? Type917 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolErrorCode? Type918 { get; set; } + public global::OpenRouter.AnthropicWebFetchContent? Type918 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type919 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultType? Type919 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type920 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResult? Type920 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutputType? Type921 { get; set; } + public global::OpenRouter.AnthropicServerToolErrorCode? Type921 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutput? Type922 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type922 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResultType? Type923 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type923 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResult? Type924 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutputType? Type924 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type925 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutput? Type925 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type926 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResultType? Type926 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type927 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResult? Type927 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContent? Type928 { get; set; } + public global::System.Collections.Generic.IList? Type928 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type929 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type929 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResult? Type930 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type930 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type931 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContent? Type931 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type932 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type932 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type933 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResult? Type933 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type934 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type934 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type935 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type935 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type936 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type936 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResult? Type937 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type937 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type938 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type938 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContent? Type939 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type939 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type940 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResult? Type940 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type941 { get; set; } + public global::System.Collections.Generic.IList? Type941 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type942 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContent? Type942 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type943 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type943 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type944 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type944 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type945 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type945 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type946 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type946 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type947 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type947 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type948 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type948 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type949 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type949 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type950 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type950 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type951 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type951 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type952 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type952 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type953 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type953 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type954 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type954 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultErrorType? Type955 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type955 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultError? Type956 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type956 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReferenceType? Type957 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type957 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReference? Type958 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultErrorType? Type958 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultType? Type959 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultError? Type959 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResult? Type960 { get; set; } + public global::OpenRouter.AnthropicToolReferenceType? Type960 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type961 { get; set; } + public global::OpenRouter.AnthropicToolReference? Type961 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContent? Type962 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultType? Type962 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResultType? Type963 { get; set; } + public global::OpenRouter.AnthropicToolSearchResult? Type963 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResult? Type964 { get; set; } + public global::System.Collections.Generic.IList? Type964 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUploadType? Type965 { get; set; } + public global::OpenRouter.AnthropicToolSearchContent? Type965 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUpload? Type966 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResultType? Type966 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlockType? Type967 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResult? Type967 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlock? Type968 { get; set; } + public global::OpenRouter.AnthropicContainerUploadType? Type968 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlock? Type969 { get; set; } + public global::OpenRouter.AnthropicContainerUpload? Type969 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultRole? Type970 { get; set; } + public global::OpenRouter.AnthropicCompactionBlockType? Type970 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type971 { get; set; } + public global::OpenRouter.AnthropicCompactionBlock? Type971 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsType? Type972 { get; set; } + public global::OpenRouter.ORAnthropicContentBlock? Type972 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetails? Type973 { get; set; } + public global::OpenRouter.BaseMessagesResultRole? Type973 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type974 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type974 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicStopReason? Type975 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsType? Type975 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultType? Type976 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetails? Type976 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheCreation? Type977 { get; set; } + public global::OpenRouter.OneOf? Type977 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUsage? Type978 { get; set; } + public global::OpenRouter.ORAnthropicStopReason? Type978 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServiceTier? Type979 { get; set; } + public global::OpenRouter.BaseMessagesResultType? Type979 { get; set; } /// /// /// - public global::OpenRouter.AnthropicIterationCacheCreation? Type980 { get; set; } + public global::OpenRouter.AnthropicCacheCreation? Type980 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIterationType? Type981 { get; set; } + public global::OpenRouter.AnthropicServerToolUsage? Type981 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIteration? Type982 { get; set; } + public global::OpenRouter.AnthropicServiceTier? Type982 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIterationType? Type983 { get; set; } + public global::OpenRouter.AnthropicIterationCacheCreation? Type983 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIteration? Type984 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIterationType? Type984 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUnknownUsageIteration? Type985 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIteration? Type985 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUsageIteration? Type986 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIterationType? Type986 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSpeed? Type987 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIteration? Type987 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultUsage? Type988 { get; set; } + public global::OpenRouter.AnthropicUnknownUsageIteration? Type988 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type989 { get; set; } + public global::OpenRouter.AnthropicUsageIteration? Type989 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultContextManagementAppliedEditsItems? Type990 { get; set; } + public global::OpenRouter.AnthropicSpeed? Type990 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultContextManagement? Type991 { get; set; } + public global::OpenRouter.BaseMessagesResultUsage? Type991 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type992 { get; set; } + public global::System.Collections.Generic.IList? Type992 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultUsageCostDetails? Type993 { get; set; } + public global::OpenRouter.MessagesResultContextManagementAppliedEditsItems? Type993 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultUsage? Type994 { get; set; } + public global::OpenRouter.MessagesResultContextManagement? Type994 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type995 { get; set; } + public global::System.Collections.Generic.IList? Type995 { get; set; } /// /// /// - public global::OpenRouter.MessagesResult? Type996 { get; set; } + public global::OpenRouter.MessagesResultUsageCostDetails? Type996 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type997 { get; set; } + public global::OpenRouter.MessagesResultUsage? Type997 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type998 { get; set; } + public global::OpenRouter.OneOf? Type998 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorDetail? Type999 { get; set; } + public global::OpenRouter.MessagesResult? Type999 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponseType? Type1000 { get; set; } + public global::System.Collections.Generic.IList? Type1000 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponse? Type1001 { get; set; } + public global::OpenRouter.OneOf? Type1001 { get; set; } /// /// /// - public global::OpenRouter.ModelsGetParametersCategory? Type1002 { get; set; } + public global::OpenRouter.MessagesErrorDetail? Type1002 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponseData? Type1003 { get; set; } + public global::OpenRouter.MessagesErrorResponseType? Type1003 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponse? Type1004 { get; set; } + public global::OpenRouter.MessagesErrorResponse? Type1004 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type1005 { get; set; } + public global::OpenRouter.ModelsGetParametersCategory? Type1005 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type1006 { get; set; } + public global::OpenRouter.ModelsCountResponseData? Type1006 { get; set; } /// /// /// - public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type1007 { get; set; } + public global::OpenRouter.ModelsCountResponse? Type1007 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1008 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type1008 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type1009 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type1009 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type1010 { get; set; } + public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type1010 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type1011 { get; set; } + public global::System.Collections.Generic.IList? Type1011 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1012 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type1012 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1013 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type1013 { get; set; } /// /// /// - public global::OpenRouter.ProvidersListProvidersResponse200? Type1014 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type1014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1015 { get; set; } + public global::System.Collections.Generic.IList? Type1015 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type1016 { get; set; } + public global::OpenRouter.OneOf? Type1016 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type1017 { get; set; } + public global::OpenRouter.ProvidersListProvidersResponse200? Type1017 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type1018 { get; set; } + public global::System.Collections.Generic.IList? Type1018 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type1019 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type1019 { get; set; } /// /// /// - public global::OpenRouter.RerankCreateRerankResponse200? Type1020 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type1020 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1021 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type1021 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestAspectRatio? Type1022 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type1022 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageImageUrl? Type1023 { get; set; } + public global::OpenRouter.RerankCreateRerankResponse200? Type1023 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageType? Type1024 { get; set; } + public global::System.Collections.Generic.IList? Type1024 { get; set; } /// /// /// - public global::OpenRouter.FrameImageFrameType? Type1025 { get; set; } + public global::OpenRouter.VideoGenerationRequestAspectRatio? Type1025 { get; set; } /// /// /// - public global::OpenRouter.FrameImage? Type1026 { get; set; } + public global::OpenRouter.ContentPartImageImageUrl? Type1026 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImage? Type1027 { get; set; } + public global::OpenRouter.ContentPartImageType? Type1027 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1028 { get; set; } + public global::OpenRouter.FrameImageFrameType? Type1028 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProvider? Type1029 { get; set; } + public global::OpenRouter.FrameImage? Type1029 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestResolution? Type1030 { get; set; } + public global::OpenRouter.ContentPartImage? Type1030 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequest? Type1031 { get; set; } + public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1031 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1032 { get; set; } + public global::OpenRouter.VideoGenerationRequestProvider? Type1032 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1033 { get; set; } + public global::OpenRouter.VideoGenerationRequestResolution? Type1033 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponseStatus? Type1034 { get; set; } + public global::OpenRouter.VideoGenerationRequest? Type1034 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationUsage? Type1035 { get; set; } + public global::System.Collections.Generic.IList? Type1035 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponse? Type1036 { get; set; } + public global::System.Collections.Generic.IList? Type1036 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1037 { get; set; } + public global::OpenRouter.VideoGenerationResponseStatus? Type1037 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1038 { get; set; } + public global::OpenRouter.VideoGenerationUsage? Type1038 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1039 { get; set; } + public global::OpenRouter.VideoGenerationResponse? Type1039 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedSizesItems? Type1040 { get; set; } + public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1040 { get; set; } /// /// /// - public global::OpenRouter.VideoModel? Type1041 { get; set; } + public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1041 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1042 { get; set; } + public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1042 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1043 { get; set; } + public global::OpenRouter.VideoModelSupportedSizesItems? Type1043 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1044 { get; set; } + public global::OpenRouter.VideoModel? Type1044 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1045 { get; set; } + public global::System.Collections.Generic.IList? Type1045 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1046 { get; set; } + public global::System.Collections.Generic.IList? Type1046 { get; set; } /// /// /// - public global::OpenRouter.VideoModelsListResponse? Type1047 { get; set; } + public global::System.Collections.Generic.IList? Type1047 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1048 { get; set; } + public global::System.Collections.Generic.IList? Type1048 { get; set; } /// /// /// - public global::OpenRouter.Workspace? Type1049 { get; set; } + public global::System.Collections.Generic.IList? Type1049 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspacesResponse? Type1050 { get; set; } + public global::OpenRouter.VideoModelsListResponse? Type1050 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1051 { get; set; } + public global::System.Collections.Generic.IList? Type1051 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceRequest? Type1052 { get; set; } + public global::OpenRouter.Workspace? Type1052 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceResponseData? Type1053 { get; set; } + public global::OpenRouter.ListWorkspacesResponse? Type1053 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceResponse? Type1054 { get; set; } + public global::System.Collections.Generic.IList? Type1054 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponseData? Type1055 { get; set; } + public global::OpenRouter.CreateWorkspaceRequest? Type1055 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponse? Type1056 { get; set; } + public global::OpenRouter.CreateWorkspaceResponseData? Type1056 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceResponse? Type1057 { get; set; } + public global::OpenRouter.CreateWorkspaceResponse? Type1057 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequest? Type1058 { get; set; } + public global::OpenRouter.GetWorkspaceResponseData? Type1058 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponseData? Type1059 { get; set; } + public global::OpenRouter.GetWorkspaceResponse? Type1059 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponse? Type1060 { get; set; } + public global::OpenRouter.DeleteWorkspaceResponse? Type1060 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type1061 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequest? Type1061 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMemberRole? Type1062 { get; set; } + public global::OpenRouter.UpdateWorkspaceResponseData? Type1062 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMember? Type1063 { get; set; } + public global::OpenRouter.UpdateWorkspaceResponse? Type1063 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type1064 { get; set; } + public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type1064 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1065 { get; set; } + public global::OpenRouter.WorkspaceMemberRole? Type1065 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type1066 { get; set; } + public global::OpenRouter.WorkspaceMember? Type1066 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type1067 { get; set; } + public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type1067 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1068 { get; set; } + public global::System.Collections.Generic.IList? Type1068 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1069 { get; set; } + public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type1069 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequest? Type1070 { get; set; } + public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type1070 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioSpeechRequest? Type1071 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1071 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequest? Type1072 { get; set; } + public global::OpenRouter.OneOf? Type1072 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequest? Type1073 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequest? Type1073 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1074 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequest? Type1074 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequest? Type1075 { get; set; } + public global::OpenRouter.CreateKeysRequest? Type1075 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1076 { get; set; } + public global::OpenRouter.OneOf? Type1076 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequest? Type1077 { get; set; } + public global::OpenRouter.UpdateKeysRequest? Type1077 { get; set; } /// /// /// - public byte[]? Type1078 { get; set; } + public global::OpenRouter.OneOf? Type1078 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankRequest? Type1079 { get; set; } + /// + /// + /// + public byte[]? Type1080 { get; set; } /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider.Json.g.cs deleted file mode 100644 index 3bbfd3e6..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider.g.cs deleted file mode 100644 index 6a315c18..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Provider-specific passthrough configuration - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider - { - /// - /// Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("options")] - public global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions? Options { get; set; } - - /// - /// 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(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider( - global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions? options) - { - this.Options = options; - } - - /// - /// Initializes a new instance of the class. - /// - public AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider() - { - } - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions.Json.g.cs deleted file mode 100644 index 20ae5a77..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions.g.cs deleted file mode 100644 index d3791a10..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions.g.cs +++ /dev/null @@ -1,997 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body. - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("01ai")] - public object? x01ai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ai21")] - public object? Ai21 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("aion-labs")] - public object? AionLabs { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("akashml")] - public object? Akashml { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("alibaba")] - public object? Alibaba { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon-bedrock")] - public object? AmazonBedrock { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon-nova")] - public object? AmazonNova { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ambient")] - public object? Ambient { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("anthropic")] - public object? Anthropic { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("anyscale")] - public object? Anyscale { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("arcee-ai")] - public object? ArceeAi { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("atlas-cloud")] - public object? AtlasCloud { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("atoma")] - public object? Atoma { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avian")] - public object? Avian { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("azure")] - public object? Azure { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("baidu")] - public object? Baidu { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("baseten")] - public object? Baseten { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("black-forest-labs")] - public object? BlackForestLabs { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("byteplus")] - public object? Byteplus { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("centml")] - public object? Centml { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("cerebras")] - public object? Cerebras { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("chutes")] - public object? Chutes { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("cirrascale")] - public object? Cirrascale { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] - public object? Clarifai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("cloudflare")] - public object? Cloudflare { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] - public object? Cohere { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("crofai")] - public object? Crofai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("crusoe")] - public object? Crusoe { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deepinfra")] - public object? Deepinfra { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deepseek")] - public object? Deepseek { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("dekallm")] - public object? Dekallm { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("enfer")] - public object? Enfer { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("fake-provider")] - public object? FakeProvider { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("featherless")] - public object? Featherless { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("fireworks")] - public object? Fireworks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("friendli")] - public object? Friendli { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gmicloud")] - public object? Gmicloud { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("google-ai-studio")] - public object? GoogleAiStudio { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("google-vertex")] - public object? GoogleVertex { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gopomelo")] - public object? Gopomelo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("groq")] - public object? Groq { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("huggingface")] - public object? Huggingface { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("hyperbolic")] - public object? Hyperbolic { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("hyperbolic-quantized")] - public object? HyperbolicQuantized { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("inception")] - public object? Inception { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("inceptron")] - public object? Inceptron { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("inference-net")] - public object? InferenceNet { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("infermatic")] - public object? Infermatic { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("inflection")] - public object? Inflection { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("inocloud")] - public object? Inocloud { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("io-net")] - public object? IoNet { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ionstream")] - public object? Ionstream { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("klusterai")] - public object? Klusterai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("lambda")] - public object? Lambda { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("lepton")] - public object? Lepton { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("liquid")] - public object? Liquid { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("lynn")] - public object? Lynn { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("lynn-private")] - public object? LynnPrivate { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("mancer")] - public object? Mancer { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("mancer-old")] - public object? MancerOld { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("mara")] - public object? Mara { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("meta")] - public object? Meta { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("minimax")] - public object? Minimax { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] - public object? Mistral { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("modal")] - public object? Modal { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("modelrun")] - public object? Modelrun { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("modular")] - public object? Modular { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("moonshotai")] - public object? Moonshotai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("morph")] - public object? Morph { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ncompass")] - public object? Ncompass { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("nebius")] - public object? Nebius { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("nextbit")] - public object? Nextbit { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("nineteen")] - public object? Nineteen { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("novita")] - public object? Novita { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("nvidia")] - public object? Nvidia { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("octoai")] - public object? Octoai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("open-inference")] - public object? OpenInference { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("openai")] - public object? Openai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parasail")] - public object? Parasail { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("perplexity")] - public object? Perplexity { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("phala")] - public object? Phala { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("recraft")] - public object? Recraft { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("recursal")] - public object? Recursal { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reflection")] - public object? Reflection { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reka")] - public object? Reka { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("relace")] - public object? Relace { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("replicate")] - public object? Replicate { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sambanova")] - public object? Sambanova { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sambanova-cloaked")] - public object? SambanovaCloaked { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("seed")] - public object? Seed { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sf-compute")] - public object? SfCompute { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("siliconflow")] - public object? Siliconflow { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sourceful")] - public object? Sourceful { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("stealth")] - public object? Stealth { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("stepfun")] - public object? Stepfun { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("streamlake")] - public object? Streamlake { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("switchpoint")] - public object? Switchpoint { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("targon")] - public object? Targon { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("together")] - public object? Together { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("together-lite")] - public object? TogetherLite { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ubicloud")] - public object? Ubicloud { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("upstage")] - public object? Upstage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("venice")] - public object? Venice { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("wandb")] - public object? Wandb { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("xai")] - public object? Xai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("xiaomi")] - public object? Xiaomi { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("z-ai")] - public object? ZAi { get; set; } - - /// - /// 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(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions( - object? x01ai, - object? ai21, - object? aionLabs, - object? akashml, - object? alibaba, - object? amazonBedrock, - object? amazonNova, - object? ambient, - object? anthropic, - object? anyscale, - object? arceeAi, - object? atlasCloud, - object? atoma, - object? avian, - object? azure, - object? baidu, - object? baseten, - object? blackForestLabs, - object? byteplus, - object? centml, - object? cerebras, - object? chutes, - object? cirrascale, - object? clarifai, - object? cloudflare, - object? cohere, - object? crofai, - object? crusoe, - object? deepinfra, - object? deepseek, - object? dekallm, - object? enfer, - object? fakeProvider, - object? featherless, - object? fireworks, - object? friendli, - object? gmicloud, - object? googleAiStudio, - object? googleVertex, - object? gopomelo, - object? groq, - object? huggingface, - object? hyperbolic, - object? hyperbolicQuantized, - object? inception, - object? inceptron, - object? inferenceNet, - object? infermatic, - object? inflection, - object? inocloud, - object? ioNet, - object? ionstream, - object? klusterai, - object? lambda, - object? lepton, - object? liquid, - object? lynn, - object? lynnPrivate, - object? mancer, - object? mancerOld, - object? mara, - object? meta, - object? minimax, - object? mistral, - object? modal, - object? modelrun, - object? modular, - object? moonshotai, - object? morph, - object? ncompass, - object? nebius, - object? nextbit, - object? nineteen, - object? novita, - object? nvidia, - object? octoai, - object? openInference, - object? openai, - object? parasail, - object? perplexity, - object? phala, - object? recraft, - object? recursal, - object? reflection, - object? reka, - object? relace, - object? replicate, - object? sambanova, - object? sambanovaCloaked, - object? seed, - object? sfCompute, - object? siliconflow, - object? sourceful, - object? stealth, - object? stepfun, - object? streamlake, - object? switchpoint, - object? targon, - object? together, - object? togetherLite, - object? ubicloud, - object? upstage, - object? venice, - object? wandb, - object? xai, - object? xiaomi, - object? zAi) - { - this.x01ai = x01ai; - this.Ai21 = ai21; - this.AionLabs = aionLabs; - this.Akashml = akashml; - this.Alibaba = alibaba; - this.AmazonBedrock = amazonBedrock; - this.AmazonNova = amazonNova; - this.Ambient = ambient; - this.Anthropic = anthropic; - this.Anyscale = anyscale; - this.ArceeAi = arceeAi; - this.AtlasCloud = atlasCloud; - this.Atoma = atoma; - this.Avian = avian; - this.Azure = azure; - this.Baidu = baidu; - this.Baseten = baseten; - this.BlackForestLabs = blackForestLabs; - this.Byteplus = byteplus; - this.Centml = centml; - this.Cerebras = cerebras; - this.Chutes = chutes; - this.Cirrascale = cirrascale; - this.Clarifai = clarifai; - this.Cloudflare = cloudflare; - this.Cohere = cohere; - this.Crofai = crofai; - this.Crusoe = crusoe; - this.Deepinfra = deepinfra; - this.Deepseek = deepseek; - this.Dekallm = dekallm; - this.Enfer = enfer; - this.FakeProvider = fakeProvider; - this.Featherless = featherless; - this.Fireworks = fireworks; - this.Friendli = friendli; - this.Gmicloud = gmicloud; - this.GoogleAiStudio = googleAiStudio; - this.GoogleVertex = googleVertex; - this.Gopomelo = gopomelo; - this.Groq = groq; - this.Huggingface = huggingface; - this.Hyperbolic = hyperbolic; - this.HyperbolicQuantized = hyperbolicQuantized; - this.Inception = inception; - this.Inceptron = inceptron; - this.InferenceNet = inferenceNet; - this.Infermatic = infermatic; - this.Inflection = inflection; - this.Inocloud = inocloud; - this.IoNet = ioNet; - this.Ionstream = ionstream; - this.Klusterai = klusterai; - this.Lambda = lambda; - this.Lepton = lepton; - this.Liquid = liquid; - this.Lynn = lynn; - this.LynnPrivate = lynnPrivate; - this.Mancer = mancer; - this.MancerOld = mancerOld; - this.Mara = mara; - this.Meta = meta; - this.Minimax = minimax; - this.Mistral = mistral; - this.Modal = modal; - this.Modelrun = modelrun; - this.Modular = modular; - this.Moonshotai = moonshotai; - this.Morph = morph; - this.Ncompass = ncompass; - this.Nebius = nebius; - this.Nextbit = nextbit; - this.Nineteen = nineteen; - this.Novita = novita; - this.Nvidia = nvidia; - this.Octoai = octoai; - this.OpenInference = openInference; - this.Openai = openai; - this.Parasail = parasail; - this.Perplexity = perplexity; - this.Phala = phala; - this.Recraft = recraft; - this.Recursal = recursal; - this.Reflection = reflection; - this.Reka = reka; - this.Relace = relace; - this.Replicate = replicate; - this.Sambanova = sambanova; - this.SambanovaCloaked = sambanovaCloaked; - this.Seed = seed; - this.SfCompute = sfCompute; - this.Siliconflow = siliconflow; - this.Sourceful = sourceful; - this.Stealth = stealth; - this.Stepfun = stepfun; - this.Streamlake = streamlake; - this.Switchpoint = switchpoint; - this.Targon = targon; - this.Together = together; - this.TogetherLite = togetherLite; - this.Ubicloud = ubicloud; - this.Upstage = upstage; - this.Venice = venice; - this.Wandb = wandb; - this.Xai = xai; - this.Xiaomi = xiaomi; - this.ZAi = zAi; - } - - /// - /// Initializes a new instance of the class. - /// - public AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions() - { - } - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21.Json.g.cs deleted file mode 100644 index ff2cec53..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21.g.cs deleted file mode 100644 index c1c61964..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi21 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212.Json.g.cs deleted file mode 100644 index a75ad0da..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212.g.cs deleted file mode 100644 index b6ff766f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAi212 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs.Json.g.cs deleted file mode 100644 index c9c7bacd..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs.g.cs deleted file mode 100644 index 7845a7a1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2.Json.g.cs deleted file mode 100644 index 3ddbaf10..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2.g.cs deleted file mode 100644 index c9b7f311..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAionLabs2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml.Json.g.cs deleted file mode 100644 index 7fa7973c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml.g.cs deleted file mode 100644 index a5c21b90..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2.Json.g.cs deleted file mode 100644 index 1fc2f2e3..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2.g.cs deleted file mode 100644 index 7e167dbf..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAkashml2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba.Json.g.cs deleted file mode 100644 index b6be2c26..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba.g.cs deleted file mode 100644 index 768daba0..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2.Json.g.cs deleted file mode 100644 index 1831569a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2.g.cs deleted file mode 100644 index 29d90545..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAlibaba2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock.Json.g.cs deleted file mode 100644 index b6dc8f30..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock.g.cs deleted file mode 100644 index 73f4704e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2.Json.g.cs deleted file mode 100644 index 6dda7a32..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2.g.cs deleted file mode 100644 index 682622e5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonBedrock2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova.Json.g.cs deleted file mode 100644 index b04ff72c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova.g.cs deleted file mode 100644 index 4cc5d248..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2.Json.g.cs deleted file mode 100644 index b19d9bbd..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2.g.cs deleted file mode 100644 index 92008e47..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmazonNova2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient.Json.g.cs deleted file mode 100644 index 45526e7d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient.g.cs deleted file mode 100644 index fe48ddb5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2.Json.g.cs deleted file mode 100644 index cd18c849..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2.g.cs deleted file mode 100644 index 113e58d4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAmbient2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic.Json.g.cs deleted file mode 100644 index 02dc56ef..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic.g.cs deleted file mode 100644 index fe002aba..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2.Json.g.cs deleted file mode 100644 index de931b6f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2.g.cs deleted file mode 100644 index e8ba10f1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnthropic2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale.Json.g.cs deleted file mode 100644 index f4364363..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale.g.cs deleted file mode 100644 index a7519f5b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2.Json.g.cs deleted file mode 100644 index 22559975..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2.g.cs deleted file mode 100644 index e44556a3..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAnyscale2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi.Json.g.cs deleted file mode 100644 index 8019aa16..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi.g.cs deleted file mode 100644 index 6e321d30..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2.Json.g.cs deleted file mode 100644 index 0ab947c5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2.g.cs deleted file mode 100644 index c93f2de4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsArceeAi2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud.Json.g.cs deleted file mode 100644 index 6743135f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud.g.cs deleted file mode 100644 index f8320d70..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2.Json.g.cs deleted file mode 100644 index 70b9c180..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2.g.cs deleted file mode 100644 index 5424e99f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtlasCloud2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma.Json.g.cs deleted file mode 100644 index 53ddbd30..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma.g.cs deleted file mode 100644 index 74cc5122..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2.Json.g.cs deleted file mode 100644 index 054ca8a4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2.g.cs deleted file mode 100644 index 0976ea1b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAtoma2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian.Json.g.cs deleted file mode 100644 index 72102f78..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian.g.cs deleted file mode 100644 index 6df8697d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2.Json.g.cs deleted file mode 100644 index 2701fdd5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2.g.cs deleted file mode 100644 index d57b0ec2..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAvian2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure.Json.g.cs deleted file mode 100644 index e8e7f448..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure.g.cs deleted file mode 100644 index 7c37b5b7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2.Json.g.cs deleted file mode 100644 index bead72a7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2.g.cs deleted file mode 100644 index 1c15c0c6..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsAzure2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu.Json.g.cs deleted file mode 100644 index df54b6ba..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu.g.cs deleted file mode 100644 index d995b4ab..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2.Json.g.cs deleted file mode 100644 index 894aaf3e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2.g.cs deleted file mode 100644 index e2292f16..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaidu2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten.Json.g.cs deleted file mode 100644 index 4fbbc8cf..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten.g.cs deleted file mode 100644 index a95230e5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2.Json.g.cs deleted file mode 100644 index 34dcea99..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2.g.cs deleted file mode 100644 index 9bca9079..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBaseten2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs.Json.g.cs deleted file mode 100644 index 01f9b9e1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs.g.cs deleted file mode 100644 index 81ef359b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2.Json.g.cs deleted file mode 100644 index 39917df2..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2.g.cs deleted file mode 100644 index b38f3017..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsBlackForestLabs2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus.Json.g.cs deleted file mode 100644 index cc2c36e3..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus.g.cs deleted file mode 100644 index d90c0a12..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2.Json.g.cs deleted file mode 100644 index abbd6f0d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2.g.cs deleted file mode 100644 index 6fcd38ce..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsByteplus2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml.Json.g.cs deleted file mode 100644 index c8c38060..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml.g.cs deleted file mode 100644 index 4097d85a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2.Json.g.cs deleted file mode 100644 index 5e285a00..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2.g.cs deleted file mode 100644 index c51c4b5b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCentml2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras.Json.g.cs deleted file mode 100644 index 76f226fd..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras.g.cs deleted file mode 100644 index 810df771..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2.Json.g.cs deleted file mode 100644 index 97cce0db..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2.g.cs deleted file mode 100644 index 6ecff4ed..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCerebras2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes.Json.g.cs deleted file mode 100644 index 2dd43c9f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes.g.cs deleted file mode 100644 index 885a6fa9..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2.Json.g.cs deleted file mode 100644 index c3bb8175..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2.g.cs deleted file mode 100644 index 9a084e13..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsChutes2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale.Json.g.cs deleted file mode 100644 index 07cb057f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale.g.cs deleted file mode 100644 index 62771073..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2.Json.g.cs deleted file mode 100644 index 512b8ec1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2.g.cs deleted file mode 100644 index a094d2b9..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCirrascale2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai.Json.g.cs deleted file mode 100644 index 444f5b32..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai.g.cs deleted file mode 100644 index b564ce0b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2.Json.g.cs deleted file mode 100644 index 4cbe62f4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2.g.cs deleted file mode 100644 index 79f366cc..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsClarifai2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare.Json.g.cs deleted file mode 100644 index 7a985863..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare.g.cs deleted file mode 100644 index 6a727d89..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2.Json.g.cs deleted file mode 100644 index 3177b18b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2.g.cs deleted file mode 100644 index 6d95e350..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCloudflare2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere.Json.g.cs deleted file mode 100644 index 57bc9fea..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere.g.cs deleted file mode 100644 index 9a80b918..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2.Json.g.cs deleted file mode 100644 index c5f00972..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2.g.cs deleted file mode 100644 index 88983838..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCohere2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai.Json.g.cs deleted file mode 100644 index 9e67e106..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai.g.cs deleted file mode 100644 index eda52d55..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2.Json.g.cs deleted file mode 100644 index aa80c8e4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2.g.cs deleted file mode 100644 index 061858e9..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrofai2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe.Json.g.cs deleted file mode 100644 index b4db7a22..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe.g.cs deleted file mode 100644 index afecc3f5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2.Json.g.cs deleted file mode 100644 index e9ad220a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2.g.cs deleted file mode 100644 index f86734a8..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsCrusoe2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra.Json.g.cs deleted file mode 100644 index f03cc6a0..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra.g.cs deleted file mode 100644 index 50aa331a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2.Json.g.cs deleted file mode 100644 index f6a7470f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2.g.cs deleted file mode 100644 index 02aebbdb..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepinfra2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek.Json.g.cs deleted file mode 100644 index b57e320f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek.g.cs deleted file mode 100644 index 3c3c11a2..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2.Json.g.cs deleted file mode 100644 index bebd9631..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2.g.cs deleted file mode 100644 index f44fe90a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDeepseek2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm.Json.g.cs deleted file mode 100644 index 2ae5edc2..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm.g.cs deleted file mode 100644 index b6098ad5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2.Json.g.cs deleted file mode 100644 index 3950a827..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2.g.cs deleted file mode 100644 index 64395960..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsDekallm2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer.Json.g.cs deleted file mode 100644 index f51056f0..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer.g.cs deleted file mode 100644 index 0ceb936c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2.Json.g.cs deleted file mode 100644 index b1f61210..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2.g.cs deleted file mode 100644 index dadf149b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsEnfer2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider.Json.g.cs deleted file mode 100644 index 018c3422..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider.g.cs deleted file mode 100644 index e690d708..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2.Json.g.cs deleted file mode 100644 index bf8d7ba9..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2.g.cs deleted file mode 100644 index bb7e7cbb..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFakeProvider2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless.Json.g.cs deleted file mode 100644 index f5e4db3a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless.g.cs deleted file mode 100644 index 4223d79c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2.Json.g.cs deleted file mode 100644 index e2c1e315..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2.g.cs deleted file mode 100644 index 28eec486..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFeatherless2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks.Json.g.cs deleted file mode 100644 index 0dc90c82..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks.g.cs deleted file mode 100644 index 284a508d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2.Json.g.cs deleted file mode 100644 index 4ff8a054..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2.g.cs deleted file mode 100644 index 721031d8..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFireworks2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli.Json.g.cs deleted file mode 100644 index cc99ce83..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli.g.cs deleted file mode 100644 index 2548bdd4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2.Json.g.cs deleted file mode 100644 index b11a75f0..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2.g.cs deleted file mode 100644 index 5ef09b4b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsFriendli2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud.Json.g.cs deleted file mode 100644 index bd3fc30c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud.g.cs deleted file mode 100644 index 33e6ec19..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2.Json.g.cs deleted file mode 100644 index ae58e05b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2.g.cs deleted file mode 100644 index dbc22221..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGmicloud2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio.Json.g.cs deleted file mode 100644 index 41de8349..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio.g.cs deleted file mode 100644 index 85ebb312..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2.Json.g.cs deleted file mode 100644 index b33d44b9..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2.g.cs deleted file mode 100644 index dde79ad3..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleAiStudio2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex.Json.g.cs deleted file mode 100644 index a9822a97..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex.g.cs deleted file mode 100644 index c4a2e893..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2.Json.g.cs deleted file mode 100644 index c137e1f6..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2.g.cs deleted file mode 100644 index 21f9fa2d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGoogleVertex2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo.Json.g.cs deleted file mode 100644 index 05662634..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo.g.cs deleted file mode 100644 index 9a21c209..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2.Json.g.cs deleted file mode 100644 index 6b0c01b2..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2.g.cs deleted file mode 100644 index d45b9b2e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGopomelo2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq.Json.g.cs deleted file mode 100644 index c9cf04f4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq.g.cs deleted file mode 100644 index a26e58ef..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2.Json.g.cs deleted file mode 100644 index 75b16c40..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2.g.cs deleted file mode 100644 index 76adadec..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsGroq2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface.Json.g.cs deleted file mode 100644 index 435996a1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface.g.cs deleted file mode 100644 index 2299830f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2.Json.g.cs deleted file mode 100644 index be535331..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2.g.cs deleted file mode 100644 index eec5cbf2..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHuggingface2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic.Json.g.cs deleted file mode 100644 index 651cf898..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic.g.cs deleted file mode 100644 index d34a93f0..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2.Json.g.cs deleted file mode 100644 index dc34735d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2.g.cs deleted file mode 100644 index 21a6bb6f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolic2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized.Json.g.cs deleted file mode 100644 index ee5552eb..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized.g.cs deleted file mode 100644 index e0dc8460..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2.Json.g.cs deleted file mode 100644 index 7d784fb1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2.g.cs deleted file mode 100644 index f99c380d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsHyperbolicQuantized2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception.Json.g.cs deleted file mode 100644 index dbec6c84..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception.g.cs deleted file mode 100644 index 8f0dfece..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2.Json.g.cs deleted file mode 100644 index 1211f8de..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2.g.cs deleted file mode 100644 index 8cc5f61e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInception2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron.Json.g.cs deleted file mode 100644 index 4521c97d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron.g.cs deleted file mode 100644 index e31cda54..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2.Json.g.cs deleted file mode 100644 index 2295e5de..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2.g.cs deleted file mode 100644 index 76ffb441..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInceptron2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet.Json.g.cs deleted file mode 100644 index e7145d70..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet.g.cs deleted file mode 100644 index 30b19065..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2.Json.g.cs deleted file mode 100644 index 512f3bed..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2.g.cs deleted file mode 100644 index 61ddfed0..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInferenceNet2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic.Json.g.cs deleted file mode 100644 index 8fc737d3..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic.g.cs deleted file mode 100644 index aed442ad..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2.Json.g.cs deleted file mode 100644 index 05f078c9..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2.g.cs deleted file mode 100644 index 5e99e0f6..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInfermatic2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection.Json.g.cs deleted file mode 100644 index ede16b4b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection.g.cs deleted file mode 100644 index c8cb26e0..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2.Json.g.cs deleted file mode 100644 index f7ad3bac..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2.g.cs deleted file mode 100644 index 96b9dc22..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInflection2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud.Json.g.cs deleted file mode 100644 index 3b26ed8b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud.g.cs deleted file mode 100644 index babd7a7e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2.Json.g.cs deleted file mode 100644 index 54cf3bf0..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2.g.cs deleted file mode 100644 index 35df08b9..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsInocloud2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet.Json.g.cs deleted file mode 100644 index e3d46e3d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet.g.cs deleted file mode 100644 index 348ede98..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2.Json.g.cs deleted file mode 100644 index b7f47651..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2.g.cs deleted file mode 100644 index 0a29e9e3..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIoNet2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream.Json.g.cs deleted file mode 100644 index 235e3d2d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream.g.cs deleted file mode 100644 index dc7a2b98..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2.Json.g.cs deleted file mode 100644 index 78abdc01..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2.g.cs deleted file mode 100644 index 2c2e0c59..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsIonstream2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai.Json.g.cs deleted file mode 100644 index 15c63d48..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai.g.cs deleted file mode 100644 index b0b6522d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2.Json.g.cs deleted file mode 100644 index b40d7e47..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2.g.cs deleted file mode 100644 index 0bd633b7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsKlusterai2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda.Json.g.cs deleted file mode 100644 index ba74450f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda.g.cs deleted file mode 100644 index b4f9556f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2.Json.g.cs deleted file mode 100644 index f459c4bd..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2.g.cs deleted file mode 100644 index 85f69655..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLambda2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton.Json.g.cs deleted file mode 100644 index 0f179171..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton.g.cs deleted file mode 100644 index 6f0f2ec0..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2.Json.g.cs deleted file mode 100644 index a443c442..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2.g.cs deleted file mode 100644 index 0acf290f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLepton2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid.Json.g.cs deleted file mode 100644 index 5aad2c6f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid.g.cs deleted file mode 100644 index 08623778..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2.Json.g.cs deleted file mode 100644 index c443cc55..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2.g.cs deleted file mode 100644 index 07708224..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLiquid2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn.Json.g.cs deleted file mode 100644 index 4fe95ec1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn.g.cs deleted file mode 100644 index 345c4454..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2.Json.g.cs deleted file mode 100644 index 0ab6f29e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2.g.cs deleted file mode 100644 index 3b4a0224..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynn2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate.Json.g.cs deleted file mode 100644 index c71facdb..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate.g.cs deleted file mode 100644 index bdfca9c1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2.Json.g.cs deleted file mode 100644 index fc9116bb..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2.g.cs deleted file mode 100644 index 589644f4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsLynnPrivate2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer.Json.g.cs deleted file mode 100644 index 3d54a34d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer.g.cs deleted file mode 100644 index acc42fa8..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2.Json.g.cs deleted file mode 100644 index b0ea12b4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2.g.cs deleted file mode 100644 index 3e8a8549..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancer2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld.Json.g.cs deleted file mode 100644 index 70e82c8e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld.g.cs deleted file mode 100644 index a4e0b453..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2.Json.g.cs deleted file mode 100644 index f07ab1fe..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2.g.cs deleted file mode 100644 index da59c36c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMancerOld2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara.Json.g.cs deleted file mode 100644 index 02564ae5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara.g.cs deleted file mode 100644 index bf6c8b5c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2.Json.g.cs deleted file mode 100644 index 109820ac..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2.g.cs deleted file mode 100644 index eba0a092..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMara2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta.Json.g.cs deleted file mode 100644 index a7535e10..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta.g.cs deleted file mode 100644 index 97a91d67..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2.Json.g.cs deleted file mode 100644 index 92dc97dd..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2.g.cs deleted file mode 100644 index 82535522..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMeta2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax.Json.g.cs deleted file mode 100644 index b56524bf..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax.g.cs deleted file mode 100644 index 8721f279..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2.Json.g.cs deleted file mode 100644 index 24c48912..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2.g.cs deleted file mode 100644 index 8b58d41b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMinimax2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral.Json.g.cs deleted file mode 100644 index 2965133d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral.g.cs deleted file mode 100644 index a8c1600c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2.Json.g.cs deleted file mode 100644 index f7da782c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2.g.cs deleted file mode 100644 index c00e749c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMistral2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal.Json.g.cs deleted file mode 100644 index 2858805a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal.g.cs deleted file mode 100644 index ab769557..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2.Json.g.cs deleted file mode 100644 index 67dda3b2..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2.g.cs deleted file mode 100644 index a788d150..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModal2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun.Json.g.cs deleted file mode 100644 index 8c4e12cd..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun.g.cs deleted file mode 100644 index c5e40f1a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2.Json.g.cs deleted file mode 100644 index d4305d10..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2.g.cs deleted file mode 100644 index 13db6a9c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModelrun2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular.Json.g.cs deleted file mode 100644 index 65fc43a8..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular.g.cs deleted file mode 100644 index 6026143a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2.Json.g.cs deleted file mode 100644 index 304c936b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2.g.cs deleted file mode 100644 index 5efa7f42..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsModular2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai.Json.g.cs deleted file mode 100644 index d63e0c2b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai.g.cs deleted file mode 100644 index 3dc4681f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2.Json.g.cs deleted file mode 100644 index c39ec89e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2.g.cs deleted file mode 100644 index b81e2f94..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMoonshotai2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph.Json.g.cs deleted file mode 100644 index 6e2ecb02..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph.g.cs deleted file mode 100644 index bda1e068..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2.Json.g.cs deleted file mode 100644 index c7f4557b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2.g.cs deleted file mode 100644 index 3c430ca7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsMorph2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass.Json.g.cs deleted file mode 100644 index 021fe705..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass.g.cs deleted file mode 100644 index 803690cb..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2.Json.g.cs deleted file mode 100644 index 7ba4df0f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2.g.cs deleted file mode 100644 index dd5ed605..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNcompass2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius.Json.g.cs deleted file mode 100644 index 0fc85a3e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius.g.cs deleted file mode 100644 index 4f17e5ec..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2.Json.g.cs deleted file mode 100644 index 05c5d8a1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2.g.cs deleted file mode 100644 index 78823e48..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNebius2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit.Json.g.cs deleted file mode 100644 index c1ee018b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit.g.cs deleted file mode 100644 index 8e16201a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2.Json.g.cs deleted file mode 100644 index 29bc687b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2.g.cs deleted file mode 100644 index c8903f69..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNextbit2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen.Json.g.cs deleted file mode 100644 index 8ab090d8..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen.g.cs deleted file mode 100644 index ac44e2f7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2.Json.g.cs deleted file mode 100644 index a5ecb971..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2.g.cs deleted file mode 100644 index ead0a1dd..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNineteen2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita.Json.g.cs deleted file mode 100644 index bb9f35d7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita.g.cs deleted file mode 100644 index 4c68def3..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2.Json.g.cs deleted file mode 100644 index 44c82f08..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2.g.cs deleted file mode 100644 index 3220efa7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNovita2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia.Json.g.cs deleted file mode 100644 index 1507f72d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia.g.cs deleted file mode 100644 index eb12fd8e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2.Json.g.cs deleted file mode 100644 index 01938470..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2.g.cs deleted file mode 100644 index 67f71ac5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsNvidia2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai.Json.g.cs deleted file mode 100644 index 35c78664..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai.g.cs deleted file mode 100644 index be5cf854..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2.Json.g.cs deleted file mode 100644 index 75964985..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2.g.cs deleted file mode 100644 index a16795ab..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOctoai2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference.Json.g.cs deleted file mode 100644 index c4fdbfb6..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference.g.cs deleted file mode 100644 index 930cf193..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2.Json.g.cs deleted file mode 100644 index 10076988..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2.g.cs deleted file mode 100644 index fbe91a69..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenInference2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai.Json.g.cs deleted file mode 100644 index 2b7b01dc..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai.g.cs deleted file mode 100644 index 1130de67..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2.Json.g.cs deleted file mode 100644 index a48f639a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2.g.cs deleted file mode 100644 index 59e3233c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsOpenai2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail.Json.g.cs deleted file mode 100644 index 43dc7a20..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail.g.cs deleted file mode 100644 index 2dd80553..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2.Json.g.cs deleted file mode 100644 index 044e266f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2.g.cs deleted file mode 100644 index 6531d3aa..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsParasail2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity.Json.g.cs deleted file mode 100644 index 5457d2ce..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity.g.cs deleted file mode 100644 index d0da8b47..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2.Json.g.cs deleted file mode 100644 index 6af64453..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2.g.cs deleted file mode 100644 index 26eeeb9b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPerplexity2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala.Json.g.cs deleted file mode 100644 index 9e3978c6..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala.g.cs deleted file mode 100644 index 91c5cbb2..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2.Json.g.cs deleted file mode 100644 index 9d010d7f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2.g.cs deleted file mode 100644 index 6d9ed049..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsPhala2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft.Json.g.cs deleted file mode 100644 index db5c55df..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft.g.cs deleted file mode 100644 index 8ee9c121..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2.Json.g.cs deleted file mode 100644 index f8fb884d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2.g.cs deleted file mode 100644 index 18c62b87..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecraft2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal.Json.g.cs deleted file mode 100644 index 95fe470e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal.g.cs deleted file mode 100644 index a90adb68..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2.Json.g.cs deleted file mode 100644 index b50b4b59..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2.g.cs deleted file mode 100644 index 9c19362c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRecursal2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection.Json.g.cs deleted file mode 100644 index 58e1e01a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection.g.cs deleted file mode 100644 index ae56c782..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2.Json.g.cs deleted file mode 100644 index e819f6cc..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2.g.cs deleted file mode 100644 index 1124c628..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReflection2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka.Json.g.cs deleted file mode 100644 index d78d89ec..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka.g.cs deleted file mode 100644 index 7189ca28..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2.Json.g.cs deleted file mode 100644 index 8b0bfd0f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2.g.cs deleted file mode 100644 index 9b4d9411..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReka2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace.Json.g.cs deleted file mode 100644 index 2aa30a3b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace.g.cs deleted file mode 100644 index 73363af7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2.Json.g.cs deleted file mode 100644 index c2ee4aa5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2.g.cs deleted file mode 100644 index 16698287..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsRelace2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate.Json.g.cs deleted file mode 100644 index fb7e01f0..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate.g.cs deleted file mode 100644 index 98ae5748..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2.Json.g.cs deleted file mode 100644 index d952ac9e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2.g.cs deleted file mode 100644 index ee8fc14d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsReplicate2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova.Json.g.cs deleted file mode 100644 index caa31418..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova.g.cs deleted file mode 100644 index 9c3c11ce..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2.Json.g.cs deleted file mode 100644 index 48d3c82e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2.g.cs deleted file mode 100644 index 1748d6f1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanova2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked.Json.g.cs deleted file mode 100644 index f12ca962..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked.g.cs deleted file mode 100644 index e32a7a25..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2.Json.g.cs deleted file mode 100644 index 645bb14e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2.g.cs deleted file mode 100644 index 237a5a3d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSambanovaCloaked2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed.Json.g.cs deleted file mode 100644 index 1333a945..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed.g.cs deleted file mode 100644 index 3dd0efb4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2.Json.g.cs deleted file mode 100644 index 1b571b37..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2.g.cs deleted file mode 100644 index b3388012..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSeed2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute.Json.g.cs deleted file mode 100644 index b5d52da4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute.g.cs deleted file mode 100644 index 1d751dec..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2.Json.g.cs deleted file mode 100644 index 2e44c5c3..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2.g.cs deleted file mode 100644 index 4c430424..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSfCompute2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow.Json.g.cs deleted file mode 100644 index 336a7003..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow.g.cs deleted file mode 100644 index 38a981e2..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2.Json.g.cs deleted file mode 100644 index a9324ac5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2.g.cs deleted file mode 100644 index 7393c79a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSiliconflow2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful.Json.g.cs deleted file mode 100644 index 4c3331ce..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful.g.cs deleted file mode 100644 index 41e99dd7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2.Json.g.cs deleted file mode 100644 index 5d0368f7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2.g.cs deleted file mode 100644 index a719cb66..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSourceful2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth.Json.g.cs deleted file mode 100644 index 3c6134f8..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth.g.cs deleted file mode 100644 index 6fb7a2a0..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2.Json.g.cs deleted file mode 100644 index 0fdba176..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2.g.cs deleted file mode 100644 index 3caf1714..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStealth2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun.Json.g.cs deleted file mode 100644 index dfd86f7a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun.g.cs deleted file mode 100644 index ad3fd624..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2.Json.g.cs deleted file mode 100644 index 1fb974c1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2.g.cs deleted file mode 100644 index 120c7833..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStepfun2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake.Json.g.cs deleted file mode 100644 index c08bb31e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake.g.cs deleted file mode 100644 index a0cc1259..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2.Json.g.cs deleted file mode 100644 index 08ead810..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2.g.cs deleted file mode 100644 index d3ff89ff..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsStreamlake2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint.Json.g.cs deleted file mode 100644 index 213f9303..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint.g.cs deleted file mode 100644 index 3daab19a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2.Json.g.cs deleted file mode 100644 index 6c29c53d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2.g.cs deleted file mode 100644 index 81c25b83..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsSwitchpoint2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon.Json.g.cs deleted file mode 100644 index aabc037d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon.g.cs deleted file mode 100644 index 4dae8e16..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2.Json.g.cs deleted file mode 100644 index 519b8dc4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2.g.cs deleted file mode 100644 index b6c60905..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTargon2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether.Json.g.cs deleted file mode 100644 index e4903971..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether.g.cs deleted file mode 100644 index 1c3a681b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2.Json.g.cs deleted file mode 100644 index ade5f359..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2.g.cs deleted file mode 100644 index 217f7c68..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogether2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite.Json.g.cs deleted file mode 100644 index 2d9e44ac..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite.g.cs deleted file mode 100644 index 3a895537..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2.Json.g.cs deleted file mode 100644 index c457b3ee..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2.g.cs deleted file mode 100644 index 308dd821..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsTogetherLite2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud.Json.g.cs deleted file mode 100644 index b7dd8c5a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud.g.cs deleted file mode 100644 index ee08d718..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2.Json.g.cs deleted file mode 100644 index 72f21744..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2.g.cs deleted file mode 100644 index 18a879bf..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUbicloud2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage.Json.g.cs deleted file mode 100644 index 58339faf..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage.g.cs deleted file mode 100644 index e233c0a8..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2.Json.g.cs deleted file mode 100644 index c8c998e3..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2.g.cs deleted file mode 100644 index f9211298..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsUpstage2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice.Json.g.cs deleted file mode 100644 index c3f1d6d5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice.g.cs deleted file mode 100644 index 11bb6450..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2.Json.g.cs deleted file mode 100644 index 8807ccb9..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2.g.cs deleted file mode 100644 index 0c8c8785..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsVenice2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb.Json.g.cs deleted file mode 100644 index 71a3c05a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb.g.cs deleted file mode 100644 index 3cb7b7e1..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2.Json.g.cs deleted file mode 100644 index 63a980a5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2.g.cs deleted file mode 100644 index 26c8b805..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsWandb2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai.Json.g.cs deleted file mode 100644 index 895a90b7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai.g.cs deleted file mode 100644 index 6eb6b674..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2.Json.g.cs deleted file mode 100644 index 91daec79..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2.g.cs deleted file mode 100644 index d4fa9f53..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXai2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi.Json.g.cs deleted file mode 100644 index 975798db..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi.g.cs deleted file mode 100644 index bd5a8396..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2.Json.g.cs deleted file mode 100644 index 5325d798..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2.g.cs deleted file mode 100644 index 1e3aed6c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsXiaomi2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi.Json.g.cs deleted file mode 100644 index 7be71a07..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi.g.cs deleted file mode 100644 index 8a7a7616..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2.Json.g.cs deleted file mode 100644 index 4aeb279e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2.g.cs deleted file mode 100644 index 1c6ac236..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsZAi2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai.Json.g.cs deleted file mode 100644 index d903ffe9..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai.g.cs deleted file mode 100644 index 73a04219..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2.Json.g.cs deleted file mode 100644 index 0cb0293d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2 - { - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2), - jsonSerializerContext) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2? 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2; - } - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2.g.cs deleted file mode 100644 index 84c4b727..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Any type - /// - public sealed partial class AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptionsx01ai2 - { - - /// - /// 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.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat.g.cs deleted file mode 100644 index 6a45f715..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// Audio output format
- /// Default Value: pcm - ///
- public enum AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat - { - /// - /// - /// - Mp3, - /// - /// - /// - Pcm, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat value) - { - return value switch - { - AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat.Mp3 => "mp3", - AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat.Pcm => "pcm", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat? ToEnum(string value) - { - return value switch - { - "mp3" => AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat.Mp3, - "pcm" => AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat.Pcm, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItems.g.cs index d52e52e6..4c8faab8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequestPluginsItems.g.cs @@ -110,6 +110,23 @@ namespace OpenRouter [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ContextCompressionPlugin))] #endif public bool IsContextCompressionPlugin => ContextCompressionPlugin != null; + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ParetoRouterPlugin? ParetoRouterPlugin { get; init; } +#else + public global::OpenRouter.ParetoRouterPlugin? ParetoRouterPlugin { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ParetoRouterPlugin))] +#endif + public bool IsParetoRouterPlugin => ParetoRouterPlugin != null; /// /// /// @@ -218,6 +235,24 @@ public ChatRequestPluginsItems(global::OpenRouter.ContextCompressionPlugin? valu ContextCompressionPlugin = value; } + /// + /// + /// + public static implicit operator ChatRequestPluginsItems(global::OpenRouter.ParetoRouterPlugin value) => new ChatRequestPluginsItems((global::OpenRouter.ParetoRouterPlugin?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ParetoRouterPlugin?(ChatRequestPluginsItems @this) => @this.ParetoRouterPlugin; + + /// + /// + /// + public ChatRequestPluginsItems(global::OpenRouter.ParetoRouterPlugin? value) + { + ParetoRouterPlugin = value; + } + /// /// /// @@ -227,7 +262,8 @@ public ChatRequestPluginsItems( global::OpenRouter.WebSearchPlugin? webSearchPlugin, global::OpenRouter.FileParserPlugin? fileParserPlugin, global::OpenRouter.ResponseHealingPlugin? responseHealingPlugin, - global::OpenRouter.ContextCompressionPlugin? contextCompressionPlugin + global::OpenRouter.ContextCompressionPlugin? contextCompressionPlugin, + global::OpenRouter.ParetoRouterPlugin? paretoRouterPlugin ) { AutoRouterPlugin = autoRouterPlugin; @@ -236,12 +272,14 @@ public ChatRequestPluginsItems( FileParserPlugin = fileParserPlugin; ResponseHealingPlugin = responseHealingPlugin; ContextCompressionPlugin = contextCompressionPlugin; + ParetoRouterPlugin = paretoRouterPlugin; } /// /// /// public object? Object => + ParetoRouterPlugin as object ?? ContextCompressionPlugin as object ?? ResponseHealingPlugin as object ?? FileParserPlugin as object ?? @@ -259,7 +297,8 @@ AutoRouterPlugin as object WebSearchPlugin?.ToString() ?? FileParserPlugin?.ToString() ?? ResponseHealingPlugin?.ToString() ?? - ContextCompressionPlugin?.ToString() + ContextCompressionPlugin?.ToString() ?? + ParetoRouterPlugin?.ToString() ; /// @@ -267,7 +306,7 @@ AutoRouterPlugin as object /// public bool Validate() { - return IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && IsContextCompressionPlugin; + return IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && IsParetoRouterPlugin; } /// @@ -280,6 +319,7 @@ public bool Validate() global::System.Func? fileParserPlugin = null, global::System.Func? responseHealingPlugin = null, global::System.Func? contextCompressionPlugin = null, + global::System.Func? paretoRouterPlugin = null, bool validate = true) { if (validate) @@ -311,6 +351,10 @@ public bool Validate() { return contextCompressionPlugin(ContextCompressionPlugin!); } + else if (IsParetoRouterPlugin && paretoRouterPlugin != null) + { + return paretoRouterPlugin(ParetoRouterPlugin!); + } return default(TResult); } @@ -325,6 +369,7 @@ public void Match( global::System.Action? fileParserPlugin = null, global::System.Action? responseHealingPlugin = null, global::System.Action? contextCompressionPlugin = null, + global::System.Action? paretoRouterPlugin = null, bool validate = true) { if (validate) @@ -356,6 +401,10 @@ public void Match( { contextCompressionPlugin?.Invoke(ContextCompressionPlugin!); } + else if (IsParetoRouterPlugin) + { + paretoRouterPlugin?.Invoke(ParetoRouterPlugin!); + } } /// @@ -377,6 +426,8 @@ public override int GetHashCode() typeof(global::OpenRouter.ResponseHealingPlugin), ContextCompressionPlugin, typeof(global::OpenRouter.ContextCompressionPlugin), + ParetoRouterPlugin, + typeof(global::OpenRouter.ParetoRouterPlugin), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -398,7 +449,8 @@ public bool Equals(ChatRequestPluginsItems other) global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearchPlugin, other.WebSearchPlugin) && global::System.Collections.Generic.EqualityComparer.Default.Equals(FileParserPlugin, other.FileParserPlugin) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ResponseHealingPlugin, other.ResponseHealingPlugin) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ContextCompressionPlugin, other.ContextCompressionPlugin) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ContextCompressionPlugin, other.ContextCompressionPlugin) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ParetoRouterPlugin, other.ParetoRouterPlugin) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateAudioSpeechRequest.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateAudioSpeechRequest.Json.g.cs deleted file mode 100644 index 1f493c01..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateAudioSpeechRequest.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public sealed partial class CreateAudioSpeechRequest - { - /// - /// 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.CreateAudioSpeechRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::OpenRouter.CreateAudioSpeechRequest), - jsonSerializerContext) as global::OpenRouter.CreateAudioSpeechRequest; - } - - /// - /// 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.CreateAudioSpeechRequest? 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.CreateAudioSpeechRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.CreateAudioSpeechRequest; - } - - /// - /// 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.CreateAudioSpeechRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateAudioSpeechRequest.g.cs deleted file mode 100644 index c5be36de..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateAudioSpeechRequest.g.cs +++ /dev/null @@ -1,106 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// - /// - public sealed partial class CreateAudioSpeechRequest - { - /// - /// Text to synthesize - /// - [global::System.Text.Json.Serialization.JsonPropertyName("input")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Input { get; set; } - - /// - /// TTS model identifier - /// - [global::System.Text.Json.Serialization.JsonPropertyName("model")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Model { get; set; } - - /// - /// Provider-specific passthrough configuration - /// - [global::System.Text.Json.Serialization.JsonPropertyName("provider")] - public global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider? Provider { get; set; } - - /// - /// Audio output format
- /// Default Value: pcm - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("response_format")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormatJsonConverter))] - public global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat? ResponseFormat { get; set; } - - /// - /// Playback speed multiplier. Only used by models that support it (e.g. OpenAI TTS). Ignored by other providers. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("speed")] - public double? Speed { get; set; } - - /// - /// Voice identifier (provider-specific). - /// - [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Voice { get; set; } - - /// - /// 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(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Text to synthesize - /// - /// - /// TTS model identifier - /// - /// - /// Voice identifier (provider-specific). - /// - /// - /// Provider-specific passthrough configuration - /// - /// - /// Audio output format
- /// Default Value: pcm - /// - /// - /// Playback speed multiplier. Only used by models that support it (e.g. OpenAI TTS). Ignored by other providers. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateAudioSpeechRequest( - string input, - string model, - string voice, - global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider? provider, - global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat? responseFormat, - double? speed) - { - this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); - this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); - this.Provider = provider; - this.ResponseFormat = responseFormat; - this.Speed = speed; - this.Voice = voice ?? throw new global::System.ArgumentNullException(nameof(voice)); - } - - /// - /// Initializes a new instance of the class. - /// - public CreateAudioSpeechRequest() - { - } - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItems.g.cs index 165abca0..86ef8820 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestPluginsItems.g.cs @@ -110,6 +110,23 @@ namespace OpenRouter [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ContextCompressionPlugin))] #endif public bool IsContextCompressionPlugin => ContextCompressionPlugin != null; + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ParetoRouterPlugin? ParetoRouterPlugin { get; init; } +#else + public global::OpenRouter.ParetoRouterPlugin? ParetoRouterPlugin { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ParetoRouterPlugin))] +#endif + public bool IsParetoRouterPlugin => ParetoRouterPlugin != null; /// /// /// @@ -218,6 +235,24 @@ public MessagesRequestPluginsItems(global::OpenRouter.ContextCompressionPlugin? ContextCompressionPlugin = value; } + /// + /// + /// + public static implicit operator MessagesRequestPluginsItems(global::OpenRouter.ParetoRouterPlugin value) => new MessagesRequestPluginsItems((global::OpenRouter.ParetoRouterPlugin?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ParetoRouterPlugin?(MessagesRequestPluginsItems @this) => @this.ParetoRouterPlugin; + + /// + /// + /// + public MessagesRequestPluginsItems(global::OpenRouter.ParetoRouterPlugin? value) + { + ParetoRouterPlugin = value; + } + /// /// /// @@ -227,7 +262,8 @@ public MessagesRequestPluginsItems( global::OpenRouter.WebSearchPlugin? webSearchPlugin, global::OpenRouter.FileParserPlugin? fileParserPlugin, global::OpenRouter.ResponseHealingPlugin? responseHealingPlugin, - global::OpenRouter.ContextCompressionPlugin? contextCompressionPlugin + global::OpenRouter.ContextCompressionPlugin? contextCompressionPlugin, + global::OpenRouter.ParetoRouterPlugin? paretoRouterPlugin ) { AutoRouterPlugin = autoRouterPlugin; @@ -236,12 +272,14 @@ public MessagesRequestPluginsItems( FileParserPlugin = fileParserPlugin; ResponseHealingPlugin = responseHealingPlugin; ContextCompressionPlugin = contextCompressionPlugin; + ParetoRouterPlugin = paretoRouterPlugin; } /// /// /// public object? Object => + ParetoRouterPlugin as object ?? ContextCompressionPlugin as object ?? ResponseHealingPlugin as object ?? FileParserPlugin as object ?? @@ -259,7 +297,8 @@ AutoRouterPlugin as object WebSearchPlugin?.ToString() ?? FileParserPlugin?.ToString() ?? ResponseHealingPlugin?.ToString() ?? - ContextCompressionPlugin?.ToString() + ContextCompressionPlugin?.ToString() ?? + ParetoRouterPlugin?.ToString() ; /// @@ -267,7 +306,7 @@ AutoRouterPlugin as object /// public bool Validate() { - return IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && IsContextCompressionPlugin; + return IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && IsParetoRouterPlugin; } /// @@ -280,6 +319,7 @@ public bool Validate() global::System.Func? fileParserPlugin = null, global::System.Func? responseHealingPlugin = null, global::System.Func? contextCompressionPlugin = null, + global::System.Func? paretoRouterPlugin = null, bool validate = true) { if (validate) @@ -311,6 +351,10 @@ public bool Validate() { return contextCompressionPlugin(ContextCompressionPlugin!); } + else if (IsParetoRouterPlugin && paretoRouterPlugin != null) + { + return paretoRouterPlugin(ParetoRouterPlugin!); + } return default(TResult); } @@ -325,6 +369,7 @@ public void Match( global::System.Action? fileParserPlugin = null, global::System.Action? responseHealingPlugin = null, global::System.Action? contextCompressionPlugin = null, + global::System.Action? paretoRouterPlugin = null, bool validate = true) { if (validate) @@ -356,6 +401,10 @@ public void Match( { contextCompressionPlugin?.Invoke(ContextCompressionPlugin!); } + else if (IsParetoRouterPlugin) + { + paretoRouterPlugin?.Invoke(ParetoRouterPlugin!); + } } /// @@ -377,6 +426,8 @@ public override int GetHashCode() typeof(global::OpenRouter.ResponseHealingPlugin), ContextCompressionPlugin, typeof(global::OpenRouter.ContextCompressionPlugin), + ParetoRouterPlugin, + typeof(global::OpenRouter.ParetoRouterPlugin), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -398,7 +449,8 @@ public bool Equals(MessagesRequestPluginsItems other) global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearchPlugin, other.WebSearchPlugin) && global::System.Collections.Generic.EqualityComparer.Default.Equals(FileParserPlugin, other.FileParserPlugin) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ResponseHealingPlugin, other.ResponseHealingPlugin) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ContextCompressionPlugin, other.ContextCompressionPlugin) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ContextCompressionPlugin, other.ContextCompressionPlugin) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ParetoRouterPlugin, other.ParetoRouterPlugin) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ParetoRouterPlugin.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParetoRouterPlugin.Json.g.cs new file mode 100644 index 00000000..5000a88b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParetoRouterPlugin.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ParetoRouterPlugin + { + /// + /// 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.ParetoRouterPlugin? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ParetoRouterPlugin), + jsonSerializerContext) as global::OpenRouter.ParetoRouterPlugin; + } + + /// + /// 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.ParetoRouterPlugin? 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.ParetoRouterPlugin), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ParetoRouterPlugin; + } + + /// + /// 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.ParetoRouterPlugin.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParetoRouterPlugin.g.cs new file mode 100644 index 00000000..4a8e60ba --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParetoRouterPlugin.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ParetoRouterPlugin + { + /// + /// Set to false to disable the pareto-router plugin for this request. Defaults to true. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("enabled")] + public bool? Enabled { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ParetoRouterPluginIdJsonConverter))] + public global::OpenRouter.ParetoRouterPluginId Id { get; set; } + + /// + /// Minimum desired coding score between 0 and 1, where 1 is best. Higher values select from stronger coding models (sourced from Artificial Analysis coding percentiles). Maps internally to one of three tiers (low, medium, high). Omit to use the router default tier. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("min_coding_score")] + public double? MinCodingScore { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Set to false to disable the pareto-router plugin for this request. Defaults to true. + /// + /// + /// + /// Minimum desired coding score between 0 and 1, where 1 is best. Higher values select from stronger coding models (sourced from Artificial Analysis coding percentiles). Maps internally to one of three tiers (low, medium, high). Omit to use the router default tier. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ParetoRouterPlugin( + bool? enabled, + global::OpenRouter.ParetoRouterPluginId id, + double? minCodingScore) + { + this.Enabled = enabled; + this.Id = id; + this.MinCodingScore = minCodingScore; + } + + /// + /// Initializes a new instance of the class. + /// + public ParetoRouterPlugin() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ParetoRouterPluginId.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParetoRouterPluginId.g.cs new file mode 100644 index 00000000..6f998cb5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParetoRouterPluginId.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ParetoRouterPluginId + { + /// + /// + /// + ParetoRouter, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ParetoRouterPluginIdExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ParetoRouterPluginId value) + { + return value switch + { + ParetoRouterPluginId.ParetoRouter => "pareto-router", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ParetoRouterPluginId? ToEnum(string value) + { + return value switch + { + "pareto-router" => ParetoRouterPluginId.ParetoRouter, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItems.g.cs index 8f484682..640754b5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestPluginsItems.g.cs @@ -110,6 +110,23 @@ namespace OpenRouter [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ContextCompressionPlugin))] #endif public bool IsContextCompressionPlugin => ContextCompressionPlugin != null; + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ParetoRouterPlugin? ParetoRouterPlugin { get; init; } +#else + public global::OpenRouter.ParetoRouterPlugin? ParetoRouterPlugin { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ParetoRouterPlugin))] +#endif + public bool IsParetoRouterPlugin => ParetoRouterPlugin != null; /// /// /// @@ -218,6 +235,24 @@ public ResponsesRequestPluginsItems(global::OpenRouter.ContextCompressionPlugin? ContextCompressionPlugin = value; } + /// + /// + /// + public static implicit operator ResponsesRequestPluginsItems(global::OpenRouter.ParetoRouterPlugin value) => new ResponsesRequestPluginsItems((global::OpenRouter.ParetoRouterPlugin?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ParetoRouterPlugin?(ResponsesRequestPluginsItems @this) => @this.ParetoRouterPlugin; + + /// + /// + /// + public ResponsesRequestPluginsItems(global::OpenRouter.ParetoRouterPlugin? value) + { + ParetoRouterPlugin = value; + } + /// /// /// @@ -227,7 +262,8 @@ public ResponsesRequestPluginsItems( global::OpenRouter.WebSearchPlugin? webSearchPlugin, global::OpenRouter.FileParserPlugin? fileParserPlugin, global::OpenRouter.ResponseHealingPlugin? responseHealingPlugin, - global::OpenRouter.ContextCompressionPlugin? contextCompressionPlugin + global::OpenRouter.ContextCompressionPlugin? contextCompressionPlugin, + global::OpenRouter.ParetoRouterPlugin? paretoRouterPlugin ) { AutoRouterPlugin = autoRouterPlugin; @@ -236,12 +272,14 @@ public ResponsesRequestPluginsItems( FileParserPlugin = fileParserPlugin; ResponseHealingPlugin = responseHealingPlugin; ContextCompressionPlugin = contextCompressionPlugin; + ParetoRouterPlugin = paretoRouterPlugin; } /// /// /// public object? Object => + ParetoRouterPlugin as object ?? ContextCompressionPlugin as object ?? ResponseHealingPlugin as object ?? FileParserPlugin as object ?? @@ -259,7 +297,8 @@ AutoRouterPlugin as object WebSearchPlugin?.ToString() ?? FileParserPlugin?.ToString() ?? ResponseHealingPlugin?.ToString() ?? - ContextCompressionPlugin?.ToString() + ContextCompressionPlugin?.ToString() ?? + ParetoRouterPlugin?.ToString() ; /// @@ -267,7 +306,7 @@ AutoRouterPlugin as object /// public bool Validate() { - return IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && IsResponseHealingPlugin && !IsContextCompressionPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && IsContextCompressionPlugin; + return IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && IsResponseHealingPlugin && !IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && IsContextCompressionPlugin && !IsParetoRouterPlugin || !IsAutoRouterPlugin && !IsModerationPlugin && !IsWebSearchPlugin && !IsFileParserPlugin && !IsResponseHealingPlugin && !IsContextCompressionPlugin && IsParetoRouterPlugin; } /// @@ -280,6 +319,7 @@ public bool Validate() global::System.Func? fileParserPlugin = null, global::System.Func? responseHealingPlugin = null, global::System.Func? contextCompressionPlugin = null, + global::System.Func? paretoRouterPlugin = null, bool validate = true) { if (validate) @@ -311,6 +351,10 @@ public bool Validate() { return contextCompressionPlugin(ContextCompressionPlugin!); } + else if (IsParetoRouterPlugin && paretoRouterPlugin != null) + { + return paretoRouterPlugin(ParetoRouterPlugin!); + } return default(TResult); } @@ -325,6 +369,7 @@ public void Match( global::System.Action? fileParserPlugin = null, global::System.Action? responseHealingPlugin = null, global::System.Action? contextCompressionPlugin = null, + global::System.Action? paretoRouterPlugin = null, bool validate = true) { if (validate) @@ -356,6 +401,10 @@ public void Match( { contextCompressionPlugin?.Invoke(ContextCompressionPlugin!); } + else if (IsParetoRouterPlugin) + { + paretoRouterPlugin?.Invoke(ParetoRouterPlugin!); + } } /// @@ -377,6 +426,8 @@ public override int GetHashCode() typeof(global::OpenRouter.ResponseHealingPlugin), ContextCompressionPlugin, typeof(global::OpenRouter.ContextCompressionPlugin), + ParetoRouterPlugin, + typeof(global::OpenRouter.ParetoRouterPlugin), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -398,7 +449,8 @@ public bool Equals(ResponsesRequestPluginsItems other) global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearchPlugin, other.WebSearchPlugin) && global::System.Collections.Generic.EqualityComparer.Default.Equals(FileParserPlugin, other.FileParserPlugin) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ResponseHealingPlugin, other.ResponseHealingPlugin) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ContextCompressionPlugin, other.ContextCompressionPlugin) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ContextCompressionPlugin, other.ContextCompressionPlugin) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ParetoRouterPlugin, other.ParetoRouterPlugin) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequest.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequest.Json.g.cs new file mode 100644 index 00000000..3e1d4fc3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequest.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequest + { + /// + /// 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.SpeechRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequest), + jsonSerializerContext) as global::OpenRouter.SpeechRequest; + } + + /// + /// 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.SpeechRequest? 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.SpeechRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequest; + } + + /// + /// 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.SpeechRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequest.g.cs new file mode 100644 index 00000000..2dc0a60d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequest.g.cs @@ -0,0 +1,106 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Text-to-speech request input + /// + public sealed partial class SpeechRequest + { + /// + /// Text to synthesize + /// + [global::System.Text.Json.Serialization.JsonPropertyName("input")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Input { get; set; } + + /// + /// TTS model identifier + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Model { get; set; } + + /// + /// Provider-specific passthrough configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("provider")] + public global::OpenRouter.SpeechRequestProvider? Provider { get; set; } + + /// + /// Audio output format
+ /// Default Value: pcm + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("response_format")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.SpeechRequestResponseFormatJsonConverter))] + public global::OpenRouter.SpeechRequestResponseFormat? ResponseFormat { get; set; } + + /// + /// Playback speed multiplier. Only used by models that support it (e.g. OpenAI TTS). Ignored by other providers. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("speed")] + public double? Speed { get; set; } + + /// + /// Voice identifier (provider-specific). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("voice")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Voice { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Text to synthesize + /// + /// + /// TTS model identifier + /// + /// + /// Voice identifier (provider-specific). + /// + /// + /// Provider-specific passthrough configuration + /// + /// + /// Audio output format
+ /// Default Value: pcm + /// + /// + /// Playback speed multiplier. Only used by models that support it (e.g. OpenAI TTS). Ignored by other providers. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SpeechRequest( + string input, + string model, + string voice, + global::OpenRouter.SpeechRequestProvider? provider, + global::OpenRouter.SpeechRequestResponseFormat? responseFormat, + double? speed) + { + this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); + this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); + this.Provider = provider; + this.ResponseFormat = responseFormat; + this.Speed = speed; + this.Voice = voice ?? throw new global::System.ArgumentNullException(nameof(voice)); + } + + /// + /// Initializes a new instance of the class. + /// + public SpeechRequest() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProvider.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProvider.Json.g.cs new file mode 100644 index 00000000..b9eb8f07 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProvider.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProvider + { + /// + /// 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.SpeechRequestProvider? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProvider), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProvider; + } + + /// + /// 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.SpeechRequestProvider? 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.SpeechRequestProvider), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProvider; + } + + /// + /// 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.SpeechRequestProvider.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProvider.g.cs new file mode 100644 index 00000000..03bb1395 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProvider.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Provider-specific passthrough configuration + /// + public sealed partial class SpeechRequestProvider + { + /// + /// Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("options")] + public global::OpenRouter.SpeechRequestProviderOptions? Options { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SpeechRequestProvider( + global::OpenRouter.SpeechRequestProviderOptions? options) + { + this.Options = options; + } + + /// + /// Initializes a new instance of the class. + /// + public SpeechRequestProvider() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptions.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptions.Json.g.cs new file mode 100644 index 00000000..955fd3e2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptions.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptions + { + /// + /// 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.SpeechRequestProviderOptions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptions), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptions; + } + + /// + /// 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.SpeechRequestProviderOptions? 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.SpeechRequestProviderOptions), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptions; + } + + /// + /// 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.SpeechRequestProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptions.g.cs new file mode 100644 index 00000000..6a0b29da --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptions.g.cs @@ -0,0 +1,997 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body. + /// + public sealed partial class SpeechRequestProviderOptions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("01ai")] + public object? x01ai { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ai21")] + public object? Ai21 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("aion-labs")] + public object? AionLabs { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("akashml")] + public object? Akashml { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("alibaba")] + public object? Alibaba { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("amazon-bedrock")] + public object? AmazonBedrock { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("amazon-nova")] + public object? AmazonNova { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ambient")] + public object? Ambient { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("anthropic")] + public object? Anthropic { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("anyscale")] + public object? Anyscale { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("arcee-ai")] + public object? ArceeAi { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("atlas-cloud")] + public object? AtlasCloud { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("atoma")] + public object? Atoma { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avian")] + public object? Avian { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("azure")] + public object? Azure { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("baidu")] + public object? Baidu { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("baseten")] + public object? Baseten { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("black-forest-labs")] + public object? BlackForestLabs { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("byteplus")] + public object? Byteplus { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("centml")] + public object? Centml { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cerebras")] + public object? Cerebras { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("chutes")] + public object? Chutes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cirrascale")] + public object? Cirrascale { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] + public object? Clarifai { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cloudflare")] + public object? Cloudflare { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] + public object? Cohere { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("crofai")] + public object? Crofai { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("crusoe")] + public object? Crusoe { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deepinfra")] + public object? Deepinfra { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deepseek")] + public object? Deepseek { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dekallm")] + public object? Dekallm { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("enfer")] + public object? Enfer { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fake-provider")] + public object? FakeProvider { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("featherless")] + public object? Featherless { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fireworks")] + public object? Fireworks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("friendli")] + public object? Friendli { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gmicloud")] + public object? Gmicloud { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("google-ai-studio")] + public object? GoogleAiStudio { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("google-vertex")] + public object? GoogleVertex { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gopomelo")] + public object? Gopomelo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("groq")] + public object? Groq { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("huggingface")] + public object? Huggingface { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hyperbolic")] + public object? Hyperbolic { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hyperbolic-quantized")] + public object? HyperbolicQuantized { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inception")] + public object? Inception { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inceptron")] + public object? Inceptron { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inference-net")] + public object? InferenceNet { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("infermatic")] + public object? Infermatic { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inflection")] + public object? Inflection { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inocloud")] + public object? Inocloud { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("io-net")] + public object? IoNet { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ionstream")] + public object? Ionstream { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("klusterai")] + public object? Klusterai { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lambda")] + public object? Lambda { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lepton")] + public object? Lepton { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("liquid")] + public object? Liquid { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lynn")] + public object? Lynn { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lynn-private")] + public object? LynnPrivate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mancer")] + public object? Mancer { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mancer-old")] + public object? MancerOld { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mara")] + public object? Mara { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public object? Meta { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("minimax")] + public object? Minimax { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] + public object? Mistral { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("modal")] + public object? Modal { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("modelrun")] + public object? Modelrun { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("modular")] + public object? Modular { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("moonshotai")] + public object? Moonshotai { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("morph")] + public object? Morph { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ncompass")] + public object? Ncompass { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("nebius")] + public object? Nebius { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("nextbit")] + public object? Nextbit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("nineteen")] + public object? Nineteen { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("novita")] + public object? Novita { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("nvidia")] + public object? Nvidia { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("octoai")] + public object? Octoai { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("open-inference")] + public object? OpenInference { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("openai")] + public object? Openai { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parasail")] + public object? Parasail { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("perplexity")] + public object? Perplexity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("phala")] + public object? Phala { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recraft")] + public object? Recraft { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursal")] + public object? Recursal { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reflection")] + public object? Reflection { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reka")] + public object? Reka { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relace")] + public object? Relace { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("replicate")] + public object? Replicate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sambanova")] + public object? Sambanova { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sambanova-cloaked")] + public object? SambanovaCloaked { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("seed")] + public object? Seed { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sf-compute")] + public object? SfCompute { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("siliconflow")] + public object? Siliconflow { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sourceful")] + public object? Sourceful { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stealth")] + public object? Stealth { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stepfun")] + public object? Stepfun { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("streamlake")] + public object? Streamlake { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("switchpoint")] + public object? Switchpoint { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("targon")] + public object? Targon { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("together")] + public object? Together { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("together-lite")] + public object? TogetherLite { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ubicloud")] + public object? Ubicloud { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("upstage")] + public object? Upstage { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("venice")] + public object? Venice { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("wandb")] + public object? Wandb { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("xai")] + public object? Xai { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("xiaomi")] + public object? Xiaomi { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("z-ai")] + public object? ZAi { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SpeechRequestProviderOptions( + object? x01ai, + object? ai21, + object? aionLabs, + object? akashml, + object? alibaba, + object? amazonBedrock, + object? amazonNova, + object? ambient, + object? anthropic, + object? anyscale, + object? arceeAi, + object? atlasCloud, + object? atoma, + object? avian, + object? azure, + object? baidu, + object? baseten, + object? blackForestLabs, + object? byteplus, + object? centml, + object? cerebras, + object? chutes, + object? cirrascale, + object? clarifai, + object? cloudflare, + object? cohere, + object? crofai, + object? crusoe, + object? deepinfra, + object? deepseek, + object? dekallm, + object? enfer, + object? fakeProvider, + object? featherless, + object? fireworks, + object? friendli, + object? gmicloud, + object? googleAiStudio, + object? googleVertex, + object? gopomelo, + object? groq, + object? huggingface, + object? hyperbolic, + object? hyperbolicQuantized, + object? inception, + object? inceptron, + object? inferenceNet, + object? infermatic, + object? inflection, + object? inocloud, + object? ioNet, + object? ionstream, + object? klusterai, + object? lambda, + object? lepton, + object? liquid, + object? lynn, + object? lynnPrivate, + object? mancer, + object? mancerOld, + object? mara, + object? meta, + object? minimax, + object? mistral, + object? modal, + object? modelrun, + object? modular, + object? moonshotai, + object? morph, + object? ncompass, + object? nebius, + object? nextbit, + object? nineteen, + object? novita, + object? nvidia, + object? octoai, + object? openInference, + object? openai, + object? parasail, + object? perplexity, + object? phala, + object? recraft, + object? recursal, + object? reflection, + object? reka, + object? relace, + object? replicate, + object? sambanova, + object? sambanovaCloaked, + object? seed, + object? sfCompute, + object? siliconflow, + object? sourceful, + object? stealth, + object? stepfun, + object? streamlake, + object? switchpoint, + object? targon, + object? together, + object? togetherLite, + object? ubicloud, + object? upstage, + object? venice, + object? wandb, + object? xai, + object? xiaomi, + object? zAi) + { + this.x01ai = x01ai; + this.Ai21 = ai21; + this.AionLabs = aionLabs; + this.Akashml = akashml; + this.Alibaba = alibaba; + this.AmazonBedrock = amazonBedrock; + this.AmazonNova = amazonNova; + this.Ambient = ambient; + this.Anthropic = anthropic; + this.Anyscale = anyscale; + this.ArceeAi = arceeAi; + this.AtlasCloud = atlasCloud; + this.Atoma = atoma; + this.Avian = avian; + this.Azure = azure; + this.Baidu = baidu; + this.Baseten = baseten; + this.BlackForestLabs = blackForestLabs; + this.Byteplus = byteplus; + this.Centml = centml; + this.Cerebras = cerebras; + this.Chutes = chutes; + this.Cirrascale = cirrascale; + this.Clarifai = clarifai; + this.Cloudflare = cloudflare; + this.Cohere = cohere; + this.Crofai = crofai; + this.Crusoe = crusoe; + this.Deepinfra = deepinfra; + this.Deepseek = deepseek; + this.Dekallm = dekallm; + this.Enfer = enfer; + this.FakeProvider = fakeProvider; + this.Featherless = featherless; + this.Fireworks = fireworks; + this.Friendli = friendli; + this.Gmicloud = gmicloud; + this.GoogleAiStudio = googleAiStudio; + this.GoogleVertex = googleVertex; + this.Gopomelo = gopomelo; + this.Groq = groq; + this.Huggingface = huggingface; + this.Hyperbolic = hyperbolic; + this.HyperbolicQuantized = hyperbolicQuantized; + this.Inception = inception; + this.Inceptron = inceptron; + this.InferenceNet = inferenceNet; + this.Infermatic = infermatic; + this.Inflection = inflection; + this.Inocloud = inocloud; + this.IoNet = ioNet; + this.Ionstream = ionstream; + this.Klusterai = klusterai; + this.Lambda = lambda; + this.Lepton = lepton; + this.Liquid = liquid; + this.Lynn = lynn; + this.LynnPrivate = lynnPrivate; + this.Mancer = mancer; + this.MancerOld = mancerOld; + this.Mara = mara; + this.Meta = meta; + this.Minimax = minimax; + this.Mistral = mistral; + this.Modal = modal; + this.Modelrun = modelrun; + this.Modular = modular; + this.Moonshotai = moonshotai; + this.Morph = morph; + this.Ncompass = ncompass; + this.Nebius = nebius; + this.Nextbit = nextbit; + this.Nineteen = nineteen; + this.Novita = novita; + this.Nvidia = nvidia; + this.Octoai = octoai; + this.OpenInference = openInference; + this.Openai = openai; + this.Parasail = parasail; + this.Perplexity = perplexity; + this.Phala = phala; + this.Recraft = recraft; + this.Recursal = recursal; + this.Reflection = reflection; + this.Reka = reka; + this.Relace = relace; + this.Replicate = replicate; + this.Sambanova = sambanova; + this.SambanovaCloaked = sambanovaCloaked; + this.Seed = seed; + this.SfCompute = sfCompute; + this.Siliconflow = siliconflow; + this.Sourceful = sourceful; + this.Stealth = stealth; + this.Stepfun = stepfun; + this.Streamlake = streamlake; + this.Switchpoint = switchpoint; + this.Targon = targon; + this.Together = together; + this.TogetherLite = togetherLite; + this.Ubicloud = ubicloud; + this.Upstage = upstage; + this.Venice = venice; + this.Wandb = wandb; + this.Xai = xai; + this.Xiaomi = xiaomi; + this.ZAi = zAi; + } + + /// + /// Initializes a new instance of the class. + /// + public SpeechRequestProviderOptions() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAi21.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAi21.Json.g.cs new file mode 100644 index 00000000..fbe17936 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAi21.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAi21 + { + /// + /// 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.SpeechRequestProviderOptionsAi21? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAi21), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAi21; + } + + /// + /// 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.SpeechRequestProviderOptionsAi21? 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.SpeechRequestProviderOptionsAi21), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAi21; + } + + /// + /// 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.SpeechRequestProviderOptionsAi21.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAi21.g.cs new file mode 100644 index 00000000..0c9450ae --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAi21.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAi21 + { + + /// + /// 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.SpeechRequestProviderOptionsAi212.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAi212.Json.g.cs new file mode 100644 index 00000000..a1b36a9e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAi212.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAi212 + { + /// + /// 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.SpeechRequestProviderOptionsAi212? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAi212), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAi212; + } + + /// + /// 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.SpeechRequestProviderOptionsAi212? 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.SpeechRequestProviderOptionsAi212), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAi212; + } + + /// + /// 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.SpeechRequestProviderOptionsAi212.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAi212.g.cs new file mode 100644 index 00000000..9a566096 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAi212.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAi212 + { + + /// + /// 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.SpeechRequestProviderOptionsAionLabs.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAionLabs.Json.g.cs new file mode 100644 index 00000000..f41f5303 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAionLabs.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAionLabs + { + /// + /// 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.SpeechRequestProviderOptionsAionLabs? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAionLabs), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAionLabs; + } + + /// + /// 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.SpeechRequestProviderOptionsAionLabs? 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.SpeechRequestProviderOptionsAionLabs), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAionLabs; + } + + /// + /// 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.SpeechRequestProviderOptionsAionLabs.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAionLabs.g.cs new file mode 100644 index 00000000..47afaa4c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAionLabs.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAionLabs + { + + /// + /// 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.SpeechRequestProviderOptionsAionLabs2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAionLabs2.Json.g.cs new file mode 100644 index 00000000..3577fca9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAionLabs2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAionLabs2 + { + /// + /// 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.SpeechRequestProviderOptionsAionLabs2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAionLabs2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAionLabs2; + } + + /// + /// 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.SpeechRequestProviderOptionsAionLabs2? 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.SpeechRequestProviderOptionsAionLabs2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAionLabs2; + } + + /// + /// 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.SpeechRequestProviderOptionsAionLabs2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAionLabs2.g.cs new file mode 100644 index 00000000..50a3342f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAionLabs2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAionLabs2 + { + + /// + /// 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.SpeechRequestProviderOptionsAkashml.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAkashml.Json.g.cs new file mode 100644 index 00000000..1a2e2efd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAkashml.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAkashml + { + /// + /// 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.SpeechRequestProviderOptionsAkashml? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAkashml), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAkashml; + } + + /// + /// 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.SpeechRequestProviderOptionsAkashml? 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.SpeechRequestProviderOptionsAkashml), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAkashml; + } + + /// + /// 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.SpeechRequestProviderOptionsAkashml.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAkashml.g.cs new file mode 100644 index 00000000..dc19f03b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAkashml.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAkashml + { + + /// + /// 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.SpeechRequestProviderOptionsAkashml2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAkashml2.Json.g.cs new file mode 100644 index 00000000..63fd46e7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAkashml2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAkashml2 + { + /// + /// 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.SpeechRequestProviderOptionsAkashml2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAkashml2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAkashml2; + } + + /// + /// 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.SpeechRequestProviderOptionsAkashml2? 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.SpeechRequestProviderOptionsAkashml2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAkashml2; + } + + /// + /// 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.SpeechRequestProviderOptionsAkashml2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAkashml2.g.cs new file mode 100644 index 00000000..0dfa8807 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAkashml2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAkashml2 + { + + /// + /// 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.SpeechRequestProviderOptionsAlibaba.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAlibaba.Json.g.cs new file mode 100644 index 00000000..aad37702 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAlibaba.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAlibaba + { + /// + /// 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.SpeechRequestProviderOptionsAlibaba? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAlibaba), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAlibaba; + } + + /// + /// 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.SpeechRequestProviderOptionsAlibaba? 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.SpeechRequestProviderOptionsAlibaba), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAlibaba; + } + + /// + /// 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.SpeechRequestProviderOptionsAlibaba.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAlibaba.g.cs new file mode 100644 index 00000000..db18664d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAlibaba.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAlibaba + { + + /// + /// 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.SpeechRequestProviderOptionsAlibaba2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAlibaba2.Json.g.cs new file mode 100644 index 00000000..7a69c3fa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAlibaba2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAlibaba2 + { + /// + /// 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.SpeechRequestProviderOptionsAlibaba2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAlibaba2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAlibaba2; + } + + /// + /// 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.SpeechRequestProviderOptionsAlibaba2? 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.SpeechRequestProviderOptionsAlibaba2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAlibaba2; + } + + /// + /// 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.SpeechRequestProviderOptionsAlibaba2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAlibaba2.g.cs new file mode 100644 index 00000000..455c7d79 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAlibaba2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAlibaba2 + { + + /// + /// 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.SpeechRequestProviderOptionsAmazonBedrock.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonBedrock.Json.g.cs new file mode 100644 index 00000000..a1bee2b0d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonBedrock.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAmazonBedrock + { + /// + /// 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.SpeechRequestProviderOptionsAmazonBedrock? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAmazonBedrock), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAmazonBedrock; + } + + /// + /// 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.SpeechRequestProviderOptionsAmazonBedrock? 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.SpeechRequestProviderOptionsAmazonBedrock), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAmazonBedrock; + } + + /// + /// 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.SpeechRequestProviderOptionsAmazonBedrock.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonBedrock.g.cs new file mode 100644 index 00000000..5968523b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonBedrock.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAmazonBedrock + { + + /// + /// 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.SpeechRequestProviderOptionsAmazonBedrock2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonBedrock2.Json.g.cs new file mode 100644 index 00000000..7e5ed98f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonBedrock2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAmazonBedrock2 + { + /// + /// 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.SpeechRequestProviderOptionsAmazonBedrock2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAmazonBedrock2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAmazonBedrock2; + } + + /// + /// 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.SpeechRequestProviderOptionsAmazonBedrock2? 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.SpeechRequestProviderOptionsAmazonBedrock2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAmazonBedrock2; + } + + /// + /// 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.SpeechRequestProviderOptionsAmazonBedrock2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonBedrock2.g.cs new file mode 100644 index 00000000..68a415f3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonBedrock2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAmazonBedrock2 + { + + /// + /// 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.SpeechRequestProviderOptionsAmazonNova.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonNova.Json.g.cs new file mode 100644 index 00000000..d758d2c0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonNova.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAmazonNova + { + /// + /// 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.SpeechRequestProviderOptionsAmazonNova? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAmazonNova), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAmazonNova; + } + + /// + /// 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.SpeechRequestProviderOptionsAmazonNova? 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.SpeechRequestProviderOptionsAmazonNova), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAmazonNova; + } + + /// + /// 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.SpeechRequestProviderOptionsAmazonNova.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonNova.g.cs new file mode 100644 index 00000000..c29e0b82 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonNova.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAmazonNova + { + + /// + /// 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.SpeechRequestProviderOptionsAmazonNova2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonNova2.Json.g.cs new file mode 100644 index 00000000..b3ead4ff --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonNova2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAmazonNova2 + { + /// + /// 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.SpeechRequestProviderOptionsAmazonNova2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAmazonNova2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAmazonNova2; + } + + /// + /// 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.SpeechRequestProviderOptionsAmazonNova2? 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.SpeechRequestProviderOptionsAmazonNova2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAmazonNova2; + } + + /// + /// 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.SpeechRequestProviderOptionsAmazonNova2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonNova2.g.cs new file mode 100644 index 00000000..45c08416 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmazonNova2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAmazonNova2 + { + + /// + /// 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.SpeechRequestProviderOptionsAmbient.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmbient.Json.g.cs new file mode 100644 index 00000000..066cd51b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmbient.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAmbient + { + /// + /// 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.SpeechRequestProviderOptionsAmbient? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAmbient), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAmbient; + } + + /// + /// 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.SpeechRequestProviderOptionsAmbient? 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.SpeechRequestProviderOptionsAmbient), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAmbient; + } + + /// + /// 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.SpeechRequestProviderOptionsAmbient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmbient.g.cs new file mode 100644 index 00000000..fa4e0760 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmbient.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAmbient + { + + /// + /// 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.SpeechRequestProviderOptionsAmbient2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmbient2.Json.g.cs new file mode 100644 index 00000000..5f902550 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmbient2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAmbient2 + { + /// + /// 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.SpeechRequestProviderOptionsAmbient2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAmbient2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAmbient2; + } + + /// + /// 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.SpeechRequestProviderOptionsAmbient2? 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.SpeechRequestProviderOptionsAmbient2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAmbient2; + } + + /// + /// 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.SpeechRequestProviderOptionsAmbient2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmbient2.g.cs new file mode 100644 index 00000000..ad6fd15d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAmbient2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAmbient2 + { + + /// + /// 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.SpeechRequestProviderOptionsAnthropic.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnthropic.Json.g.cs new file mode 100644 index 00000000..f13f95c6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnthropic.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAnthropic + { + /// + /// 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.SpeechRequestProviderOptionsAnthropic? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAnthropic), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAnthropic; + } + + /// + /// 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.SpeechRequestProviderOptionsAnthropic? 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.SpeechRequestProviderOptionsAnthropic), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAnthropic; + } + + /// + /// 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.SpeechRequestProviderOptionsAnthropic.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnthropic.g.cs new file mode 100644 index 00000000..f3227e0d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnthropic.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAnthropic + { + + /// + /// 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.SpeechRequestProviderOptionsAnthropic2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnthropic2.Json.g.cs new file mode 100644 index 00000000..70a208f3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnthropic2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAnthropic2 + { + /// + /// 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.SpeechRequestProviderOptionsAnthropic2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAnthropic2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAnthropic2; + } + + /// + /// 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.SpeechRequestProviderOptionsAnthropic2? 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.SpeechRequestProviderOptionsAnthropic2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAnthropic2; + } + + /// + /// 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.SpeechRequestProviderOptionsAnthropic2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnthropic2.g.cs new file mode 100644 index 00000000..95b4408d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnthropic2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAnthropic2 + { + + /// + /// 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.SpeechRequestProviderOptionsAnyscale.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnyscale.Json.g.cs new file mode 100644 index 00000000..e72978cf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnyscale.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAnyscale + { + /// + /// 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.SpeechRequestProviderOptionsAnyscale? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAnyscale), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAnyscale; + } + + /// + /// 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.SpeechRequestProviderOptionsAnyscale? 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.SpeechRequestProviderOptionsAnyscale), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAnyscale; + } + + /// + /// 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.SpeechRequestProviderOptionsAnyscale.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnyscale.g.cs new file mode 100644 index 00000000..1e387fc1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnyscale.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAnyscale + { + + /// + /// 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.SpeechRequestProviderOptionsAnyscale2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnyscale2.Json.g.cs new file mode 100644 index 00000000..d7cc5b48 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnyscale2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAnyscale2 + { + /// + /// 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.SpeechRequestProviderOptionsAnyscale2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAnyscale2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAnyscale2; + } + + /// + /// 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.SpeechRequestProviderOptionsAnyscale2? 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.SpeechRequestProviderOptionsAnyscale2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAnyscale2; + } + + /// + /// 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.SpeechRequestProviderOptionsAnyscale2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnyscale2.g.cs new file mode 100644 index 00000000..20cb2693 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAnyscale2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAnyscale2 + { + + /// + /// 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.SpeechRequestProviderOptionsArceeAi.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsArceeAi.Json.g.cs new file mode 100644 index 00000000..ff4e4272 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsArceeAi.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsArceeAi + { + /// + /// 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.SpeechRequestProviderOptionsArceeAi? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsArceeAi), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsArceeAi; + } + + /// + /// 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.SpeechRequestProviderOptionsArceeAi? 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.SpeechRequestProviderOptionsArceeAi), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsArceeAi; + } + + /// + /// 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.SpeechRequestProviderOptionsArceeAi.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsArceeAi.g.cs new file mode 100644 index 00000000..dd95871c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsArceeAi.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsArceeAi + { + + /// + /// 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.SpeechRequestProviderOptionsArceeAi2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsArceeAi2.Json.g.cs new file mode 100644 index 00000000..dec3855e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsArceeAi2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsArceeAi2 + { + /// + /// 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.SpeechRequestProviderOptionsArceeAi2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsArceeAi2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsArceeAi2; + } + + /// + /// 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.SpeechRequestProviderOptionsArceeAi2? 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.SpeechRequestProviderOptionsArceeAi2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsArceeAi2; + } + + /// + /// 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.SpeechRequestProviderOptionsArceeAi2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsArceeAi2.g.cs new file mode 100644 index 00000000..9179811e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsArceeAi2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsArceeAi2 + { + + /// + /// 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.SpeechRequestProviderOptionsAtlasCloud.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtlasCloud.Json.g.cs new file mode 100644 index 00000000..b1462916 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtlasCloud.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAtlasCloud + { + /// + /// 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.SpeechRequestProviderOptionsAtlasCloud? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAtlasCloud), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAtlasCloud; + } + + /// + /// 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.SpeechRequestProviderOptionsAtlasCloud? 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.SpeechRequestProviderOptionsAtlasCloud), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAtlasCloud; + } + + /// + /// 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.SpeechRequestProviderOptionsAtlasCloud.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtlasCloud.g.cs new file mode 100644 index 00000000..e853a7e7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtlasCloud.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAtlasCloud + { + + /// + /// 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.SpeechRequestProviderOptionsAtlasCloud2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtlasCloud2.Json.g.cs new file mode 100644 index 00000000..462749ff --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtlasCloud2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAtlasCloud2 + { + /// + /// 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.SpeechRequestProviderOptionsAtlasCloud2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAtlasCloud2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAtlasCloud2; + } + + /// + /// 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.SpeechRequestProviderOptionsAtlasCloud2? 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.SpeechRequestProviderOptionsAtlasCloud2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAtlasCloud2; + } + + /// + /// 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.SpeechRequestProviderOptionsAtlasCloud2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtlasCloud2.g.cs new file mode 100644 index 00000000..e267575f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtlasCloud2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAtlasCloud2 + { + + /// + /// 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.SpeechRequestProviderOptionsAtoma.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtoma.Json.g.cs new file mode 100644 index 00000000..36493ee1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtoma.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAtoma + { + /// + /// 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.SpeechRequestProviderOptionsAtoma? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAtoma), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAtoma; + } + + /// + /// 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.SpeechRequestProviderOptionsAtoma? 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.SpeechRequestProviderOptionsAtoma), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAtoma; + } + + /// + /// 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.SpeechRequestProviderOptionsAtoma.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtoma.g.cs new file mode 100644 index 00000000..fda3facf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtoma.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAtoma + { + + /// + /// 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.SpeechRequestProviderOptionsAtoma2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtoma2.Json.g.cs new file mode 100644 index 00000000..6bdd88e9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtoma2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAtoma2 + { + /// + /// 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.SpeechRequestProviderOptionsAtoma2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAtoma2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAtoma2; + } + + /// + /// 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.SpeechRequestProviderOptionsAtoma2? 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.SpeechRequestProviderOptionsAtoma2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAtoma2; + } + + /// + /// 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.SpeechRequestProviderOptionsAtoma2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtoma2.g.cs new file mode 100644 index 00000000..52e90002 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAtoma2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAtoma2 + { + + /// + /// 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.SpeechRequestProviderOptionsAvian.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAvian.Json.g.cs new file mode 100644 index 00000000..65f12176 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAvian.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAvian + { + /// + /// 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.SpeechRequestProviderOptionsAvian? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAvian), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAvian; + } + + /// + /// 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.SpeechRequestProviderOptionsAvian? 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.SpeechRequestProviderOptionsAvian), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAvian; + } + + /// + /// 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.SpeechRequestProviderOptionsAvian.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAvian.g.cs new file mode 100644 index 00000000..d097e7f6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAvian.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAvian + { + + /// + /// 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.SpeechRequestProviderOptionsAvian2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAvian2.Json.g.cs new file mode 100644 index 00000000..03c8b9cd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAvian2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAvian2 + { + /// + /// 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.SpeechRequestProviderOptionsAvian2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAvian2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAvian2; + } + + /// + /// 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.SpeechRequestProviderOptionsAvian2? 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.SpeechRequestProviderOptionsAvian2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAvian2; + } + + /// + /// 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.SpeechRequestProviderOptionsAvian2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAvian2.g.cs new file mode 100644 index 00000000..4e4872d1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAvian2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAvian2 + { + + /// + /// 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.SpeechRequestProviderOptionsAzure.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAzure.Json.g.cs new file mode 100644 index 00000000..268d6a78 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAzure.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAzure + { + /// + /// 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.SpeechRequestProviderOptionsAzure? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAzure), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAzure; + } + + /// + /// 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.SpeechRequestProviderOptionsAzure? 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.SpeechRequestProviderOptionsAzure), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAzure; + } + + /// + /// 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.SpeechRequestProviderOptionsAzure.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAzure.g.cs new file mode 100644 index 00000000..8f702339 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAzure.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsAzure + { + + /// + /// 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.SpeechRequestProviderOptionsAzure2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAzure2.Json.g.cs new file mode 100644 index 00000000..aabdb140 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAzure2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsAzure2 + { + /// + /// 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.SpeechRequestProviderOptionsAzure2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsAzure2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsAzure2; + } + + /// + /// 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.SpeechRequestProviderOptionsAzure2? 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.SpeechRequestProviderOptionsAzure2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsAzure2; + } + + /// + /// 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.SpeechRequestProviderOptionsAzure2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAzure2.g.cs new file mode 100644 index 00000000..3366bba0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsAzure2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsAzure2 + { + + /// + /// 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.SpeechRequestProviderOptionsBaidu.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaidu.Json.g.cs new file mode 100644 index 00000000..2682f955 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaidu.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsBaidu + { + /// + /// 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.SpeechRequestProviderOptionsBaidu? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsBaidu), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsBaidu; + } + + /// + /// 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.SpeechRequestProviderOptionsBaidu? 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.SpeechRequestProviderOptionsBaidu), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsBaidu; + } + + /// + /// 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.SpeechRequestProviderOptionsBaidu.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaidu.g.cs new file mode 100644 index 00000000..d741f669 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaidu.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsBaidu + { + + /// + /// 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.SpeechRequestProviderOptionsBaidu2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaidu2.Json.g.cs new file mode 100644 index 00000000..0b186508 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaidu2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsBaidu2 + { + /// + /// 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.SpeechRequestProviderOptionsBaidu2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsBaidu2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsBaidu2; + } + + /// + /// 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.SpeechRequestProviderOptionsBaidu2? 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.SpeechRequestProviderOptionsBaidu2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsBaidu2; + } + + /// + /// 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.SpeechRequestProviderOptionsBaidu2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaidu2.g.cs new file mode 100644 index 00000000..d915d270 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaidu2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsBaidu2 + { + + /// + /// 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.SpeechRequestProviderOptionsBaseten.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaseten.Json.g.cs new file mode 100644 index 00000000..0c076c22 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaseten.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsBaseten + { + /// + /// 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.SpeechRequestProviderOptionsBaseten? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsBaseten), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsBaseten; + } + + /// + /// 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.SpeechRequestProviderOptionsBaseten? 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.SpeechRequestProviderOptionsBaseten), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsBaseten; + } + + /// + /// 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.SpeechRequestProviderOptionsBaseten.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaseten.g.cs new file mode 100644 index 00000000..cc0904c9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaseten.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsBaseten + { + + /// + /// 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.SpeechRequestProviderOptionsBaseten2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaseten2.Json.g.cs new file mode 100644 index 00000000..e32e9fe4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaseten2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsBaseten2 + { + /// + /// 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.SpeechRequestProviderOptionsBaseten2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsBaseten2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsBaseten2; + } + + /// + /// 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.SpeechRequestProviderOptionsBaseten2? 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.SpeechRequestProviderOptionsBaseten2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsBaseten2; + } + + /// + /// 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.SpeechRequestProviderOptionsBaseten2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaseten2.g.cs new file mode 100644 index 00000000..2252ccb5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBaseten2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsBaseten2 + { + + /// + /// 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.SpeechRequestProviderOptionsBlackForestLabs.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBlackForestLabs.Json.g.cs new file mode 100644 index 00000000..188c87de --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBlackForestLabs.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsBlackForestLabs + { + /// + /// 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.SpeechRequestProviderOptionsBlackForestLabs? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsBlackForestLabs), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsBlackForestLabs; + } + + /// + /// 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.SpeechRequestProviderOptionsBlackForestLabs? 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.SpeechRequestProviderOptionsBlackForestLabs), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsBlackForestLabs; + } + + /// + /// 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.SpeechRequestProviderOptionsBlackForestLabs.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBlackForestLabs.g.cs new file mode 100644 index 00000000..cc46c902 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBlackForestLabs.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsBlackForestLabs + { + + /// + /// 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.SpeechRequestProviderOptionsBlackForestLabs2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBlackForestLabs2.Json.g.cs new file mode 100644 index 00000000..3de23506 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBlackForestLabs2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsBlackForestLabs2 + { + /// + /// 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.SpeechRequestProviderOptionsBlackForestLabs2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsBlackForestLabs2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsBlackForestLabs2; + } + + /// + /// 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.SpeechRequestProviderOptionsBlackForestLabs2? 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.SpeechRequestProviderOptionsBlackForestLabs2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsBlackForestLabs2; + } + + /// + /// 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.SpeechRequestProviderOptionsBlackForestLabs2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBlackForestLabs2.g.cs new file mode 100644 index 00000000..58fc49df --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsBlackForestLabs2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsBlackForestLabs2 + { + + /// + /// 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.SpeechRequestProviderOptionsByteplus.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsByteplus.Json.g.cs new file mode 100644 index 00000000..0c0e9180 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsByteplus.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsByteplus + { + /// + /// 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.SpeechRequestProviderOptionsByteplus? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsByteplus), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsByteplus; + } + + /// + /// 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.SpeechRequestProviderOptionsByteplus? 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.SpeechRequestProviderOptionsByteplus), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsByteplus; + } + + /// + /// 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.SpeechRequestProviderOptionsByteplus.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsByteplus.g.cs new file mode 100644 index 00000000..5555a5ea --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsByteplus.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsByteplus + { + + /// + /// 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.SpeechRequestProviderOptionsByteplus2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsByteplus2.Json.g.cs new file mode 100644 index 00000000..765ee260 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsByteplus2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsByteplus2 + { + /// + /// 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.SpeechRequestProviderOptionsByteplus2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsByteplus2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsByteplus2; + } + + /// + /// 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.SpeechRequestProviderOptionsByteplus2? 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.SpeechRequestProviderOptionsByteplus2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsByteplus2; + } + + /// + /// 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.SpeechRequestProviderOptionsByteplus2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsByteplus2.g.cs new file mode 100644 index 00000000..c0200fa0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsByteplus2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsByteplus2 + { + + /// + /// 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.SpeechRequestProviderOptionsCentml.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCentml.Json.g.cs new file mode 100644 index 00000000..3e301212 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCentml.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCentml + { + /// + /// 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.SpeechRequestProviderOptionsCentml? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCentml), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCentml; + } + + /// + /// 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.SpeechRequestProviderOptionsCentml? 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.SpeechRequestProviderOptionsCentml), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCentml; + } + + /// + /// 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.SpeechRequestProviderOptionsCentml.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCentml.g.cs new file mode 100644 index 00000000..c9c5d5b8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCentml.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsCentml + { + + /// + /// 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.SpeechRequestProviderOptionsCentml2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCentml2.Json.g.cs new file mode 100644 index 00000000..4e21ce95 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCentml2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCentml2 + { + /// + /// 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.SpeechRequestProviderOptionsCentml2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCentml2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCentml2; + } + + /// + /// 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.SpeechRequestProviderOptionsCentml2? 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.SpeechRequestProviderOptionsCentml2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCentml2; + } + + /// + /// 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.SpeechRequestProviderOptionsCentml2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCentml2.g.cs new file mode 100644 index 00000000..7e905736 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCentml2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsCentml2 + { + + /// + /// 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.SpeechRequestProviderOptionsCerebras.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCerebras.Json.g.cs new file mode 100644 index 00000000..2a27dc60 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCerebras.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCerebras + { + /// + /// 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.SpeechRequestProviderOptionsCerebras? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCerebras), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCerebras; + } + + /// + /// 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.SpeechRequestProviderOptionsCerebras? 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.SpeechRequestProviderOptionsCerebras), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCerebras; + } + + /// + /// 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.SpeechRequestProviderOptionsCerebras.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCerebras.g.cs new file mode 100644 index 00000000..084581b3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCerebras.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsCerebras + { + + /// + /// 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.SpeechRequestProviderOptionsCerebras2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCerebras2.Json.g.cs new file mode 100644 index 00000000..7ea06952 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCerebras2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCerebras2 + { + /// + /// 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.SpeechRequestProviderOptionsCerebras2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCerebras2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCerebras2; + } + + /// + /// 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.SpeechRequestProviderOptionsCerebras2? 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.SpeechRequestProviderOptionsCerebras2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCerebras2; + } + + /// + /// 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.SpeechRequestProviderOptionsCerebras2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCerebras2.g.cs new file mode 100644 index 00000000..7318ecb9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCerebras2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsCerebras2 + { + + /// + /// 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.SpeechRequestProviderOptionsChutes.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsChutes.Json.g.cs new file mode 100644 index 00000000..01487adb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsChutes.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsChutes + { + /// + /// 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.SpeechRequestProviderOptionsChutes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsChutes), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsChutes; + } + + /// + /// 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.SpeechRequestProviderOptionsChutes? 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.SpeechRequestProviderOptionsChutes), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsChutes; + } + + /// + /// 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.SpeechRequestProviderOptionsChutes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsChutes.g.cs new file mode 100644 index 00000000..ae0fd302 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsChutes.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsChutes + { + + /// + /// 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.SpeechRequestProviderOptionsChutes2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsChutes2.Json.g.cs new file mode 100644 index 00000000..945aca3b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsChutes2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsChutes2 + { + /// + /// 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.SpeechRequestProviderOptionsChutes2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsChutes2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsChutes2; + } + + /// + /// 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.SpeechRequestProviderOptionsChutes2? 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.SpeechRequestProviderOptionsChutes2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsChutes2; + } + + /// + /// 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.SpeechRequestProviderOptionsChutes2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsChutes2.g.cs new file mode 100644 index 00000000..7d7a2965 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsChutes2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsChutes2 + { + + /// + /// 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.SpeechRequestProviderOptionsCirrascale.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCirrascale.Json.g.cs new file mode 100644 index 00000000..692a40e9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCirrascale.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCirrascale + { + /// + /// 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.SpeechRequestProviderOptionsCirrascale? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCirrascale), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCirrascale; + } + + /// + /// 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.SpeechRequestProviderOptionsCirrascale? 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.SpeechRequestProviderOptionsCirrascale), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCirrascale; + } + + /// + /// 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.SpeechRequestProviderOptionsCirrascale.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCirrascale.g.cs new file mode 100644 index 00000000..bd15ba4d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCirrascale.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsCirrascale + { + + /// + /// 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.SpeechRequestProviderOptionsCirrascale2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCirrascale2.Json.g.cs new file mode 100644 index 00000000..ea0a54c5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCirrascale2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCirrascale2 + { + /// + /// 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.SpeechRequestProviderOptionsCirrascale2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCirrascale2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCirrascale2; + } + + /// + /// 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.SpeechRequestProviderOptionsCirrascale2? 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.SpeechRequestProviderOptionsCirrascale2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCirrascale2; + } + + /// + /// 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.SpeechRequestProviderOptionsCirrascale2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCirrascale2.g.cs new file mode 100644 index 00000000..a519a324 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCirrascale2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsCirrascale2 + { + + /// + /// 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.SpeechRequestProviderOptionsClarifai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsClarifai.Json.g.cs new file mode 100644 index 00000000..3903a53e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsClarifai.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsClarifai + { + /// + /// 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.SpeechRequestProviderOptionsClarifai? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsClarifai), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsClarifai; + } + + /// + /// 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.SpeechRequestProviderOptionsClarifai? 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.SpeechRequestProviderOptionsClarifai), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsClarifai; + } + + /// + /// 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.SpeechRequestProviderOptionsClarifai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsClarifai.g.cs new file mode 100644 index 00000000..4e516a33 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsClarifai.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsClarifai + { + + /// + /// 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.SpeechRequestProviderOptionsClarifai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsClarifai2.Json.g.cs new file mode 100644 index 00000000..32b5909b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsClarifai2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsClarifai2 + { + /// + /// 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.SpeechRequestProviderOptionsClarifai2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsClarifai2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsClarifai2; + } + + /// + /// 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.SpeechRequestProviderOptionsClarifai2? 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.SpeechRequestProviderOptionsClarifai2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsClarifai2; + } + + /// + /// 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.SpeechRequestProviderOptionsClarifai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsClarifai2.g.cs new file mode 100644 index 00000000..7d1473dd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsClarifai2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsClarifai2 + { + + /// + /// 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.SpeechRequestProviderOptionsCloudflare.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCloudflare.Json.g.cs new file mode 100644 index 00000000..f066cca7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCloudflare.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCloudflare + { + /// + /// 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.SpeechRequestProviderOptionsCloudflare? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCloudflare), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCloudflare; + } + + /// + /// 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.SpeechRequestProviderOptionsCloudflare? 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.SpeechRequestProviderOptionsCloudflare), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCloudflare; + } + + /// + /// 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.SpeechRequestProviderOptionsCloudflare.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCloudflare.g.cs new file mode 100644 index 00000000..f16b0be5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCloudflare.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsCloudflare + { + + /// + /// 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.SpeechRequestProviderOptionsCloudflare2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCloudflare2.Json.g.cs new file mode 100644 index 00000000..0c571425 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCloudflare2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCloudflare2 + { + /// + /// 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.SpeechRequestProviderOptionsCloudflare2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCloudflare2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCloudflare2; + } + + /// + /// 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.SpeechRequestProviderOptionsCloudflare2? 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.SpeechRequestProviderOptionsCloudflare2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCloudflare2; + } + + /// + /// 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.SpeechRequestProviderOptionsCloudflare2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCloudflare2.g.cs new file mode 100644 index 00000000..393b7ad3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCloudflare2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsCloudflare2 + { + + /// + /// 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.SpeechRequestProviderOptionsCohere.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCohere.Json.g.cs new file mode 100644 index 00000000..1603d9b6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCohere.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCohere + { + /// + /// 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.SpeechRequestProviderOptionsCohere? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCohere), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCohere; + } + + /// + /// 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.SpeechRequestProviderOptionsCohere? 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.SpeechRequestProviderOptionsCohere), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCohere; + } + + /// + /// 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.SpeechRequestProviderOptionsCohere.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCohere.g.cs new file mode 100644 index 00000000..48818281 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCohere.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsCohere + { + + /// + /// 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.SpeechRequestProviderOptionsCohere2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCohere2.Json.g.cs new file mode 100644 index 00000000..c83770be --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCohere2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCohere2 + { + /// + /// 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.SpeechRequestProviderOptionsCohere2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCohere2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCohere2; + } + + /// + /// 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.SpeechRequestProviderOptionsCohere2? 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.SpeechRequestProviderOptionsCohere2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCohere2; + } + + /// + /// 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.SpeechRequestProviderOptionsCohere2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCohere2.g.cs new file mode 100644 index 00000000..3f46415d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCohere2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsCohere2 + { + + /// + /// 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.SpeechRequestProviderOptionsCrofai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrofai.Json.g.cs new file mode 100644 index 00000000..23e9aeec --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrofai.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCrofai + { + /// + /// 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.SpeechRequestProviderOptionsCrofai? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCrofai), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCrofai; + } + + /// + /// 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.SpeechRequestProviderOptionsCrofai? 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.SpeechRequestProviderOptionsCrofai), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCrofai; + } + + /// + /// 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.SpeechRequestProviderOptionsCrofai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrofai.g.cs new file mode 100644 index 00000000..485bfb78 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrofai.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsCrofai + { + + /// + /// 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.SpeechRequestProviderOptionsCrofai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrofai2.Json.g.cs new file mode 100644 index 00000000..8bea103b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrofai2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCrofai2 + { + /// + /// 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.SpeechRequestProviderOptionsCrofai2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCrofai2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCrofai2; + } + + /// + /// 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.SpeechRequestProviderOptionsCrofai2? 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.SpeechRequestProviderOptionsCrofai2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCrofai2; + } + + /// + /// 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.SpeechRequestProviderOptionsCrofai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrofai2.g.cs new file mode 100644 index 00000000..90b7792e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrofai2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsCrofai2 + { + + /// + /// 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.SpeechRequestProviderOptionsCrusoe.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrusoe.Json.g.cs new file mode 100644 index 00000000..42d311ae --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrusoe.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCrusoe + { + /// + /// 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.SpeechRequestProviderOptionsCrusoe? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCrusoe), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCrusoe; + } + + /// + /// 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.SpeechRequestProviderOptionsCrusoe? 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.SpeechRequestProviderOptionsCrusoe), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCrusoe; + } + + /// + /// 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.SpeechRequestProviderOptionsCrusoe.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrusoe.g.cs new file mode 100644 index 00000000..1bd13e36 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrusoe.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsCrusoe + { + + /// + /// 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.SpeechRequestProviderOptionsCrusoe2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrusoe2.Json.g.cs new file mode 100644 index 00000000..37ea241d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrusoe2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsCrusoe2 + { + /// + /// 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.SpeechRequestProviderOptionsCrusoe2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsCrusoe2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsCrusoe2; + } + + /// + /// 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.SpeechRequestProviderOptionsCrusoe2? 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.SpeechRequestProviderOptionsCrusoe2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsCrusoe2; + } + + /// + /// 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.SpeechRequestProviderOptionsCrusoe2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrusoe2.g.cs new file mode 100644 index 00000000..380eeda2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsCrusoe2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsCrusoe2 + { + + /// + /// 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.SpeechRequestProviderOptionsDeepinfra.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepinfra.Json.g.cs new file mode 100644 index 00000000..62451283 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepinfra.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsDeepinfra + { + /// + /// 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.SpeechRequestProviderOptionsDeepinfra? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsDeepinfra), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsDeepinfra; + } + + /// + /// 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.SpeechRequestProviderOptionsDeepinfra? 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.SpeechRequestProviderOptionsDeepinfra), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsDeepinfra; + } + + /// + /// 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.SpeechRequestProviderOptionsDeepinfra.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepinfra.g.cs new file mode 100644 index 00000000..a8d85cb5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepinfra.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsDeepinfra + { + + /// + /// 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.SpeechRequestProviderOptionsDeepinfra2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepinfra2.Json.g.cs new file mode 100644 index 00000000..00ecee0f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepinfra2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsDeepinfra2 + { + /// + /// 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.SpeechRequestProviderOptionsDeepinfra2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsDeepinfra2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsDeepinfra2; + } + + /// + /// 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.SpeechRequestProviderOptionsDeepinfra2? 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.SpeechRequestProviderOptionsDeepinfra2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsDeepinfra2; + } + + /// + /// 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.SpeechRequestProviderOptionsDeepinfra2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepinfra2.g.cs new file mode 100644 index 00000000..16429527 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepinfra2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsDeepinfra2 + { + + /// + /// 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.SpeechRequestProviderOptionsDeepseek.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepseek.Json.g.cs new file mode 100644 index 00000000..f4e719e7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepseek.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsDeepseek + { + /// + /// 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.SpeechRequestProviderOptionsDeepseek? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsDeepseek), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsDeepseek; + } + + /// + /// 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.SpeechRequestProviderOptionsDeepseek? 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.SpeechRequestProviderOptionsDeepseek), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsDeepseek; + } + + /// + /// 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.SpeechRequestProviderOptionsDeepseek.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepseek.g.cs new file mode 100644 index 00000000..87c2412a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepseek.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsDeepseek + { + + /// + /// 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.SpeechRequestProviderOptionsDeepseek2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepseek2.Json.g.cs new file mode 100644 index 00000000..d415010d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepseek2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsDeepseek2 + { + /// + /// 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.SpeechRequestProviderOptionsDeepseek2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsDeepseek2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsDeepseek2; + } + + /// + /// 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.SpeechRequestProviderOptionsDeepseek2? 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.SpeechRequestProviderOptionsDeepseek2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsDeepseek2; + } + + /// + /// 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.SpeechRequestProviderOptionsDeepseek2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepseek2.g.cs new file mode 100644 index 00000000..7c0696db --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDeepseek2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsDeepseek2 + { + + /// + /// 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.SpeechRequestProviderOptionsDekallm.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDekallm.Json.g.cs new file mode 100644 index 00000000..d0ea95ec --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDekallm.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsDekallm + { + /// + /// 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.SpeechRequestProviderOptionsDekallm? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsDekallm), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsDekallm; + } + + /// + /// 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.SpeechRequestProviderOptionsDekallm? 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.SpeechRequestProviderOptionsDekallm), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsDekallm; + } + + /// + /// 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.SpeechRequestProviderOptionsDekallm.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDekallm.g.cs new file mode 100644 index 00000000..28ae85f9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDekallm.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsDekallm + { + + /// + /// 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.SpeechRequestProviderOptionsDekallm2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDekallm2.Json.g.cs new file mode 100644 index 00000000..d576cbdd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDekallm2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsDekallm2 + { + /// + /// 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.SpeechRequestProviderOptionsDekallm2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsDekallm2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsDekallm2; + } + + /// + /// 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.SpeechRequestProviderOptionsDekallm2? 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.SpeechRequestProviderOptionsDekallm2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsDekallm2; + } + + /// + /// 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.SpeechRequestProviderOptionsDekallm2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDekallm2.g.cs new file mode 100644 index 00000000..563c856e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsDekallm2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsDekallm2 + { + + /// + /// 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.SpeechRequestProviderOptionsEnfer.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsEnfer.Json.g.cs new file mode 100644 index 00000000..6d16650b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsEnfer.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsEnfer + { + /// + /// 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.SpeechRequestProviderOptionsEnfer? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsEnfer), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsEnfer; + } + + /// + /// 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.SpeechRequestProviderOptionsEnfer? 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.SpeechRequestProviderOptionsEnfer), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsEnfer; + } + + /// + /// 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.SpeechRequestProviderOptionsEnfer.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsEnfer.g.cs new file mode 100644 index 00000000..e4ef86ca --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsEnfer.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsEnfer + { + + /// + /// 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.SpeechRequestProviderOptionsEnfer2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsEnfer2.Json.g.cs new file mode 100644 index 00000000..9efe5274 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsEnfer2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsEnfer2 + { + /// + /// 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.SpeechRequestProviderOptionsEnfer2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsEnfer2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsEnfer2; + } + + /// + /// 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.SpeechRequestProviderOptionsEnfer2? 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.SpeechRequestProviderOptionsEnfer2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsEnfer2; + } + + /// + /// 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.SpeechRequestProviderOptionsEnfer2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsEnfer2.g.cs new file mode 100644 index 00000000..17d2c6e1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsEnfer2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsEnfer2 + { + + /// + /// 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.SpeechRequestProviderOptionsFakeProvider.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFakeProvider.Json.g.cs new file mode 100644 index 00000000..fdec7acd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFakeProvider.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsFakeProvider + { + /// + /// 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.SpeechRequestProviderOptionsFakeProvider? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsFakeProvider), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsFakeProvider; + } + + /// + /// 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.SpeechRequestProviderOptionsFakeProvider? 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.SpeechRequestProviderOptionsFakeProvider), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsFakeProvider; + } + + /// + /// 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.SpeechRequestProviderOptionsFakeProvider.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFakeProvider.g.cs new file mode 100644 index 00000000..d386c696 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFakeProvider.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsFakeProvider + { + + /// + /// 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.SpeechRequestProviderOptionsFakeProvider2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFakeProvider2.Json.g.cs new file mode 100644 index 00000000..3310d121 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFakeProvider2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsFakeProvider2 + { + /// + /// 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.SpeechRequestProviderOptionsFakeProvider2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsFakeProvider2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsFakeProvider2; + } + + /// + /// 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.SpeechRequestProviderOptionsFakeProvider2? 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.SpeechRequestProviderOptionsFakeProvider2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsFakeProvider2; + } + + /// + /// 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.SpeechRequestProviderOptionsFakeProvider2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFakeProvider2.g.cs new file mode 100644 index 00000000..55df4938 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFakeProvider2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsFakeProvider2 + { + + /// + /// 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.SpeechRequestProviderOptionsFeatherless.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFeatherless.Json.g.cs new file mode 100644 index 00000000..91055619 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFeatherless.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsFeatherless + { + /// + /// 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.SpeechRequestProviderOptionsFeatherless? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsFeatherless), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsFeatherless; + } + + /// + /// 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.SpeechRequestProviderOptionsFeatherless? 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.SpeechRequestProviderOptionsFeatherless), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsFeatherless; + } + + /// + /// 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.SpeechRequestProviderOptionsFeatherless.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFeatherless.g.cs new file mode 100644 index 00000000..860ec9c5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFeatherless.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsFeatherless + { + + /// + /// 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.SpeechRequestProviderOptionsFeatherless2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFeatherless2.Json.g.cs new file mode 100644 index 00000000..9cd69761 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFeatherless2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsFeatherless2 + { + /// + /// 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.SpeechRequestProviderOptionsFeatherless2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsFeatherless2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsFeatherless2; + } + + /// + /// 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.SpeechRequestProviderOptionsFeatherless2? 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.SpeechRequestProviderOptionsFeatherless2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsFeatherless2; + } + + /// + /// 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.SpeechRequestProviderOptionsFeatherless2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFeatherless2.g.cs new file mode 100644 index 00000000..2ec9f371 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFeatherless2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsFeatherless2 + { + + /// + /// 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.SpeechRequestProviderOptionsFireworks.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFireworks.Json.g.cs new file mode 100644 index 00000000..7c7938fc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFireworks.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsFireworks + { + /// + /// 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.SpeechRequestProviderOptionsFireworks? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsFireworks), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsFireworks; + } + + /// + /// 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.SpeechRequestProviderOptionsFireworks? 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.SpeechRequestProviderOptionsFireworks), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsFireworks; + } + + /// + /// 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.SpeechRequestProviderOptionsFireworks.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFireworks.g.cs new file mode 100644 index 00000000..6d1d7da5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFireworks.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsFireworks + { + + /// + /// 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.SpeechRequestProviderOptionsFireworks2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFireworks2.Json.g.cs new file mode 100644 index 00000000..c799ab9e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFireworks2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsFireworks2 + { + /// + /// 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.SpeechRequestProviderOptionsFireworks2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsFireworks2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsFireworks2; + } + + /// + /// 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.SpeechRequestProviderOptionsFireworks2? 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.SpeechRequestProviderOptionsFireworks2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsFireworks2; + } + + /// + /// 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.SpeechRequestProviderOptionsFireworks2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFireworks2.g.cs new file mode 100644 index 00000000..6f09c079 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFireworks2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsFireworks2 + { + + /// + /// 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.SpeechRequestProviderOptionsFriendli.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFriendli.Json.g.cs new file mode 100644 index 00000000..b969b3b2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFriendli.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsFriendli + { + /// + /// 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.SpeechRequestProviderOptionsFriendli? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsFriendli), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsFriendli; + } + + /// + /// 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.SpeechRequestProviderOptionsFriendli? 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.SpeechRequestProviderOptionsFriendli), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsFriendli; + } + + /// + /// 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.SpeechRequestProviderOptionsFriendli.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFriendli.g.cs new file mode 100644 index 00000000..f6d581c7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFriendli.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsFriendli + { + + /// + /// 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.SpeechRequestProviderOptionsFriendli2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFriendli2.Json.g.cs new file mode 100644 index 00000000..053a93fc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFriendli2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsFriendli2 + { + /// + /// 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.SpeechRequestProviderOptionsFriendli2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsFriendli2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsFriendli2; + } + + /// + /// 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.SpeechRequestProviderOptionsFriendli2? 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.SpeechRequestProviderOptionsFriendli2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsFriendli2; + } + + /// + /// 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.SpeechRequestProviderOptionsFriendli2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFriendli2.g.cs new file mode 100644 index 00000000..8909d979 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsFriendli2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsFriendli2 + { + + /// + /// 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.SpeechRequestProviderOptionsGmicloud.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGmicloud.Json.g.cs new file mode 100644 index 00000000..e8b60520 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGmicloud.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsGmicloud + { + /// + /// 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.SpeechRequestProviderOptionsGmicloud? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsGmicloud), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsGmicloud; + } + + /// + /// 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.SpeechRequestProviderOptionsGmicloud? 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.SpeechRequestProviderOptionsGmicloud), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsGmicloud; + } + + /// + /// 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.SpeechRequestProviderOptionsGmicloud.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGmicloud.g.cs new file mode 100644 index 00000000..a87e4de1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGmicloud.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsGmicloud + { + + /// + /// 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.SpeechRequestProviderOptionsGmicloud2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGmicloud2.Json.g.cs new file mode 100644 index 00000000..59e3361a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGmicloud2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsGmicloud2 + { + /// + /// 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.SpeechRequestProviderOptionsGmicloud2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsGmicloud2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsGmicloud2; + } + + /// + /// 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.SpeechRequestProviderOptionsGmicloud2? 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.SpeechRequestProviderOptionsGmicloud2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsGmicloud2; + } + + /// + /// 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.SpeechRequestProviderOptionsGmicloud2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGmicloud2.g.cs new file mode 100644 index 00000000..43f9dc44 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGmicloud2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsGmicloud2 + { + + /// + /// 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.SpeechRequestProviderOptionsGoogleAiStudio.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleAiStudio.Json.g.cs new file mode 100644 index 00000000..3ef07c1f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleAiStudio.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsGoogleAiStudio + { + /// + /// 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.SpeechRequestProviderOptionsGoogleAiStudio? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsGoogleAiStudio), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsGoogleAiStudio; + } + + /// + /// 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.SpeechRequestProviderOptionsGoogleAiStudio? 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.SpeechRequestProviderOptionsGoogleAiStudio), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsGoogleAiStudio; + } + + /// + /// 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.SpeechRequestProviderOptionsGoogleAiStudio.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleAiStudio.g.cs new file mode 100644 index 00000000..5ffacc83 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleAiStudio.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsGoogleAiStudio + { + + /// + /// 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.SpeechRequestProviderOptionsGoogleAiStudio2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleAiStudio2.Json.g.cs new file mode 100644 index 00000000..233f48d5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleAiStudio2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsGoogleAiStudio2 + { + /// + /// 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.SpeechRequestProviderOptionsGoogleAiStudio2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsGoogleAiStudio2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsGoogleAiStudio2; + } + + /// + /// 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.SpeechRequestProviderOptionsGoogleAiStudio2? 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.SpeechRequestProviderOptionsGoogleAiStudio2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsGoogleAiStudio2; + } + + /// + /// 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.SpeechRequestProviderOptionsGoogleAiStudio2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleAiStudio2.g.cs new file mode 100644 index 00000000..3e4f11b1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleAiStudio2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsGoogleAiStudio2 + { + + /// + /// 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.SpeechRequestProviderOptionsGoogleVertex.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleVertex.Json.g.cs new file mode 100644 index 00000000..9ed3f559 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleVertex.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsGoogleVertex + { + /// + /// 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.SpeechRequestProviderOptionsGoogleVertex? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsGoogleVertex), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsGoogleVertex; + } + + /// + /// 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.SpeechRequestProviderOptionsGoogleVertex? 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.SpeechRequestProviderOptionsGoogleVertex), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsGoogleVertex; + } + + /// + /// 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.SpeechRequestProviderOptionsGoogleVertex.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleVertex.g.cs new file mode 100644 index 00000000..eb24b426 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleVertex.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsGoogleVertex + { + + /// + /// 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.SpeechRequestProviderOptionsGoogleVertex2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleVertex2.Json.g.cs new file mode 100644 index 00000000..6c3dfbab --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleVertex2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsGoogleVertex2 + { + /// + /// 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.SpeechRequestProviderOptionsGoogleVertex2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsGoogleVertex2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsGoogleVertex2; + } + + /// + /// 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.SpeechRequestProviderOptionsGoogleVertex2? 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.SpeechRequestProviderOptionsGoogleVertex2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsGoogleVertex2; + } + + /// + /// 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.SpeechRequestProviderOptionsGoogleVertex2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleVertex2.g.cs new file mode 100644 index 00000000..c5bcc3a1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGoogleVertex2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsGoogleVertex2 + { + + /// + /// 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.SpeechRequestProviderOptionsGopomelo.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGopomelo.Json.g.cs new file mode 100644 index 00000000..210af2a0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGopomelo.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsGopomelo + { + /// + /// 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.SpeechRequestProviderOptionsGopomelo? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsGopomelo), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsGopomelo; + } + + /// + /// 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.SpeechRequestProviderOptionsGopomelo? 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.SpeechRequestProviderOptionsGopomelo), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsGopomelo; + } + + /// + /// 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.SpeechRequestProviderOptionsGopomelo.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGopomelo.g.cs new file mode 100644 index 00000000..6fe17627 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGopomelo.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsGopomelo + { + + /// + /// 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.SpeechRequestProviderOptionsGopomelo2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGopomelo2.Json.g.cs new file mode 100644 index 00000000..1a86d0b1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGopomelo2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsGopomelo2 + { + /// + /// 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.SpeechRequestProviderOptionsGopomelo2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsGopomelo2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsGopomelo2; + } + + /// + /// 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.SpeechRequestProviderOptionsGopomelo2? 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.SpeechRequestProviderOptionsGopomelo2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsGopomelo2; + } + + /// + /// 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.SpeechRequestProviderOptionsGopomelo2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGopomelo2.g.cs new file mode 100644 index 00000000..705e7604 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGopomelo2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsGopomelo2 + { + + /// + /// 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.SpeechRequestProviderOptionsGroq.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGroq.Json.g.cs new file mode 100644 index 00000000..7cc01971 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGroq.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsGroq + { + /// + /// 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.SpeechRequestProviderOptionsGroq? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsGroq), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsGroq; + } + + /// + /// 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.SpeechRequestProviderOptionsGroq? 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.SpeechRequestProviderOptionsGroq), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsGroq; + } + + /// + /// 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.SpeechRequestProviderOptionsGroq.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGroq.g.cs new file mode 100644 index 00000000..5b4c483c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGroq.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsGroq + { + + /// + /// 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.SpeechRequestProviderOptionsGroq2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGroq2.Json.g.cs new file mode 100644 index 00000000..43801f4a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGroq2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsGroq2 + { + /// + /// 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.SpeechRequestProviderOptionsGroq2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsGroq2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsGroq2; + } + + /// + /// 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.SpeechRequestProviderOptionsGroq2? 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.SpeechRequestProviderOptionsGroq2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsGroq2; + } + + /// + /// 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.SpeechRequestProviderOptionsGroq2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGroq2.g.cs new file mode 100644 index 00000000..74a9c57a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsGroq2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsGroq2 + { + + /// + /// 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.SpeechRequestProviderOptionsHuggingface.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHuggingface.Json.g.cs new file mode 100644 index 00000000..0d4236f0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHuggingface.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsHuggingface + { + /// + /// 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.SpeechRequestProviderOptionsHuggingface? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsHuggingface), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsHuggingface; + } + + /// + /// 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.SpeechRequestProviderOptionsHuggingface? 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.SpeechRequestProviderOptionsHuggingface), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsHuggingface; + } + + /// + /// 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.SpeechRequestProviderOptionsHuggingface.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHuggingface.g.cs new file mode 100644 index 00000000..81b84094 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHuggingface.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsHuggingface + { + + /// + /// 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.SpeechRequestProviderOptionsHuggingface2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHuggingface2.Json.g.cs new file mode 100644 index 00000000..c2c05fcb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHuggingface2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsHuggingface2 + { + /// + /// 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.SpeechRequestProviderOptionsHuggingface2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsHuggingface2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsHuggingface2; + } + + /// + /// 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.SpeechRequestProviderOptionsHuggingface2? 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.SpeechRequestProviderOptionsHuggingface2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsHuggingface2; + } + + /// + /// 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.SpeechRequestProviderOptionsHuggingface2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHuggingface2.g.cs new file mode 100644 index 00000000..e9a0e62e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHuggingface2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsHuggingface2 + { + + /// + /// 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.SpeechRequestProviderOptionsHyperbolic.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolic.Json.g.cs new file mode 100644 index 00000000..300ec324 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolic.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsHyperbolic + { + /// + /// 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.SpeechRequestProviderOptionsHyperbolic? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsHyperbolic), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsHyperbolic; + } + + /// + /// 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.SpeechRequestProviderOptionsHyperbolic? 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.SpeechRequestProviderOptionsHyperbolic), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsHyperbolic; + } + + /// + /// 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.SpeechRequestProviderOptionsHyperbolic.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolic.g.cs new file mode 100644 index 00000000..fd7345da --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolic.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsHyperbolic + { + + /// + /// 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.SpeechRequestProviderOptionsHyperbolic2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolic2.Json.g.cs new file mode 100644 index 00000000..0fae3225 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolic2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsHyperbolic2 + { + /// + /// 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.SpeechRequestProviderOptionsHyperbolic2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsHyperbolic2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsHyperbolic2; + } + + /// + /// 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.SpeechRequestProviderOptionsHyperbolic2? 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.SpeechRequestProviderOptionsHyperbolic2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsHyperbolic2; + } + + /// + /// 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.SpeechRequestProviderOptionsHyperbolic2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolic2.g.cs new file mode 100644 index 00000000..1028ee25 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolic2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsHyperbolic2 + { + + /// + /// 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.SpeechRequestProviderOptionsHyperbolicQuantized.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolicQuantized.Json.g.cs new file mode 100644 index 00000000..29c6c25c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolicQuantized.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsHyperbolicQuantized + { + /// + /// 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.SpeechRequestProviderOptionsHyperbolicQuantized? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsHyperbolicQuantized), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsHyperbolicQuantized; + } + + /// + /// 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.SpeechRequestProviderOptionsHyperbolicQuantized? 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.SpeechRequestProviderOptionsHyperbolicQuantized), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsHyperbolicQuantized; + } + + /// + /// 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.SpeechRequestProviderOptionsHyperbolicQuantized.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolicQuantized.g.cs new file mode 100644 index 00000000..a31d4662 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolicQuantized.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsHyperbolicQuantized + { + + /// + /// 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.SpeechRequestProviderOptionsHyperbolicQuantized2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolicQuantized2.Json.g.cs new file mode 100644 index 00000000..4be9b9eb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolicQuantized2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsHyperbolicQuantized2 + { + /// + /// 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.SpeechRequestProviderOptionsHyperbolicQuantized2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsHyperbolicQuantized2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsHyperbolicQuantized2; + } + + /// + /// 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.SpeechRequestProviderOptionsHyperbolicQuantized2? 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.SpeechRequestProviderOptionsHyperbolicQuantized2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsHyperbolicQuantized2; + } + + /// + /// 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.SpeechRequestProviderOptionsHyperbolicQuantized2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolicQuantized2.g.cs new file mode 100644 index 00000000..12781489 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsHyperbolicQuantized2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsHyperbolicQuantized2 + { + + /// + /// 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.SpeechRequestProviderOptionsInception.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInception.Json.g.cs new file mode 100644 index 00000000..d80476bd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInception.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInception + { + /// + /// 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.SpeechRequestProviderOptionsInception? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInception), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInception; + } + + /// + /// 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.SpeechRequestProviderOptionsInception? 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.SpeechRequestProviderOptionsInception), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInception; + } + + /// + /// 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.SpeechRequestProviderOptionsInception.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInception.g.cs new file mode 100644 index 00000000..65df2512 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInception.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsInception + { + + /// + /// 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.SpeechRequestProviderOptionsInception2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInception2.Json.g.cs new file mode 100644 index 00000000..45716b7d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInception2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInception2 + { + /// + /// 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.SpeechRequestProviderOptionsInception2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInception2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInception2; + } + + /// + /// 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.SpeechRequestProviderOptionsInception2? 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.SpeechRequestProviderOptionsInception2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInception2; + } + + /// + /// 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.SpeechRequestProviderOptionsInception2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInception2.g.cs new file mode 100644 index 00000000..03e8b56f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInception2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsInception2 + { + + /// + /// 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.SpeechRequestProviderOptionsInceptron.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInceptron.Json.g.cs new file mode 100644 index 00000000..cfb17c55 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInceptron.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInceptron + { + /// + /// 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.SpeechRequestProviderOptionsInceptron? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInceptron), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInceptron; + } + + /// + /// 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.SpeechRequestProviderOptionsInceptron? 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.SpeechRequestProviderOptionsInceptron), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInceptron; + } + + /// + /// 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.SpeechRequestProviderOptionsInceptron.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInceptron.g.cs new file mode 100644 index 00000000..353330b9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInceptron.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsInceptron + { + + /// + /// 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.SpeechRequestProviderOptionsInceptron2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInceptron2.Json.g.cs new file mode 100644 index 00000000..5ffd6789 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInceptron2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInceptron2 + { + /// + /// 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.SpeechRequestProviderOptionsInceptron2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInceptron2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInceptron2; + } + + /// + /// 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.SpeechRequestProviderOptionsInceptron2? 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.SpeechRequestProviderOptionsInceptron2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInceptron2; + } + + /// + /// 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.SpeechRequestProviderOptionsInceptron2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInceptron2.g.cs new file mode 100644 index 00000000..459938b1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInceptron2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsInceptron2 + { + + /// + /// 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.SpeechRequestProviderOptionsInferenceNet.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInferenceNet.Json.g.cs new file mode 100644 index 00000000..505e0c39 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInferenceNet.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInferenceNet + { + /// + /// 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.SpeechRequestProviderOptionsInferenceNet? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInferenceNet), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInferenceNet; + } + + /// + /// 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.SpeechRequestProviderOptionsInferenceNet? 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.SpeechRequestProviderOptionsInferenceNet), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInferenceNet; + } + + /// + /// 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.SpeechRequestProviderOptionsInferenceNet.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInferenceNet.g.cs new file mode 100644 index 00000000..ff04ffeb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInferenceNet.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsInferenceNet + { + + /// + /// 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.SpeechRequestProviderOptionsInferenceNet2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInferenceNet2.Json.g.cs new file mode 100644 index 00000000..5d8c3402 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInferenceNet2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInferenceNet2 + { + /// + /// 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.SpeechRequestProviderOptionsInferenceNet2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInferenceNet2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInferenceNet2; + } + + /// + /// 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.SpeechRequestProviderOptionsInferenceNet2? 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.SpeechRequestProviderOptionsInferenceNet2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInferenceNet2; + } + + /// + /// 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.SpeechRequestProviderOptionsInferenceNet2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInferenceNet2.g.cs new file mode 100644 index 00000000..abdf2e92 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInferenceNet2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsInferenceNet2 + { + + /// + /// 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.SpeechRequestProviderOptionsInfermatic.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInfermatic.Json.g.cs new file mode 100644 index 00000000..2c7aeb90 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInfermatic.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInfermatic + { + /// + /// 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.SpeechRequestProviderOptionsInfermatic? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInfermatic), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInfermatic; + } + + /// + /// 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.SpeechRequestProviderOptionsInfermatic? 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.SpeechRequestProviderOptionsInfermatic), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInfermatic; + } + + /// + /// 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.SpeechRequestProviderOptionsInfermatic.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInfermatic.g.cs new file mode 100644 index 00000000..b190e6d4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInfermatic.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsInfermatic + { + + /// + /// 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.SpeechRequestProviderOptionsInfermatic2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInfermatic2.Json.g.cs new file mode 100644 index 00000000..41b0f9d4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInfermatic2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInfermatic2 + { + /// + /// 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.SpeechRequestProviderOptionsInfermatic2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInfermatic2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInfermatic2; + } + + /// + /// 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.SpeechRequestProviderOptionsInfermatic2? 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.SpeechRequestProviderOptionsInfermatic2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInfermatic2; + } + + /// + /// 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.SpeechRequestProviderOptionsInfermatic2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInfermatic2.g.cs new file mode 100644 index 00000000..6559ed3c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInfermatic2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsInfermatic2 + { + + /// + /// 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.SpeechRequestProviderOptionsInflection.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInflection.Json.g.cs new file mode 100644 index 00000000..01f2fb30 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInflection.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInflection + { + /// + /// 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.SpeechRequestProviderOptionsInflection? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInflection), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInflection; + } + + /// + /// 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.SpeechRequestProviderOptionsInflection? 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.SpeechRequestProviderOptionsInflection), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInflection; + } + + /// + /// 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.SpeechRequestProviderOptionsInflection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInflection.g.cs new file mode 100644 index 00000000..67ab4108 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInflection.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsInflection + { + + /// + /// 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.SpeechRequestProviderOptionsInflection2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInflection2.Json.g.cs new file mode 100644 index 00000000..2817dca7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInflection2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInflection2 + { + /// + /// 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.SpeechRequestProviderOptionsInflection2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInflection2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInflection2; + } + + /// + /// 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.SpeechRequestProviderOptionsInflection2? 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.SpeechRequestProviderOptionsInflection2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInflection2; + } + + /// + /// 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.SpeechRequestProviderOptionsInflection2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInflection2.g.cs new file mode 100644 index 00000000..07439f54 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInflection2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsInflection2 + { + + /// + /// 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.SpeechRequestProviderOptionsInocloud.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInocloud.Json.g.cs new file mode 100644 index 00000000..4305dc01 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInocloud.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInocloud + { + /// + /// 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.SpeechRequestProviderOptionsInocloud? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInocloud), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInocloud; + } + + /// + /// 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.SpeechRequestProviderOptionsInocloud? 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.SpeechRequestProviderOptionsInocloud), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInocloud; + } + + /// + /// 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.SpeechRequestProviderOptionsInocloud.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInocloud.g.cs new file mode 100644 index 00000000..c9df7dba --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInocloud.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsInocloud + { + + /// + /// 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.SpeechRequestProviderOptionsInocloud2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInocloud2.Json.g.cs new file mode 100644 index 00000000..328b5061 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInocloud2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsInocloud2 + { + /// + /// 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.SpeechRequestProviderOptionsInocloud2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsInocloud2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsInocloud2; + } + + /// + /// 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.SpeechRequestProviderOptionsInocloud2? 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.SpeechRequestProviderOptionsInocloud2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsInocloud2; + } + + /// + /// 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.SpeechRequestProviderOptionsInocloud2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInocloud2.g.cs new file mode 100644 index 00000000..7bc8a0b8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsInocloud2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsInocloud2 + { + + /// + /// 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.SpeechRequestProviderOptionsIoNet.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIoNet.Json.g.cs new file mode 100644 index 00000000..71f1def1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIoNet.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsIoNet + { + /// + /// 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.SpeechRequestProviderOptionsIoNet? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsIoNet), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsIoNet; + } + + /// + /// 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.SpeechRequestProviderOptionsIoNet? 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.SpeechRequestProviderOptionsIoNet), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsIoNet; + } + + /// + /// 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.SpeechRequestProviderOptionsIoNet.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIoNet.g.cs new file mode 100644 index 00000000..7abbe37b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIoNet.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsIoNet + { + + /// + /// 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.SpeechRequestProviderOptionsIoNet2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIoNet2.Json.g.cs new file mode 100644 index 00000000..21a88891 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIoNet2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsIoNet2 + { + /// + /// 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.SpeechRequestProviderOptionsIoNet2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsIoNet2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsIoNet2; + } + + /// + /// 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.SpeechRequestProviderOptionsIoNet2? 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.SpeechRequestProviderOptionsIoNet2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsIoNet2; + } + + /// + /// 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.SpeechRequestProviderOptionsIoNet2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIoNet2.g.cs new file mode 100644 index 00000000..e68ad796 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIoNet2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsIoNet2 + { + + /// + /// 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.SpeechRequestProviderOptionsIonstream.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIonstream.Json.g.cs new file mode 100644 index 00000000..08cc39c7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIonstream.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsIonstream + { + /// + /// 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.SpeechRequestProviderOptionsIonstream? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsIonstream), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsIonstream; + } + + /// + /// 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.SpeechRequestProviderOptionsIonstream? 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.SpeechRequestProviderOptionsIonstream), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsIonstream; + } + + /// + /// 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.SpeechRequestProviderOptionsIonstream.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIonstream.g.cs new file mode 100644 index 00000000..a5ab3f56 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIonstream.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsIonstream + { + + /// + /// 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.SpeechRequestProviderOptionsIonstream2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIonstream2.Json.g.cs new file mode 100644 index 00000000..1fd69a8a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIonstream2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsIonstream2 + { + /// + /// 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.SpeechRequestProviderOptionsIonstream2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsIonstream2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsIonstream2; + } + + /// + /// 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.SpeechRequestProviderOptionsIonstream2? 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.SpeechRequestProviderOptionsIonstream2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsIonstream2; + } + + /// + /// 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.SpeechRequestProviderOptionsIonstream2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIonstream2.g.cs new file mode 100644 index 00000000..df2ac509 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsIonstream2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsIonstream2 + { + + /// + /// 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.SpeechRequestProviderOptionsKlusterai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsKlusterai.Json.g.cs new file mode 100644 index 00000000..7256c824 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsKlusterai.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsKlusterai + { + /// + /// 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.SpeechRequestProviderOptionsKlusterai? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsKlusterai), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsKlusterai; + } + + /// + /// 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.SpeechRequestProviderOptionsKlusterai? 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.SpeechRequestProviderOptionsKlusterai), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsKlusterai; + } + + /// + /// 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.SpeechRequestProviderOptionsKlusterai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsKlusterai.g.cs new file mode 100644 index 00000000..737ed6e9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsKlusterai.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsKlusterai + { + + /// + /// 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.SpeechRequestProviderOptionsKlusterai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsKlusterai2.Json.g.cs new file mode 100644 index 00000000..7a00407c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsKlusterai2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsKlusterai2 + { + /// + /// 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.SpeechRequestProviderOptionsKlusterai2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsKlusterai2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsKlusterai2; + } + + /// + /// 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.SpeechRequestProviderOptionsKlusterai2? 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.SpeechRequestProviderOptionsKlusterai2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsKlusterai2; + } + + /// + /// 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.SpeechRequestProviderOptionsKlusterai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsKlusterai2.g.cs new file mode 100644 index 00000000..54a5ac84 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsKlusterai2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsKlusterai2 + { + + /// + /// 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.SpeechRequestProviderOptionsLambda.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLambda.Json.g.cs new file mode 100644 index 00000000..6248bb7e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLambda.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsLambda + { + /// + /// 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.SpeechRequestProviderOptionsLambda? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsLambda), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsLambda; + } + + /// + /// 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.SpeechRequestProviderOptionsLambda? 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.SpeechRequestProviderOptionsLambda), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsLambda; + } + + /// + /// 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.SpeechRequestProviderOptionsLambda.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLambda.g.cs new file mode 100644 index 00000000..f7d60d8c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLambda.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsLambda + { + + /// + /// 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.SpeechRequestProviderOptionsLambda2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLambda2.Json.g.cs new file mode 100644 index 00000000..628e6626 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLambda2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsLambda2 + { + /// + /// 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.SpeechRequestProviderOptionsLambda2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsLambda2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsLambda2; + } + + /// + /// 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.SpeechRequestProviderOptionsLambda2? 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.SpeechRequestProviderOptionsLambda2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsLambda2; + } + + /// + /// 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.SpeechRequestProviderOptionsLambda2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLambda2.g.cs new file mode 100644 index 00000000..4605edb0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLambda2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsLambda2 + { + + /// + /// 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.SpeechRequestProviderOptionsLepton.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLepton.Json.g.cs new file mode 100644 index 00000000..f5006ce9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLepton.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsLepton + { + /// + /// 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.SpeechRequestProviderOptionsLepton? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsLepton), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsLepton; + } + + /// + /// 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.SpeechRequestProviderOptionsLepton? 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.SpeechRequestProviderOptionsLepton), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsLepton; + } + + /// + /// 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.SpeechRequestProviderOptionsLepton.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLepton.g.cs new file mode 100644 index 00000000..52e3955a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLepton.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsLepton + { + + /// + /// 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.SpeechRequestProviderOptionsLepton2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLepton2.Json.g.cs new file mode 100644 index 00000000..32c6bc0a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLepton2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsLepton2 + { + /// + /// 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.SpeechRequestProviderOptionsLepton2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsLepton2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsLepton2; + } + + /// + /// 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.SpeechRequestProviderOptionsLepton2? 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.SpeechRequestProviderOptionsLepton2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsLepton2; + } + + /// + /// 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.SpeechRequestProviderOptionsLepton2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLepton2.g.cs new file mode 100644 index 00000000..9a461c37 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLepton2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsLepton2 + { + + /// + /// 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.SpeechRequestProviderOptionsLiquid.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLiquid.Json.g.cs new file mode 100644 index 00000000..d2ec5be7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLiquid.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsLiquid + { + /// + /// 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.SpeechRequestProviderOptionsLiquid? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsLiquid), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsLiquid; + } + + /// + /// 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.SpeechRequestProviderOptionsLiquid? 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.SpeechRequestProviderOptionsLiquid), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsLiquid; + } + + /// + /// 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.SpeechRequestProviderOptionsLiquid.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLiquid.g.cs new file mode 100644 index 00000000..d2857605 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLiquid.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsLiquid + { + + /// + /// 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.SpeechRequestProviderOptionsLiquid2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLiquid2.Json.g.cs new file mode 100644 index 00000000..d6d5d24b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLiquid2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsLiquid2 + { + /// + /// 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.SpeechRequestProviderOptionsLiquid2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsLiquid2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsLiquid2; + } + + /// + /// 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.SpeechRequestProviderOptionsLiquid2? 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.SpeechRequestProviderOptionsLiquid2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsLiquid2; + } + + /// + /// 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.SpeechRequestProviderOptionsLiquid2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLiquid2.g.cs new file mode 100644 index 00000000..89113f22 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLiquid2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsLiquid2 + { + + /// + /// 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.SpeechRequestProviderOptionsLynn.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynn.Json.g.cs new file mode 100644 index 00000000..e4a47d37 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynn.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsLynn + { + /// + /// 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.SpeechRequestProviderOptionsLynn? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsLynn), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsLynn; + } + + /// + /// 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.SpeechRequestProviderOptionsLynn? 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.SpeechRequestProviderOptionsLynn), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsLynn; + } + + /// + /// 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.SpeechRequestProviderOptionsLynn.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynn.g.cs new file mode 100644 index 00000000..d639b788 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynn.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsLynn + { + + /// + /// 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.SpeechRequestProviderOptionsLynn2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynn2.Json.g.cs new file mode 100644 index 00000000..ef97a92f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynn2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsLynn2 + { + /// + /// 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.SpeechRequestProviderOptionsLynn2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsLynn2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsLynn2; + } + + /// + /// 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.SpeechRequestProviderOptionsLynn2? 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.SpeechRequestProviderOptionsLynn2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsLynn2; + } + + /// + /// 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.SpeechRequestProviderOptionsLynn2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynn2.g.cs new file mode 100644 index 00000000..f28262d1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynn2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsLynn2 + { + + /// + /// 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.SpeechRequestProviderOptionsLynnPrivate.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynnPrivate.Json.g.cs new file mode 100644 index 00000000..709ac651 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynnPrivate.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsLynnPrivate + { + /// + /// 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.SpeechRequestProviderOptionsLynnPrivate? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsLynnPrivate), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsLynnPrivate; + } + + /// + /// 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.SpeechRequestProviderOptionsLynnPrivate? 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.SpeechRequestProviderOptionsLynnPrivate), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsLynnPrivate; + } + + /// + /// 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.SpeechRequestProviderOptionsLynnPrivate.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynnPrivate.g.cs new file mode 100644 index 00000000..1c8cdbcd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynnPrivate.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsLynnPrivate + { + + /// + /// 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.SpeechRequestProviderOptionsLynnPrivate2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynnPrivate2.Json.g.cs new file mode 100644 index 00000000..1fa048cf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynnPrivate2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsLynnPrivate2 + { + /// + /// 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.SpeechRequestProviderOptionsLynnPrivate2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsLynnPrivate2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsLynnPrivate2; + } + + /// + /// 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.SpeechRequestProviderOptionsLynnPrivate2? 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.SpeechRequestProviderOptionsLynnPrivate2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsLynnPrivate2; + } + + /// + /// 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.SpeechRequestProviderOptionsLynnPrivate2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynnPrivate2.g.cs new file mode 100644 index 00000000..4f8379f1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsLynnPrivate2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsLynnPrivate2 + { + + /// + /// 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.SpeechRequestProviderOptionsMancer.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancer.Json.g.cs new file mode 100644 index 00000000..11c1b129 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancer.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMancer + { + /// + /// 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.SpeechRequestProviderOptionsMancer? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMancer), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMancer; + } + + /// + /// 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.SpeechRequestProviderOptionsMancer? 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.SpeechRequestProviderOptionsMancer), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMancer; + } + + /// + /// 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.SpeechRequestProviderOptionsMancer.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancer.g.cs new file mode 100644 index 00000000..cf4249b6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancer.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsMancer + { + + /// + /// 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.SpeechRequestProviderOptionsMancer2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancer2.Json.g.cs new file mode 100644 index 00000000..a9a20f97 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancer2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMancer2 + { + /// + /// 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.SpeechRequestProviderOptionsMancer2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMancer2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMancer2; + } + + /// + /// 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.SpeechRequestProviderOptionsMancer2? 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.SpeechRequestProviderOptionsMancer2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMancer2; + } + + /// + /// 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.SpeechRequestProviderOptionsMancer2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancer2.g.cs new file mode 100644 index 00000000..2bf65897 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancer2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsMancer2 + { + + /// + /// 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.SpeechRequestProviderOptionsMancerOld.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancerOld.Json.g.cs new file mode 100644 index 00000000..e80ddae4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancerOld.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMancerOld + { + /// + /// 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.SpeechRequestProviderOptionsMancerOld? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMancerOld), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMancerOld; + } + + /// + /// 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.SpeechRequestProviderOptionsMancerOld? 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.SpeechRequestProviderOptionsMancerOld), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMancerOld; + } + + /// + /// 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.SpeechRequestProviderOptionsMancerOld.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancerOld.g.cs new file mode 100644 index 00000000..95a205f6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancerOld.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsMancerOld + { + + /// + /// 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.SpeechRequestProviderOptionsMancerOld2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancerOld2.Json.g.cs new file mode 100644 index 00000000..960d04bc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancerOld2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMancerOld2 + { + /// + /// 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.SpeechRequestProviderOptionsMancerOld2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMancerOld2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMancerOld2; + } + + /// + /// 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.SpeechRequestProviderOptionsMancerOld2? 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.SpeechRequestProviderOptionsMancerOld2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMancerOld2; + } + + /// + /// 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.SpeechRequestProviderOptionsMancerOld2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancerOld2.g.cs new file mode 100644 index 00000000..311668ee --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMancerOld2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsMancerOld2 + { + + /// + /// 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.SpeechRequestProviderOptionsMara.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMara.Json.g.cs new file mode 100644 index 00000000..b1092379 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMara.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMara + { + /// + /// 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.SpeechRequestProviderOptionsMara? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMara), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMara; + } + + /// + /// 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.SpeechRequestProviderOptionsMara? 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.SpeechRequestProviderOptionsMara), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMara; + } + + /// + /// 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.SpeechRequestProviderOptionsMara.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMara.g.cs new file mode 100644 index 00000000..6bb043c6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMara.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsMara + { + + /// + /// 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.SpeechRequestProviderOptionsMara2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMara2.Json.g.cs new file mode 100644 index 00000000..12182677 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMara2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMara2 + { + /// + /// 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.SpeechRequestProviderOptionsMara2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMara2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMara2; + } + + /// + /// 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.SpeechRequestProviderOptionsMara2? 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.SpeechRequestProviderOptionsMara2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMara2; + } + + /// + /// 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.SpeechRequestProviderOptionsMara2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMara2.g.cs new file mode 100644 index 00000000..bbf1739f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMara2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsMara2 + { + + /// + /// 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.SpeechRequestProviderOptionsMeta.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMeta.Json.g.cs new file mode 100644 index 00000000..f2047218 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMeta.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMeta + { + /// + /// 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.SpeechRequestProviderOptionsMeta? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMeta), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMeta; + } + + /// + /// 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.SpeechRequestProviderOptionsMeta? 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.SpeechRequestProviderOptionsMeta), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMeta; + } + + /// + /// 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.SpeechRequestProviderOptionsMeta.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMeta.g.cs new file mode 100644 index 00000000..31e58681 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMeta.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsMeta + { + + /// + /// 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.SpeechRequestProviderOptionsMeta2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMeta2.Json.g.cs new file mode 100644 index 00000000..a520b2ea --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMeta2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMeta2 + { + /// + /// 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.SpeechRequestProviderOptionsMeta2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMeta2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMeta2; + } + + /// + /// 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.SpeechRequestProviderOptionsMeta2? 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.SpeechRequestProviderOptionsMeta2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMeta2; + } + + /// + /// 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.SpeechRequestProviderOptionsMeta2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMeta2.g.cs new file mode 100644 index 00000000..c4e894d3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMeta2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsMeta2 + { + + /// + /// 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.SpeechRequestProviderOptionsMinimax.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMinimax.Json.g.cs new file mode 100644 index 00000000..833b8404 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMinimax.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMinimax + { + /// + /// 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.SpeechRequestProviderOptionsMinimax? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMinimax), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMinimax; + } + + /// + /// 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.SpeechRequestProviderOptionsMinimax? 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.SpeechRequestProviderOptionsMinimax), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMinimax; + } + + /// + /// 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.SpeechRequestProviderOptionsMinimax.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMinimax.g.cs new file mode 100644 index 00000000..b3bc2b22 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMinimax.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsMinimax + { + + /// + /// 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.SpeechRequestProviderOptionsMinimax2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMinimax2.Json.g.cs new file mode 100644 index 00000000..ec87f5f7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMinimax2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMinimax2 + { + /// + /// 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.SpeechRequestProviderOptionsMinimax2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMinimax2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMinimax2; + } + + /// + /// 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.SpeechRequestProviderOptionsMinimax2? 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.SpeechRequestProviderOptionsMinimax2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMinimax2; + } + + /// + /// 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.SpeechRequestProviderOptionsMinimax2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMinimax2.g.cs new file mode 100644 index 00000000..a18936e2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMinimax2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsMinimax2 + { + + /// + /// 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.SpeechRequestProviderOptionsMistral.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMistral.Json.g.cs new file mode 100644 index 00000000..89f1da3c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMistral.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMistral + { + /// + /// 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.SpeechRequestProviderOptionsMistral? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMistral), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMistral; + } + + /// + /// 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.SpeechRequestProviderOptionsMistral? 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.SpeechRequestProviderOptionsMistral), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMistral; + } + + /// + /// 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.SpeechRequestProviderOptionsMistral.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMistral.g.cs new file mode 100644 index 00000000..e9fa2962 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMistral.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsMistral + { + + /// + /// 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.SpeechRequestProviderOptionsMistral2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMistral2.Json.g.cs new file mode 100644 index 00000000..0b166485 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMistral2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMistral2 + { + /// + /// 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.SpeechRequestProviderOptionsMistral2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMistral2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMistral2; + } + + /// + /// 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.SpeechRequestProviderOptionsMistral2? 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.SpeechRequestProviderOptionsMistral2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMistral2; + } + + /// + /// 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.SpeechRequestProviderOptionsMistral2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMistral2.g.cs new file mode 100644 index 00000000..02bc906d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMistral2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsMistral2 + { + + /// + /// 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.SpeechRequestProviderOptionsModal.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModal.Json.g.cs new file mode 100644 index 00000000..0c000af9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModal.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsModal + { + /// + /// 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.SpeechRequestProviderOptionsModal? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsModal), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsModal; + } + + /// + /// 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.SpeechRequestProviderOptionsModal? 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.SpeechRequestProviderOptionsModal), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsModal; + } + + /// + /// 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.SpeechRequestProviderOptionsModal.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModal.g.cs new file mode 100644 index 00000000..6a87ef64 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModal.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsModal + { + + /// + /// 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.SpeechRequestProviderOptionsModal2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModal2.Json.g.cs new file mode 100644 index 00000000..643bf9ab --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModal2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsModal2 + { + /// + /// 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.SpeechRequestProviderOptionsModal2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsModal2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsModal2; + } + + /// + /// 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.SpeechRequestProviderOptionsModal2? 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.SpeechRequestProviderOptionsModal2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsModal2; + } + + /// + /// 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.SpeechRequestProviderOptionsModal2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModal2.g.cs new file mode 100644 index 00000000..44fbdf8f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModal2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsModal2 + { + + /// + /// 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.SpeechRequestProviderOptionsModelrun.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModelrun.Json.g.cs new file mode 100644 index 00000000..b1fe1ccc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModelrun.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsModelrun + { + /// + /// 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.SpeechRequestProviderOptionsModelrun? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsModelrun), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsModelrun; + } + + /// + /// 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.SpeechRequestProviderOptionsModelrun? 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.SpeechRequestProviderOptionsModelrun), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsModelrun; + } + + /// + /// 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.SpeechRequestProviderOptionsModelrun.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModelrun.g.cs new file mode 100644 index 00000000..b34a517b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModelrun.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsModelrun + { + + /// + /// 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.SpeechRequestProviderOptionsModelrun2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModelrun2.Json.g.cs new file mode 100644 index 00000000..c8b62f86 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModelrun2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsModelrun2 + { + /// + /// 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.SpeechRequestProviderOptionsModelrun2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsModelrun2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsModelrun2; + } + + /// + /// 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.SpeechRequestProviderOptionsModelrun2? 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.SpeechRequestProviderOptionsModelrun2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsModelrun2; + } + + /// + /// 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.SpeechRequestProviderOptionsModelrun2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModelrun2.g.cs new file mode 100644 index 00000000..42faf1c4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModelrun2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsModelrun2 + { + + /// + /// 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.SpeechRequestProviderOptionsModular.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModular.Json.g.cs new file mode 100644 index 00000000..996df517 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModular.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsModular + { + /// + /// 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.SpeechRequestProviderOptionsModular? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsModular), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsModular; + } + + /// + /// 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.SpeechRequestProviderOptionsModular? 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.SpeechRequestProviderOptionsModular), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsModular; + } + + /// + /// 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.SpeechRequestProviderOptionsModular.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModular.g.cs new file mode 100644 index 00000000..977d04ab --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModular.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsModular + { + + /// + /// 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.SpeechRequestProviderOptionsModular2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModular2.Json.g.cs new file mode 100644 index 00000000..5a2bcc99 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModular2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsModular2 + { + /// + /// 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.SpeechRequestProviderOptionsModular2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsModular2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsModular2; + } + + /// + /// 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.SpeechRequestProviderOptionsModular2? 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.SpeechRequestProviderOptionsModular2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsModular2; + } + + /// + /// 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.SpeechRequestProviderOptionsModular2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModular2.g.cs new file mode 100644 index 00000000..606226cf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsModular2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsModular2 + { + + /// + /// 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.SpeechRequestProviderOptionsMoonshotai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMoonshotai.Json.g.cs new file mode 100644 index 00000000..029ccded --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMoonshotai.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMoonshotai + { + /// + /// 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.SpeechRequestProviderOptionsMoonshotai? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMoonshotai), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMoonshotai; + } + + /// + /// 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.SpeechRequestProviderOptionsMoonshotai? 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.SpeechRequestProviderOptionsMoonshotai), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMoonshotai; + } + + /// + /// 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.SpeechRequestProviderOptionsMoonshotai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMoonshotai.g.cs new file mode 100644 index 00000000..c98c320f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMoonshotai.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsMoonshotai + { + + /// + /// 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.SpeechRequestProviderOptionsMoonshotai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMoonshotai2.Json.g.cs new file mode 100644 index 00000000..00103afb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMoonshotai2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMoonshotai2 + { + /// + /// 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.SpeechRequestProviderOptionsMoonshotai2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMoonshotai2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMoonshotai2; + } + + /// + /// 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.SpeechRequestProviderOptionsMoonshotai2? 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.SpeechRequestProviderOptionsMoonshotai2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMoonshotai2; + } + + /// + /// 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.SpeechRequestProviderOptionsMoonshotai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMoonshotai2.g.cs new file mode 100644 index 00000000..d409c81e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMoonshotai2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsMoonshotai2 + { + + /// + /// 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.SpeechRequestProviderOptionsMorph.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMorph.Json.g.cs new file mode 100644 index 00000000..ea3f79c2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMorph.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMorph + { + /// + /// 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.SpeechRequestProviderOptionsMorph? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMorph), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMorph; + } + + /// + /// 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.SpeechRequestProviderOptionsMorph? 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.SpeechRequestProviderOptionsMorph), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMorph; + } + + /// + /// 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.SpeechRequestProviderOptionsMorph.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMorph.g.cs new file mode 100644 index 00000000..92123bf6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMorph.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsMorph + { + + /// + /// 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.SpeechRequestProviderOptionsMorph2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMorph2.Json.g.cs new file mode 100644 index 00000000..98728db4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMorph2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsMorph2 + { + /// + /// 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.SpeechRequestProviderOptionsMorph2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsMorph2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsMorph2; + } + + /// + /// 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.SpeechRequestProviderOptionsMorph2? 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.SpeechRequestProviderOptionsMorph2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsMorph2; + } + + /// + /// 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.SpeechRequestProviderOptionsMorph2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMorph2.g.cs new file mode 100644 index 00000000..feba84ac --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsMorph2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsMorph2 + { + + /// + /// 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.SpeechRequestProviderOptionsNcompass.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNcompass.Json.g.cs new file mode 100644 index 00000000..ba424061 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNcompass.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNcompass + { + /// + /// 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.SpeechRequestProviderOptionsNcompass? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNcompass), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNcompass; + } + + /// + /// 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.SpeechRequestProviderOptionsNcompass? 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.SpeechRequestProviderOptionsNcompass), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNcompass; + } + + /// + /// 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.SpeechRequestProviderOptionsNcompass.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNcompass.g.cs new file mode 100644 index 00000000..404ee9e9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNcompass.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsNcompass + { + + /// + /// 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.SpeechRequestProviderOptionsNcompass2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNcompass2.Json.g.cs new file mode 100644 index 00000000..930f73fa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNcompass2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNcompass2 + { + /// + /// 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.SpeechRequestProviderOptionsNcompass2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNcompass2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNcompass2; + } + + /// + /// 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.SpeechRequestProviderOptionsNcompass2? 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.SpeechRequestProviderOptionsNcompass2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNcompass2; + } + + /// + /// 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.SpeechRequestProviderOptionsNcompass2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNcompass2.g.cs new file mode 100644 index 00000000..0077ef50 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNcompass2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsNcompass2 + { + + /// + /// 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.SpeechRequestProviderOptionsNebius.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNebius.Json.g.cs new file mode 100644 index 00000000..4c47c566 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNebius.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNebius + { + /// + /// 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.SpeechRequestProviderOptionsNebius? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNebius), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNebius; + } + + /// + /// 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.SpeechRequestProviderOptionsNebius? 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.SpeechRequestProviderOptionsNebius), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNebius; + } + + /// + /// 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.SpeechRequestProviderOptionsNebius.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNebius.g.cs new file mode 100644 index 00000000..0389757f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNebius.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsNebius + { + + /// + /// 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.SpeechRequestProviderOptionsNebius2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNebius2.Json.g.cs new file mode 100644 index 00000000..94d35945 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNebius2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNebius2 + { + /// + /// 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.SpeechRequestProviderOptionsNebius2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNebius2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNebius2; + } + + /// + /// 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.SpeechRequestProviderOptionsNebius2? 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.SpeechRequestProviderOptionsNebius2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNebius2; + } + + /// + /// 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.SpeechRequestProviderOptionsNebius2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNebius2.g.cs new file mode 100644 index 00000000..cf3b728e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNebius2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsNebius2 + { + + /// + /// 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.SpeechRequestProviderOptionsNextbit.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNextbit.Json.g.cs new file mode 100644 index 00000000..fd9ca518 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNextbit.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNextbit + { + /// + /// 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.SpeechRequestProviderOptionsNextbit? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNextbit), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNextbit; + } + + /// + /// 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.SpeechRequestProviderOptionsNextbit? 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.SpeechRequestProviderOptionsNextbit), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNextbit; + } + + /// + /// 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.SpeechRequestProviderOptionsNextbit.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNextbit.g.cs new file mode 100644 index 00000000..66dd3eec --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNextbit.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsNextbit + { + + /// + /// 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.SpeechRequestProviderOptionsNextbit2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNextbit2.Json.g.cs new file mode 100644 index 00000000..5dcd4da3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNextbit2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNextbit2 + { + /// + /// 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.SpeechRequestProviderOptionsNextbit2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNextbit2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNextbit2; + } + + /// + /// 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.SpeechRequestProviderOptionsNextbit2? 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.SpeechRequestProviderOptionsNextbit2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNextbit2; + } + + /// + /// 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.SpeechRequestProviderOptionsNextbit2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNextbit2.g.cs new file mode 100644 index 00000000..31f93a54 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNextbit2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsNextbit2 + { + + /// + /// 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.SpeechRequestProviderOptionsNineteen.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNineteen.Json.g.cs new file mode 100644 index 00000000..b7abfc10 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNineteen.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNineteen + { + /// + /// 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.SpeechRequestProviderOptionsNineteen? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNineteen), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNineteen; + } + + /// + /// 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.SpeechRequestProviderOptionsNineteen? 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.SpeechRequestProviderOptionsNineteen), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNineteen; + } + + /// + /// 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.SpeechRequestProviderOptionsNineteen.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNineteen.g.cs new file mode 100644 index 00000000..9557e2e5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNineteen.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsNineteen + { + + /// + /// 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.SpeechRequestProviderOptionsNineteen2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNineteen2.Json.g.cs new file mode 100644 index 00000000..d3594138 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNineteen2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNineteen2 + { + /// + /// 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.SpeechRequestProviderOptionsNineteen2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNineteen2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNineteen2; + } + + /// + /// 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.SpeechRequestProviderOptionsNineteen2? 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.SpeechRequestProviderOptionsNineteen2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNineteen2; + } + + /// + /// 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.SpeechRequestProviderOptionsNineteen2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNineteen2.g.cs new file mode 100644 index 00000000..ea20959e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNineteen2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsNineteen2 + { + + /// + /// 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.SpeechRequestProviderOptionsNovita.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNovita.Json.g.cs new file mode 100644 index 00000000..1ac7ef8c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNovita.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNovita + { + /// + /// 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.SpeechRequestProviderOptionsNovita? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNovita), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNovita; + } + + /// + /// 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.SpeechRequestProviderOptionsNovita? 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.SpeechRequestProviderOptionsNovita), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNovita; + } + + /// + /// 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.SpeechRequestProviderOptionsNovita.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNovita.g.cs new file mode 100644 index 00000000..7d2b0568 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNovita.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsNovita + { + + /// + /// 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.SpeechRequestProviderOptionsNovita2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNovita2.Json.g.cs new file mode 100644 index 00000000..0ffebc46 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNovita2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNovita2 + { + /// + /// 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.SpeechRequestProviderOptionsNovita2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNovita2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNovita2; + } + + /// + /// 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.SpeechRequestProviderOptionsNovita2? 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.SpeechRequestProviderOptionsNovita2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNovita2; + } + + /// + /// 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.SpeechRequestProviderOptionsNovita2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNovita2.g.cs new file mode 100644 index 00000000..00de40d4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNovita2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsNovita2 + { + + /// + /// 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.SpeechRequestProviderOptionsNvidia.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNvidia.Json.g.cs new file mode 100644 index 00000000..53110a6b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNvidia.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNvidia + { + /// + /// 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.SpeechRequestProviderOptionsNvidia? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNvidia), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNvidia; + } + + /// + /// 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.SpeechRequestProviderOptionsNvidia? 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.SpeechRequestProviderOptionsNvidia), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNvidia; + } + + /// + /// 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.SpeechRequestProviderOptionsNvidia.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNvidia.g.cs new file mode 100644 index 00000000..0118597b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNvidia.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsNvidia + { + + /// + /// 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.SpeechRequestProviderOptionsNvidia2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNvidia2.Json.g.cs new file mode 100644 index 00000000..c47de534 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNvidia2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsNvidia2 + { + /// + /// 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.SpeechRequestProviderOptionsNvidia2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsNvidia2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsNvidia2; + } + + /// + /// 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.SpeechRequestProviderOptionsNvidia2? 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.SpeechRequestProviderOptionsNvidia2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsNvidia2; + } + + /// + /// 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.SpeechRequestProviderOptionsNvidia2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNvidia2.g.cs new file mode 100644 index 00000000..ba332d70 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsNvidia2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsNvidia2 + { + + /// + /// 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.SpeechRequestProviderOptionsOctoai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOctoai.Json.g.cs new file mode 100644 index 00000000..553df40d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOctoai.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsOctoai + { + /// + /// 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.SpeechRequestProviderOptionsOctoai? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsOctoai), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsOctoai; + } + + /// + /// 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.SpeechRequestProviderOptionsOctoai? 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.SpeechRequestProviderOptionsOctoai), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsOctoai; + } + + /// + /// 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.SpeechRequestProviderOptionsOctoai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOctoai.g.cs new file mode 100644 index 00000000..84c6a2a6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOctoai.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsOctoai + { + + /// + /// 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.SpeechRequestProviderOptionsOctoai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOctoai2.Json.g.cs new file mode 100644 index 00000000..09f403e2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOctoai2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsOctoai2 + { + /// + /// 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.SpeechRequestProviderOptionsOctoai2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsOctoai2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsOctoai2; + } + + /// + /// 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.SpeechRequestProviderOptionsOctoai2? 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.SpeechRequestProviderOptionsOctoai2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsOctoai2; + } + + /// + /// 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.SpeechRequestProviderOptionsOctoai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOctoai2.g.cs new file mode 100644 index 00000000..423d8214 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOctoai2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsOctoai2 + { + + /// + /// 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.SpeechRequestProviderOptionsOpenInference.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenInference.Json.g.cs new file mode 100644 index 00000000..44e8acb3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenInference.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsOpenInference + { + /// + /// 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.SpeechRequestProviderOptionsOpenInference? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsOpenInference), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsOpenInference; + } + + /// + /// 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.SpeechRequestProviderOptionsOpenInference? 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.SpeechRequestProviderOptionsOpenInference), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsOpenInference; + } + + /// + /// 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.SpeechRequestProviderOptionsOpenInference.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenInference.g.cs new file mode 100644 index 00000000..9abcb07f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenInference.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsOpenInference + { + + /// + /// 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.SpeechRequestProviderOptionsOpenInference2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenInference2.Json.g.cs new file mode 100644 index 00000000..59b4ce09 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenInference2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsOpenInference2 + { + /// + /// 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.SpeechRequestProviderOptionsOpenInference2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsOpenInference2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsOpenInference2; + } + + /// + /// 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.SpeechRequestProviderOptionsOpenInference2? 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.SpeechRequestProviderOptionsOpenInference2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsOpenInference2; + } + + /// + /// 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.SpeechRequestProviderOptionsOpenInference2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenInference2.g.cs new file mode 100644 index 00000000..440fc543 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenInference2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsOpenInference2 + { + + /// + /// 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.SpeechRequestProviderOptionsOpenai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenai.Json.g.cs new file mode 100644 index 00000000..9af5867d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenai.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsOpenai + { + /// + /// 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.SpeechRequestProviderOptionsOpenai? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsOpenai), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsOpenai; + } + + /// + /// 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.SpeechRequestProviderOptionsOpenai? 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.SpeechRequestProviderOptionsOpenai), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsOpenai; + } + + /// + /// 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.SpeechRequestProviderOptionsOpenai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenai.g.cs new file mode 100644 index 00000000..3346f215 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenai.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsOpenai + { + + /// + /// 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.SpeechRequestProviderOptionsOpenai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenai2.Json.g.cs new file mode 100644 index 00000000..799dbbd1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenai2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsOpenai2 + { + /// + /// 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.SpeechRequestProviderOptionsOpenai2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsOpenai2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsOpenai2; + } + + /// + /// 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.SpeechRequestProviderOptionsOpenai2? 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.SpeechRequestProviderOptionsOpenai2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsOpenai2; + } + + /// + /// 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.SpeechRequestProviderOptionsOpenai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenai2.g.cs new file mode 100644 index 00000000..c86c99d0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsOpenai2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsOpenai2 + { + + /// + /// 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.SpeechRequestProviderOptionsParasail.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsParasail.Json.g.cs new file mode 100644 index 00000000..75f339bb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsParasail.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsParasail + { + /// + /// 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.SpeechRequestProviderOptionsParasail? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsParasail), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsParasail; + } + + /// + /// 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.SpeechRequestProviderOptionsParasail? 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.SpeechRequestProviderOptionsParasail), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsParasail; + } + + /// + /// 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.SpeechRequestProviderOptionsParasail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsParasail.g.cs new file mode 100644 index 00000000..eaf2ad7b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsParasail.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsParasail + { + + /// + /// 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.SpeechRequestProviderOptionsParasail2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsParasail2.Json.g.cs new file mode 100644 index 00000000..79381e2b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsParasail2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsParasail2 + { + /// + /// 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.SpeechRequestProviderOptionsParasail2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsParasail2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsParasail2; + } + + /// + /// 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.SpeechRequestProviderOptionsParasail2? 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.SpeechRequestProviderOptionsParasail2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsParasail2; + } + + /// + /// 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.SpeechRequestProviderOptionsParasail2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsParasail2.g.cs new file mode 100644 index 00000000..8cfaa0d6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsParasail2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsParasail2 + { + + /// + /// 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.SpeechRequestProviderOptionsPerplexity.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPerplexity.Json.g.cs new file mode 100644 index 00000000..d84193df --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPerplexity.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsPerplexity + { + /// + /// 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.SpeechRequestProviderOptionsPerplexity? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsPerplexity), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsPerplexity; + } + + /// + /// 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.SpeechRequestProviderOptionsPerplexity? 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.SpeechRequestProviderOptionsPerplexity), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsPerplexity; + } + + /// + /// 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.SpeechRequestProviderOptionsPerplexity.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPerplexity.g.cs new file mode 100644 index 00000000..62d16951 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPerplexity.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsPerplexity + { + + /// + /// 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.SpeechRequestProviderOptionsPerplexity2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPerplexity2.Json.g.cs new file mode 100644 index 00000000..39ff3d8b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPerplexity2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsPerplexity2 + { + /// + /// 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.SpeechRequestProviderOptionsPerplexity2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsPerplexity2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsPerplexity2; + } + + /// + /// 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.SpeechRequestProviderOptionsPerplexity2? 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.SpeechRequestProviderOptionsPerplexity2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsPerplexity2; + } + + /// + /// 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.SpeechRequestProviderOptionsPerplexity2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPerplexity2.g.cs new file mode 100644 index 00000000..912a5699 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPerplexity2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsPerplexity2 + { + + /// + /// 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.SpeechRequestProviderOptionsPhala.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPhala.Json.g.cs new file mode 100644 index 00000000..abd67ba3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPhala.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsPhala + { + /// + /// 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.SpeechRequestProviderOptionsPhala? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsPhala), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsPhala; + } + + /// + /// 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.SpeechRequestProviderOptionsPhala? 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.SpeechRequestProviderOptionsPhala), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsPhala; + } + + /// + /// 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.SpeechRequestProviderOptionsPhala.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPhala.g.cs new file mode 100644 index 00000000..bee11ae7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPhala.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsPhala + { + + /// + /// 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.SpeechRequestProviderOptionsPhala2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPhala2.Json.g.cs new file mode 100644 index 00000000..ea5f69d7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPhala2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsPhala2 + { + /// + /// 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.SpeechRequestProviderOptionsPhala2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsPhala2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsPhala2; + } + + /// + /// 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.SpeechRequestProviderOptionsPhala2? 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.SpeechRequestProviderOptionsPhala2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsPhala2; + } + + /// + /// 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.SpeechRequestProviderOptionsPhala2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPhala2.g.cs new file mode 100644 index 00000000..f4243bdb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsPhala2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsPhala2 + { + + /// + /// 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.SpeechRequestProviderOptionsRecraft.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecraft.Json.g.cs new file mode 100644 index 00000000..c143e68a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecraft.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsRecraft + { + /// + /// 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.SpeechRequestProviderOptionsRecraft? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsRecraft), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsRecraft; + } + + /// + /// 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.SpeechRequestProviderOptionsRecraft? 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.SpeechRequestProviderOptionsRecraft), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsRecraft; + } + + /// + /// 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.SpeechRequestProviderOptionsRecraft.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecraft.g.cs new file mode 100644 index 00000000..25a684fe --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecraft.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsRecraft + { + + /// + /// 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.SpeechRequestProviderOptionsRecraft2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecraft2.Json.g.cs new file mode 100644 index 00000000..3e5c2b83 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecraft2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsRecraft2 + { + /// + /// 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.SpeechRequestProviderOptionsRecraft2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsRecraft2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsRecraft2; + } + + /// + /// 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.SpeechRequestProviderOptionsRecraft2? 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.SpeechRequestProviderOptionsRecraft2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsRecraft2; + } + + /// + /// 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.SpeechRequestProviderOptionsRecraft2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecraft2.g.cs new file mode 100644 index 00000000..2311ec2f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecraft2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsRecraft2 + { + + /// + /// 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.SpeechRequestProviderOptionsRecursal.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecursal.Json.g.cs new file mode 100644 index 00000000..62824cb4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecursal.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsRecursal + { + /// + /// 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.SpeechRequestProviderOptionsRecursal? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsRecursal), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsRecursal; + } + + /// + /// 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.SpeechRequestProviderOptionsRecursal? 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.SpeechRequestProviderOptionsRecursal), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsRecursal; + } + + /// + /// 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.SpeechRequestProviderOptionsRecursal.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecursal.g.cs new file mode 100644 index 00000000..336e5342 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecursal.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsRecursal + { + + /// + /// 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.SpeechRequestProviderOptionsRecursal2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecursal2.Json.g.cs new file mode 100644 index 00000000..dc11b298 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecursal2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsRecursal2 + { + /// + /// 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.SpeechRequestProviderOptionsRecursal2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsRecursal2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsRecursal2; + } + + /// + /// 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.SpeechRequestProviderOptionsRecursal2? 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.SpeechRequestProviderOptionsRecursal2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsRecursal2; + } + + /// + /// 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.SpeechRequestProviderOptionsRecursal2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecursal2.g.cs new file mode 100644 index 00000000..a36989c7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRecursal2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsRecursal2 + { + + /// + /// 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.SpeechRequestProviderOptionsReflection.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReflection.Json.g.cs new file mode 100644 index 00000000..7712c04a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReflection.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsReflection + { + /// + /// 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.SpeechRequestProviderOptionsReflection? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsReflection), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsReflection; + } + + /// + /// 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.SpeechRequestProviderOptionsReflection? 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.SpeechRequestProviderOptionsReflection), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsReflection; + } + + /// + /// 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.SpeechRequestProviderOptionsReflection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReflection.g.cs new file mode 100644 index 00000000..75ac6fba --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReflection.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsReflection + { + + /// + /// 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.SpeechRequestProviderOptionsReflection2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReflection2.Json.g.cs new file mode 100644 index 00000000..ef41edcd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReflection2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsReflection2 + { + /// + /// 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.SpeechRequestProviderOptionsReflection2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsReflection2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsReflection2; + } + + /// + /// 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.SpeechRequestProviderOptionsReflection2? 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.SpeechRequestProviderOptionsReflection2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsReflection2; + } + + /// + /// 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.SpeechRequestProviderOptionsReflection2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReflection2.g.cs new file mode 100644 index 00000000..9524c952 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReflection2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsReflection2 + { + + /// + /// 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.SpeechRequestProviderOptionsReka.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReka.Json.g.cs new file mode 100644 index 00000000..dd06bac2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReka.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsReka + { + /// + /// 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.SpeechRequestProviderOptionsReka? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsReka), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsReka; + } + + /// + /// 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.SpeechRequestProviderOptionsReka? 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.SpeechRequestProviderOptionsReka), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsReka; + } + + /// + /// 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.SpeechRequestProviderOptionsReka.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReka.g.cs new file mode 100644 index 00000000..9718549f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReka.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsReka + { + + /// + /// 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.SpeechRequestProviderOptionsReka2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReka2.Json.g.cs new file mode 100644 index 00000000..62d7a4fd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReka2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsReka2 + { + /// + /// 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.SpeechRequestProviderOptionsReka2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsReka2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsReka2; + } + + /// + /// 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.SpeechRequestProviderOptionsReka2? 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.SpeechRequestProviderOptionsReka2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsReka2; + } + + /// + /// 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.SpeechRequestProviderOptionsReka2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReka2.g.cs new file mode 100644 index 00000000..ac0ae474 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReka2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsReka2 + { + + /// + /// 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.SpeechRequestProviderOptionsRelace.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRelace.Json.g.cs new file mode 100644 index 00000000..51c13679 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRelace.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsRelace + { + /// + /// 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.SpeechRequestProviderOptionsRelace? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsRelace), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsRelace; + } + + /// + /// 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.SpeechRequestProviderOptionsRelace? 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.SpeechRequestProviderOptionsRelace), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsRelace; + } + + /// + /// 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.SpeechRequestProviderOptionsRelace.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRelace.g.cs new file mode 100644 index 00000000..80085547 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRelace.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsRelace + { + + /// + /// 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.SpeechRequestProviderOptionsRelace2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRelace2.Json.g.cs new file mode 100644 index 00000000..2ab3dac8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRelace2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsRelace2 + { + /// + /// 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.SpeechRequestProviderOptionsRelace2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsRelace2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsRelace2; + } + + /// + /// 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.SpeechRequestProviderOptionsRelace2? 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.SpeechRequestProviderOptionsRelace2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsRelace2; + } + + /// + /// 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.SpeechRequestProviderOptionsRelace2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRelace2.g.cs new file mode 100644 index 00000000..f6c9be3a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsRelace2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsRelace2 + { + + /// + /// 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.SpeechRequestProviderOptionsReplicate.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReplicate.Json.g.cs new file mode 100644 index 00000000..3f98929a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReplicate.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsReplicate + { + /// + /// 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.SpeechRequestProviderOptionsReplicate? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsReplicate), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsReplicate; + } + + /// + /// 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.SpeechRequestProviderOptionsReplicate? 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.SpeechRequestProviderOptionsReplicate), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsReplicate; + } + + /// + /// 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.SpeechRequestProviderOptionsReplicate.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReplicate.g.cs new file mode 100644 index 00000000..960369d4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReplicate.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsReplicate + { + + /// + /// 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.SpeechRequestProviderOptionsReplicate2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReplicate2.Json.g.cs new file mode 100644 index 00000000..13eb65ad --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReplicate2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsReplicate2 + { + /// + /// 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.SpeechRequestProviderOptionsReplicate2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsReplicate2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsReplicate2; + } + + /// + /// 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.SpeechRequestProviderOptionsReplicate2? 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.SpeechRequestProviderOptionsReplicate2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsReplicate2; + } + + /// + /// 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.SpeechRequestProviderOptionsReplicate2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReplicate2.g.cs new file mode 100644 index 00000000..183e4532 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsReplicate2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsReplicate2 + { + + /// + /// 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.SpeechRequestProviderOptionsSambanova.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanova.Json.g.cs new file mode 100644 index 00000000..fbc14463 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanova.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSambanova + { + /// + /// 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.SpeechRequestProviderOptionsSambanova? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSambanova), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSambanova; + } + + /// + /// 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.SpeechRequestProviderOptionsSambanova? 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.SpeechRequestProviderOptionsSambanova), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSambanova; + } + + /// + /// 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.SpeechRequestProviderOptionsSambanova.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanova.g.cs new file mode 100644 index 00000000..e4089161 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanova.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsSambanova + { + + /// + /// 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.SpeechRequestProviderOptionsSambanova2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanova2.Json.g.cs new file mode 100644 index 00000000..9bb959ef --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanova2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSambanova2 + { + /// + /// 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.SpeechRequestProviderOptionsSambanova2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSambanova2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSambanova2; + } + + /// + /// 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.SpeechRequestProviderOptionsSambanova2? 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.SpeechRequestProviderOptionsSambanova2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSambanova2; + } + + /// + /// 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.SpeechRequestProviderOptionsSambanova2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanova2.g.cs new file mode 100644 index 00000000..3b302543 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanova2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsSambanova2 + { + + /// + /// 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.SpeechRequestProviderOptionsSambanovaCloaked.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanovaCloaked.Json.g.cs new file mode 100644 index 00000000..8ba840d2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanovaCloaked.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSambanovaCloaked + { + /// + /// 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.SpeechRequestProviderOptionsSambanovaCloaked? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSambanovaCloaked), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSambanovaCloaked; + } + + /// + /// 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.SpeechRequestProviderOptionsSambanovaCloaked? 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.SpeechRequestProviderOptionsSambanovaCloaked), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSambanovaCloaked; + } + + /// + /// 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.SpeechRequestProviderOptionsSambanovaCloaked.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanovaCloaked.g.cs new file mode 100644 index 00000000..ed2bae3b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanovaCloaked.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsSambanovaCloaked + { + + /// + /// 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.SpeechRequestProviderOptionsSambanovaCloaked2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanovaCloaked2.Json.g.cs new file mode 100644 index 00000000..f25de612 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanovaCloaked2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSambanovaCloaked2 + { + /// + /// 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.SpeechRequestProviderOptionsSambanovaCloaked2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSambanovaCloaked2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSambanovaCloaked2; + } + + /// + /// 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.SpeechRequestProviderOptionsSambanovaCloaked2? 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.SpeechRequestProviderOptionsSambanovaCloaked2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSambanovaCloaked2; + } + + /// + /// 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.SpeechRequestProviderOptionsSambanovaCloaked2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanovaCloaked2.g.cs new file mode 100644 index 00000000..92262f1b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSambanovaCloaked2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsSambanovaCloaked2 + { + + /// + /// 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.SpeechRequestProviderOptionsSeed.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSeed.Json.g.cs new file mode 100644 index 00000000..b1454f7b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSeed.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSeed + { + /// + /// 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.SpeechRequestProviderOptionsSeed? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSeed), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSeed; + } + + /// + /// 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.SpeechRequestProviderOptionsSeed? 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.SpeechRequestProviderOptionsSeed), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSeed; + } + + /// + /// 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.SpeechRequestProviderOptionsSeed.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSeed.g.cs new file mode 100644 index 00000000..01de829b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSeed.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsSeed + { + + /// + /// 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.SpeechRequestProviderOptionsSeed2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSeed2.Json.g.cs new file mode 100644 index 00000000..6704bb7b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSeed2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSeed2 + { + /// + /// 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.SpeechRequestProviderOptionsSeed2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSeed2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSeed2; + } + + /// + /// 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.SpeechRequestProviderOptionsSeed2? 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.SpeechRequestProviderOptionsSeed2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSeed2; + } + + /// + /// 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.SpeechRequestProviderOptionsSeed2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSeed2.g.cs new file mode 100644 index 00000000..b5b600eb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSeed2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsSeed2 + { + + /// + /// 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.SpeechRequestProviderOptionsSfCompute.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSfCompute.Json.g.cs new file mode 100644 index 00000000..1492133b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSfCompute.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSfCompute + { + /// + /// 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.SpeechRequestProviderOptionsSfCompute? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSfCompute), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSfCompute; + } + + /// + /// 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.SpeechRequestProviderOptionsSfCompute? 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.SpeechRequestProviderOptionsSfCompute), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSfCompute; + } + + /// + /// 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.SpeechRequestProviderOptionsSfCompute.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSfCompute.g.cs new file mode 100644 index 00000000..b575531c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSfCompute.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsSfCompute + { + + /// + /// 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.SpeechRequestProviderOptionsSfCompute2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSfCompute2.Json.g.cs new file mode 100644 index 00000000..3c0f5350 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSfCompute2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSfCompute2 + { + /// + /// 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.SpeechRequestProviderOptionsSfCompute2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSfCompute2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSfCompute2; + } + + /// + /// 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.SpeechRequestProviderOptionsSfCompute2? 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.SpeechRequestProviderOptionsSfCompute2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSfCompute2; + } + + /// + /// 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.SpeechRequestProviderOptionsSfCompute2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSfCompute2.g.cs new file mode 100644 index 00000000..61184683 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSfCompute2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsSfCompute2 + { + + /// + /// 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.SpeechRequestProviderOptionsSiliconflow.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSiliconflow.Json.g.cs new file mode 100644 index 00000000..fa57e059 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSiliconflow.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSiliconflow + { + /// + /// 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.SpeechRequestProviderOptionsSiliconflow? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSiliconflow), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSiliconflow; + } + + /// + /// 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.SpeechRequestProviderOptionsSiliconflow? 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.SpeechRequestProviderOptionsSiliconflow), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSiliconflow; + } + + /// + /// 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.SpeechRequestProviderOptionsSiliconflow.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSiliconflow.g.cs new file mode 100644 index 00000000..f2f5990b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSiliconflow.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsSiliconflow + { + + /// + /// 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.SpeechRequestProviderOptionsSiliconflow2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSiliconflow2.Json.g.cs new file mode 100644 index 00000000..bb731ff7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSiliconflow2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSiliconflow2 + { + /// + /// 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.SpeechRequestProviderOptionsSiliconflow2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSiliconflow2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSiliconflow2; + } + + /// + /// 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.SpeechRequestProviderOptionsSiliconflow2? 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.SpeechRequestProviderOptionsSiliconflow2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSiliconflow2; + } + + /// + /// 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.SpeechRequestProviderOptionsSiliconflow2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSiliconflow2.g.cs new file mode 100644 index 00000000..4c146aa8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSiliconflow2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsSiliconflow2 + { + + /// + /// 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.SpeechRequestProviderOptionsSourceful.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSourceful.Json.g.cs new file mode 100644 index 00000000..39a362bb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSourceful.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSourceful + { + /// + /// 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.SpeechRequestProviderOptionsSourceful? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSourceful), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSourceful; + } + + /// + /// 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.SpeechRequestProviderOptionsSourceful? 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.SpeechRequestProviderOptionsSourceful), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSourceful; + } + + /// + /// 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.SpeechRequestProviderOptionsSourceful.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSourceful.g.cs new file mode 100644 index 00000000..eced9d3c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSourceful.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsSourceful + { + + /// + /// 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.SpeechRequestProviderOptionsSourceful2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSourceful2.Json.g.cs new file mode 100644 index 00000000..76b70105 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSourceful2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSourceful2 + { + /// + /// 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.SpeechRequestProviderOptionsSourceful2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSourceful2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSourceful2; + } + + /// + /// 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.SpeechRequestProviderOptionsSourceful2? 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.SpeechRequestProviderOptionsSourceful2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSourceful2; + } + + /// + /// 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.SpeechRequestProviderOptionsSourceful2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSourceful2.g.cs new file mode 100644 index 00000000..64f71c94 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSourceful2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsSourceful2 + { + + /// + /// 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.SpeechRequestProviderOptionsStealth.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStealth.Json.g.cs new file mode 100644 index 00000000..e6a70356 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStealth.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsStealth + { + /// + /// 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.SpeechRequestProviderOptionsStealth? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsStealth), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsStealth; + } + + /// + /// 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.SpeechRequestProviderOptionsStealth? 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.SpeechRequestProviderOptionsStealth), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsStealth; + } + + /// + /// 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.SpeechRequestProviderOptionsStealth.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStealth.g.cs new file mode 100644 index 00000000..ee21ed63 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStealth.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsStealth + { + + /// + /// 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.SpeechRequestProviderOptionsStealth2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStealth2.Json.g.cs new file mode 100644 index 00000000..08e89909 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStealth2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsStealth2 + { + /// + /// 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.SpeechRequestProviderOptionsStealth2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsStealth2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsStealth2; + } + + /// + /// 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.SpeechRequestProviderOptionsStealth2? 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.SpeechRequestProviderOptionsStealth2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsStealth2; + } + + /// + /// 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.SpeechRequestProviderOptionsStealth2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStealth2.g.cs new file mode 100644 index 00000000..a62c2962 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStealth2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsStealth2 + { + + /// + /// 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.SpeechRequestProviderOptionsStepfun.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStepfun.Json.g.cs new file mode 100644 index 00000000..81e37fc8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStepfun.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsStepfun + { + /// + /// 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.SpeechRequestProviderOptionsStepfun? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsStepfun), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsStepfun; + } + + /// + /// 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.SpeechRequestProviderOptionsStepfun? 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.SpeechRequestProviderOptionsStepfun), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsStepfun; + } + + /// + /// 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.SpeechRequestProviderOptionsStepfun.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStepfun.g.cs new file mode 100644 index 00000000..d2388b93 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStepfun.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsStepfun + { + + /// + /// 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.SpeechRequestProviderOptionsStepfun2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStepfun2.Json.g.cs new file mode 100644 index 00000000..36355278 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStepfun2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsStepfun2 + { + /// + /// 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.SpeechRequestProviderOptionsStepfun2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsStepfun2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsStepfun2; + } + + /// + /// 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.SpeechRequestProviderOptionsStepfun2? 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.SpeechRequestProviderOptionsStepfun2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsStepfun2; + } + + /// + /// 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.SpeechRequestProviderOptionsStepfun2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStepfun2.g.cs new file mode 100644 index 00000000..5caa3eb7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStepfun2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsStepfun2 + { + + /// + /// 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.SpeechRequestProviderOptionsStreamlake.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStreamlake.Json.g.cs new file mode 100644 index 00000000..6e933253 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStreamlake.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsStreamlake + { + /// + /// 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.SpeechRequestProviderOptionsStreamlake? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsStreamlake), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsStreamlake; + } + + /// + /// 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.SpeechRequestProviderOptionsStreamlake? 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.SpeechRequestProviderOptionsStreamlake), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsStreamlake; + } + + /// + /// 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.SpeechRequestProviderOptionsStreamlake.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStreamlake.g.cs new file mode 100644 index 00000000..77b88942 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStreamlake.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsStreamlake + { + + /// + /// 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.SpeechRequestProviderOptionsStreamlake2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStreamlake2.Json.g.cs new file mode 100644 index 00000000..bb203e73 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStreamlake2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsStreamlake2 + { + /// + /// 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.SpeechRequestProviderOptionsStreamlake2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsStreamlake2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsStreamlake2; + } + + /// + /// 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.SpeechRequestProviderOptionsStreamlake2? 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.SpeechRequestProviderOptionsStreamlake2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsStreamlake2; + } + + /// + /// 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.SpeechRequestProviderOptionsStreamlake2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStreamlake2.g.cs new file mode 100644 index 00000000..0c4f33d9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsStreamlake2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsStreamlake2 + { + + /// + /// 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.SpeechRequestProviderOptionsSwitchpoint.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSwitchpoint.Json.g.cs new file mode 100644 index 00000000..28fed62f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSwitchpoint.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSwitchpoint + { + /// + /// 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.SpeechRequestProviderOptionsSwitchpoint? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSwitchpoint), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSwitchpoint; + } + + /// + /// 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.SpeechRequestProviderOptionsSwitchpoint? 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.SpeechRequestProviderOptionsSwitchpoint), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSwitchpoint; + } + + /// + /// 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.SpeechRequestProviderOptionsSwitchpoint.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSwitchpoint.g.cs new file mode 100644 index 00000000..bd73f02c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSwitchpoint.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsSwitchpoint + { + + /// + /// 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.SpeechRequestProviderOptionsSwitchpoint2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSwitchpoint2.Json.g.cs new file mode 100644 index 00000000..712390dd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSwitchpoint2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsSwitchpoint2 + { + /// + /// 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.SpeechRequestProviderOptionsSwitchpoint2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsSwitchpoint2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsSwitchpoint2; + } + + /// + /// 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.SpeechRequestProviderOptionsSwitchpoint2? 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.SpeechRequestProviderOptionsSwitchpoint2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsSwitchpoint2; + } + + /// + /// 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.SpeechRequestProviderOptionsSwitchpoint2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSwitchpoint2.g.cs new file mode 100644 index 00000000..f527b474 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsSwitchpoint2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsSwitchpoint2 + { + + /// + /// 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.SpeechRequestProviderOptionsTargon.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTargon.Json.g.cs new file mode 100644 index 00000000..038c71e7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTargon.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsTargon + { + /// + /// 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.SpeechRequestProviderOptionsTargon? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsTargon), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsTargon; + } + + /// + /// 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.SpeechRequestProviderOptionsTargon? 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.SpeechRequestProviderOptionsTargon), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsTargon; + } + + /// + /// 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.SpeechRequestProviderOptionsTargon.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTargon.g.cs new file mode 100644 index 00000000..093101a1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTargon.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsTargon + { + + /// + /// 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.SpeechRequestProviderOptionsTargon2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTargon2.Json.g.cs new file mode 100644 index 00000000..0dc849b3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTargon2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsTargon2 + { + /// + /// 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.SpeechRequestProviderOptionsTargon2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsTargon2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsTargon2; + } + + /// + /// 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.SpeechRequestProviderOptionsTargon2? 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.SpeechRequestProviderOptionsTargon2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsTargon2; + } + + /// + /// 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.SpeechRequestProviderOptionsTargon2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTargon2.g.cs new file mode 100644 index 00000000..594849b7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTargon2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsTargon2 + { + + /// + /// 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.SpeechRequestProviderOptionsTogether.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogether.Json.g.cs new file mode 100644 index 00000000..adbd743e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogether.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsTogether + { + /// + /// 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.SpeechRequestProviderOptionsTogether? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsTogether), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsTogether; + } + + /// + /// 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.SpeechRequestProviderOptionsTogether? 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.SpeechRequestProviderOptionsTogether), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsTogether; + } + + /// + /// 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.SpeechRequestProviderOptionsTogether.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogether.g.cs new file mode 100644 index 00000000..5cd18996 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogether.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsTogether + { + + /// + /// 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.SpeechRequestProviderOptionsTogether2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogether2.Json.g.cs new file mode 100644 index 00000000..4510c20f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogether2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsTogether2 + { + /// + /// 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.SpeechRequestProviderOptionsTogether2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsTogether2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsTogether2; + } + + /// + /// 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.SpeechRequestProviderOptionsTogether2? 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.SpeechRequestProviderOptionsTogether2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsTogether2; + } + + /// + /// 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.SpeechRequestProviderOptionsTogether2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogether2.g.cs new file mode 100644 index 00000000..8c29d408 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogether2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsTogether2 + { + + /// + /// 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.SpeechRequestProviderOptionsTogetherLite.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogetherLite.Json.g.cs new file mode 100644 index 00000000..f0624ce2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogetherLite.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsTogetherLite + { + /// + /// 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.SpeechRequestProviderOptionsTogetherLite? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsTogetherLite), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsTogetherLite; + } + + /// + /// 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.SpeechRequestProviderOptionsTogetherLite? 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.SpeechRequestProviderOptionsTogetherLite), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsTogetherLite; + } + + /// + /// 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.SpeechRequestProviderOptionsTogetherLite.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogetherLite.g.cs new file mode 100644 index 00000000..aee89f56 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogetherLite.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsTogetherLite + { + + /// + /// 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.SpeechRequestProviderOptionsTogetherLite2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogetherLite2.Json.g.cs new file mode 100644 index 00000000..cdb00678 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogetherLite2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsTogetherLite2 + { + /// + /// 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.SpeechRequestProviderOptionsTogetherLite2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsTogetherLite2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsTogetherLite2; + } + + /// + /// 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.SpeechRequestProviderOptionsTogetherLite2? 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.SpeechRequestProviderOptionsTogetherLite2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsTogetherLite2; + } + + /// + /// 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.SpeechRequestProviderOptionsTogetherLite2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogetherLite2.g.cs new file mode 100644 index 00000000..f9ac9c0c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsTogetherLite2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsTogetherLite2 + { + + /// + /// 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.SpeechRequestProviderOptionsUbicloud.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUbicloud.Json.g.cs new file mode 100644 index 00000000..34c1aa56 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUbicloud.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsUbicloud + { + /// + /// 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.SpeechRequestProviderOptionsUbicloud? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsUbicloud), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsUbicloud; + } + + /// + /// 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.SpeechRequestProviderOptionsUbicloud? 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.SpeechRequestProviderOptionsUbicloud), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsUbicloud; + } + + /// + /// 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.SpeechRequestProviderOptionsUbicloud.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUbicloud.g.cs new file mode 100644 index 00000000..3cf18a33 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUbicloud.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsUbicloud + { + + /// + /// 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.SpeechRequestProviderOptionsUbicloud2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUbicloud2.Json.g.cs new file mode 100644 index 00000000..5056b6da --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUbicloud2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsUbicloud2 + { + /// + /// 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.SpeechRequestProviderOptionsUbicloud2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsUbicloud2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsUbicloud2; + } + + /// + /// 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.SpeechRequestProviderOptionsUbicloud2? 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.SpeechRequestProviderOptionsUbicloud2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsUbicloud2; + } + + /// + /// 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.SpeechRequestProviderOptionsUbicloud2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUbicloud2.g.cs new file mode 100644 index 00000000..5151c42f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUbicloud2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsUbicloud2 + { + + /// + /// 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.SpeechRequestProviderOptionsUpstage.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUpstage.Json.g.cs new file mode 100644 index 00000000..95de0a54 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUpstage.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsUpstage + { + /// + /// 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.SpeechRequestProviderOptionsUpstage? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsUpstage), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsUpstage; + } + + /// + /// 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.SpeechRequestProviderOptionsUpstage? 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.SpeechRequestProviderOptionsUpstage), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsUpstage; + } + + /// + /// 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.SpeechRequestProviderOptionsUpstage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUpstage.g.cs new file mode 100644 index 00000000..9cf94fda --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUpstage.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsUpstage + { + + /// + /// 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.SpeechRequestProviderOptionsUpstage2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUpstage2.Json.g.cs new file mode 100644 index 00000000..b6b5a67b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUpstage2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsUpstage2 + { + /// + /// 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.SpeechRequestProviderOptionsUpstage2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsUpstage2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsUpstage2; + } + + /// + /// 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.SpeechRequestProviderOptionsUpstage2? 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.SpeechRequestProviderOptionsUpstage2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsUpstage2; + } + + /// + /// 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.SpeechRequestProviderOptionsUpstage2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUpstage2.g.cs new file mode 100644 index 00000000..f2d3b721 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsUpstage2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsUpstage2 + { + + /// + /// 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.SpeechRequestProviderOptionsVenice.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsVenice.Json.g.cs new file mode 100644 index 00000000..f626050b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsVenice.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsVenice + { + /// + /// 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.SpeechRequestProviderOptionsVenice? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsVenice), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsVenice; + } + + /// + /// 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.SpeechRequestProviderOptionsVenice? 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.SpeechRequestProviderOptionsVenice), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsVenice; + } + + /// + /// 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.SpeechRequestProviderOptionsVenice.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsVenice.g.cs new file mode 100644 index 00000000..8e10bf82 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsVenice.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsVenice + { + + /// + /// 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.SpeechRequestProviderOptionsVenice2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsVenice2.Json.g.cs new file mode 100644 index 00000000..b5846318 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsVenice2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsVenice2 + { + /// + /// 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.SpeechRequestProviderOptionsVenice2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsVenice2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsVenice2; + } + + /// + /// 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.SpeechRequestProviderOptionsVenice2? 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.SpeechRequestProviderOptionsVenice2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsVenice2; + } + + /// + /// 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.SpeechRequestProviderOptionsVenice2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsVenice2.g.cs new file mode 100644 index 00000000..94a7d78d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsVenice2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsVenice2 + { + + /// + /// 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.SpeechRequestProviderOptionsWandb.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsWandb.Json.g.cs new file mode 100644 index 00000000..386738fd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsWandb.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsWandb + { + /// + /// 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.SpeechRequestProviderOptionsWandb? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsWandb), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsWandb; + } + + /// + /// 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.SpeechRequestProviderOptionsWandb? 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.SpeechRequestProviderOptionsWandb), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsWandb; + } + + /// + /// 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.SpeechRequestProviderOptionsWandb.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsWandb.g.cs new file mode 100644 index 00000000..2f174928 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsWandb.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsWandb + { + + /// + /// 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.SpeechRequestProviderOptionsWandb2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsWandb2.Json.g.cs new file mode 100644 index 00000000..2943a568 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsWandb2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsWandb2 + { + /// + /// 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.SpeechRequestProviderOptionsWandb2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsWandb2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsWandb2; + } + + /// + /// 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.SpeechRequestProviderOptionsWandb2? 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.SpeechRequestProviderOptionsWandb2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsWandb2; + } + + /// + /// 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.SpeechRequestProviderOptionsWandb2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsWandb2.g.cs new file mode 100644 index 00000000..38245803 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsWandb2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsWandb2 + { + + /// + /// 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.SpeechRequestProviderOptionsXai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXai.Json.g.cs new file mode 100644 index 00000000..2537551a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXai.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsXai + { + /// + /// 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.SpeechRequestProviderOptionsXai? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsXai), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsXai; + } + + /// + /// 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.SpeechRequestProviderOptionsXai? 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.SpeechRequestProviderOptionsXai), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsXai; + } + + /// + /// 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.SpeechRequestProviderOptionsXai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXai.g.cs new file mode 100644 index 00000000..bd0bb08f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXai.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsXai + { + + /// + /// 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.SpeechRequestProviderOptionsXai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXai2.Json.g.cs new file mode 100644 index 00000000..514df243 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXai2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsXai2 + { + /// + /// 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.SpeechRequestProviderOptionsXai2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsXai2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsXai2; + } + + /// + /// 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.SpeechRequestProviderOptionsXai2? 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.SpeechRequestProviderOptionsXai2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsXai2; + } + + /// + /// 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.SpeechRequestProviderOptionsXai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXai2.g.cs new file mode 100644 index 00000000..9e1188a4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXai2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsXai2 + { + + /// + /// 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.SpeechRequestProviderOptionsXiaomi.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXiaomi.Json.g.cs new file mode 100644 index 00000000..f864430a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXiaomi.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsXiaomi + { + /// + /// 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.SpeechRequestProviderOptionsXiaomi? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsXiaomi), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsXiaomi; + } + + /// + /// 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.SpeechRequestProviderOptionsXiaomi? 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.SpeechRequestProviderOptionsXiaomi), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsXiaomi; + } + + /// + /// 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.SpeechRequestProviderOptionsXiaomi.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXiaomi.g.cs new file mode 100644 index 00000000..28e094cc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXiaomi.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsXiaomi + { + + /// + /// 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.SpeechRequestProviderOptionsXiaomi2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXiaomi2.Json.g.cs new file mode 100644 index 00000000..b64988ae --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXiaomi2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsXiaomi2 + { + /// + /// 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.SpeechRequestProviderOptionsXiaomi2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsXiaomi2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsXiaomi2; + } + + /// + /// 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.SpeechRequestProviderOptionsXiaomi2? 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.SpeechRequestProviderOptionsXiaomi2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsXiaomi2; + } + + /// + /// 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.SpeechRequestProviderOptionsXiaomi2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXiaomi2.g.cs new file mode 100644 index 00000000..79391aa9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsXiaomi2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsXiaomi2 + { + + /// + /// 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.SpeechRequestProviderOptionsZAi.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsZAi.Json.g.cs new file mode 100644 index 00000000..a0e2d751 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsZAi.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsZAi + { + /// + /// 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.SpeechRequestProviderOptionsZAi? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsZAi), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsZAi; + } + + /// + /// 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.SpeechRequestProviderOptionsZAi? 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.SpeechRequestProviderOptionsZAi), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsZAi; + } + + /// + /// 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.SpeechRequestProviderOptionsZAi.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsZAi.g.cs new file mode 100644 index 00000000..82ea7f31 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsZAi.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsZAi + { + + /// + /// 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.SpeechRequestProviderOptionsZAi2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsZAi2.Json.g.cs new file mode 100644 index 00000000..3e547502 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsZAi2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsZAi2 + { + /// + /// 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.SpeechRequestProviderOptionsZAi2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsZAi2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsZAi2; + } + + /// + /// 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.SpeechRequestProviderOptionsZAi2? 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.SpeechRequestProviderOptionsZAi2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsZAi2; + } + + /// + /// 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.SpeechRequestProviderOptionsZAi2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsZAi2.g.cs new file mode 100644 index 00000000..c7d10ea0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsZAi2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsZAi2 + { + + /// + /// 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.SpeechRequestProviderOptionsx01ai.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsx01ai.Json.g.cs new file mode 100644 index 00000000..1132069e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsx01ai.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsx01ai + { + /// + /// 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.SpeechRequestProviderOptionsx01ai? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsx01ai), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsx01ai; + } + + /// + /// 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.SpeechRequestProviderOptionsx01ai? 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.SpeechRequestProviderOptionsx01ai), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsx01ai; + } + + /// + /// 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.SpeechRequestProviderOptionsx01ai.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsx01ai.g.cs new file mode 100644 index 00000000..b7ac26f1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsx01ai.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class SpeechRequestProviderOptionsx01ai + { + + /// + /// 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.SpeechRequestProviderOptionsx01ai2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsx01ai2.Json.g.cs new file mode 100644 index 00000000..858d1733 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsx01ai2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class SpeechRequestProviderOptionsx01ai2 + { + /// + /// 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.SpeechRequestProviderOptionsx01ai2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.SpeechRequestProviderOptionsx01ai2), + jsonSerializerContext) as global::OpenRouter.SpeechRequestProviderOptionsx01ai2; + } + + /// + /// 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.SpeechRequestProviderOptionsx01ai2? 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.SpeechRequestProviderOptionsx01ai2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.SpeechRequestProviderOptionsx01ai2; + } + + /// + /// 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.SpeechRequestProviderOptionsx01ai2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsx01ai2.g.cs new file mode 100644 index 00000000..3e4cf735 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderOptionsx01ai2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class SpeechRequestProviderOptionsx01ai2 + { + + /// + /// 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.SpeechRequestResponseFormat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestResponseFormat.g.cs new file mode 100644 index 00000000..111cb9f1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestResponseFormat.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Audio output format
+ /// Default Value: pcm + ///
+ public enum SpeechRequestResponseFormat + { + /// + /// + /// + Mp3, + /// + /// + /// + Pcm, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SpeechRequestResponseFormatExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SpeechRequestResponseFormat value) + { + return value switch + { + SpeechRequestResponseFormat.Mp3 => "mp3", + SpeechRequestResponseFormat.Pcm => "pcm", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SpeechRequestResponseFormat? ToEnum(string value) + { + return value switch + { + "mp3" => SpeechRequestResponseFormat.Mp3, + "pcm" => SpeechRequestResponseFormat.Pcm, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageTtsClient.CreateAudioSpeech.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageTtsClient.CreateAudioSpeech.g.cs index 7b0aa49c..b559b1b7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageTtsClient.CreateAudioSpeech.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageTtsClient.CreateAudioSpeech.g.cs @@ -27,11 +27,11 @@ public partial class SubpackageTtsClient }; partial void PrepareCreateAudioSpeechArguments( global::System.Net.Http.HttpClient httpClient, - global::OpenRouter.CreateAudioSpeechRequest request); + global::OpenRouter.SpeechRequest request); partial void PrepareCreateAudioSpeechRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::OpenRouter.CreateAudioSpeechRequest request); + global::OpenRouter.SpeechRequest request); partial void ProcessCreateAudioSpeechResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreateAudioSpeechResponseContent( /// public async global::System.Threading.Tasks.Task CreateAudioSpeechAsync( - global::OpenRouter.CreateAudioSpeechRequest request, + global::OpenRouter.SpeechRequest request, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -712,13 +712,13 @@ partial void ProcessCreateAudioSpeechResponseContent( string input, string model, string voice, - global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider? provider = default, - global::OpenRouter.AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat? responseFormat = default, + global::OpenRouter.SpeechRequestProvider? provider = default, + global::OpenRouter.SpeechRequestResponseFormat? responseFormat = default, double? speed = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::OpenRouter.CreateAudioSpeechRequest + var __request = new global::OpenRouter.SpeechRequest { Input = input, Model = model, diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index 737e152e..659df4ba 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -551,39 +551,7 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "input": { - "type": "string", - "description": "Text to synthesize" - }, - "model": { - "type": "string", - "description": "TTS model identifier" - }, - "provider": { - "$ref": "#/components/schemas/AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider", - "description": "Provider-specific passthrough configuration" - }, - "response_format": { - "$ref": "#/components/schemas/AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat", - "description": "Audio output format" - }, - "speed": { - "type": "number", - "format": "double", - "description": "Playback speed multiplier. Only used by models that support it (e.g. OpenAI TTS). Ignored by other providers." - }, - "voice": { - "type": "string", - "description": "Voice identifier (provider-specific)." - } - }, - "required": [ - "input", - "model", - "voice" - ] + "$ref": "#/components/schemas/SpeechRequest" } } } @@ -6044,6 +6012,34 @@ ], "title": "ContextCompressionPlugin" }, + "ParetoRouterPluginId": { + "type": "string", + "enum": [ + "pareto-router" + ], + "title": "ParetoRouterPluginId" + }, + "ParetoRouterPlugin": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Set to false to disable the pareto-router plugin for this request. Defaults to true." + }, + "id": { + "$ref": "#/components/schemas/ParetoRouterPluginId" + }, + "min_coding_score": { + "type": "number", + "format": "double", + "description": "Minimum desired coding score between 0 and 1, where 1 is best. Higher values select from stronger coding models (sourced from Artificial Analysis coding percentiles). Maps internally to one of three tiers (low, medium, high). Omit to use the router default tier." + } + }, + "required": [ + "id" + ], + "title": "ParetoRouterPlugin" + }, "ResponsesRequestPluginsItems": { "oneOf": [ { @@ -6063,6 +6059,9 @@ }, { "$ref": "#/components/schemas/ContextCompressionPlugin" + }, + { + "$ref": "#/components/schemas/ParetoRouterPlugin" } ], "title": "ResponsesRequestPluginsItems" @@ -11079,7 +11078,7 @@ ], "title": "ActivityResponse" }, - "AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions": { + "SpeechRequestProviderOptions": { "type": "object", "properties": { "01ai": { @@ -11726,20 +11725,20 @@ } }, "description": "Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body.", - "title": "AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions" + "title": "SpeechRequestProviderOptions" }, - "AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider": { + "SpeechRequestProvider": { "type": "object", "properties": { "options": { - "$ref": "#/components/schemas/AudioSpeechPostRequestBodyContentApplicationJsonSchemaProviderOptions", + "$ref": "#/components/schemas/SpeechRequestProviderOptions", "description": "Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body." } }, "description": "Provider-specific passthrough configuration", - "title": "AudioSpeechPostRequestBodyContentApplicationJsonSchemaProvider" + "title": "SpeechRequestProvider" }, - "AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat": { + "SpeechRequestResponseFormat": { "type": "string", "enum": [ "mp3", @@ -11747,7 +11746,44 @@ ], "default": "pcm", "description": "Audio output format", - "title": "AudioSpeechPostRequestBodyContentApplicationJsonSchemaResponseFormat" + "title": "SpeechRequestResponseFormat" + }, + "SpeechRequest": { + "type": "object", + "properties": { + "input": { + "type": "string", + "description": "Text to synthesize" + }, + "model": { + "type": "string", + "description": "TTS model identifier" + }, + "provider": { + "$ref": "#/components/schemas/SpeechRequestProvider", + "description": "Provider-specific passthrough configuration" + }, + "response_format": { + "$ref": "#/components/schemas/SpeechRequestResponseFormat", + "description": "Audio output format" + }, + "speed": { + "type": "number", + "format": "double", + "description": "Playback speed multiplier. Only used by models that support it (e.g. OpenAI TTS). Ignored by other providers." + }, + "voice": { + "type": "string", + "description": "Voice identifier (provider-specific)." + } + }, + "required": [ + "input", + "model", + "voice" + ], + "description": "Text-to-speech request input", + "title": "SpeechRequest" }, "AnthropicCacheControlTtl": { "type": "string", @@ -12636,6 +12672,9 @@ }, { "$ref": "#/components/schemas/ContextCompressionPlugin" + }, + { + "$ref": "#/components/schemas/ParetoRouterPlugin" } ], "title": "ChatRequestPluginsItems" @@ -18907,6 +18946,9 @@ }, { "$ref": "#/components/schemas/ContextCompressionPlugin" + }, + { + "$ref": "#/components/schemas/ParetoRouterPlugin" } ], "title": "MessagesRequestPluginsItems"