From b9b154540063537479ce9fe9ddae05f7f48f5110 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 27 Aug 2026 13:52:55 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/DashScope.DashScopeClient.g.cs | 12 +-- ...dingsClient.CreateMultimodalEmbedding.g.cs | 2 +- ....EmbeddingsClient.CreateTextEmbedding.g.cs | 2 +- .../Generated/DashScope.EmbeddingsClient.g.cs | 2 +- ...tionClient.CreateMultimodalGeneration.g.cs | 2 +- ...GenerationClient.CreateTextGeneration.g.cs | 2 +- .../Generated/DashScope.GenerationClient.g.cs | 2 +- .../Generated/DashScope.IDashScopeClient.g.cs | 12 +-- .../DashScope.IEmbeddingsClient.g.cs | 2 +- .../DashScope.IGenerationClient.g.cs | 2 +- .../Generated/DashScope.IImagesClient.g.cs | 2 +- .../Generated/DashScope.ITasksClient.g.cs | 2 +- .../Generated/DashScope.IVideosClient.g.cs | 2 +- ...magesClient.CreateImageGenerationTask.g.cs | 2 +- .../Generated/DashScope.ImagesClient.g.cs | 2 +- ...ateImageGenerationTaskXDashScopeAsync.g.cs | 2 +- ...GenerationTaskXDashScopeAsyncNullable.g.cs | 2 +- ...eateMultimodalGenerationXDashScopeSse.g.cs | 2 +- ...imodalGenerationXDashScopeSseNullable.g.cs | 2 +- ...ers.CreateTextGenerationXDashScopeSse.g.cs | 2 +- ...teTextGenerationXDashScopeSseNullable.g.cs | 2 +- ...ateVideoGenerationTaskXDashScopeAsync.g.cs | 2 +- ...GenerationTaskXDashScopeAsyncNullable.g.cs | 2 +- ...ashScope.JsonConverters.UnixTimestamp.g.cs | 2 +- .../DashScope.JsonSerializerContext.g.cs | 2 +- .../DashScope.JsonSerializerContextTypes.g.cs | 86 +++++++++---------- .../DashScope.Models.ContentPart.g.cs | 10 +-- ...ateImageGenerationTaskXDashScopeAsync.g.cs | 4 +- ...eateMultimodalGenerationXDashScopeSse.g.cs | 4 +- ...els.CreateTextGenerationXDashScopeSse.g.cs | 4 +- ...ateVideoGenerationTaskXDashScopeAsync.g.cs | 4 +- .../DashScope.Models.DashScopeInput.g.cs | 8 +- ...ashScope.Models.DashScopeInputContent.g.cs | 2 +- .../DashScope.Models.DashScopeMedia.g.cs | 2 +- .../DashScope.Models.DashScopeOutput.g.cs | 18 ++-- ...ashScope.Models.DashScopeOutputChoice.g.cs | 2 +- ...ashScope.Models.DashScopeOutputResult.g.cs | 2 +- ...ope.Models.DashScopeOutputTaskMetrics.g.cs | 2 +- .../DashScope.Models.DashScopeRequest.g.cs | 8 +- ...ope.Models.DashScopeRequestParameters.g.cs | 2 +- .../DashScope.Models.DashScopeResponse.g.cs | 12 +-- .../DashScope.Models.EmbeddingObject.g.cs | 6 +- .../DashScope.Models.EmbeddingRequest.g.cs | 8 +- ...ashScope.Models.EmbeddingRequestInput.g.cs | 2 +- ...cope.Models.EmbeddingRequestInputItem.g.cs | 2 +- ...ope.Models.EmbeddingRequestParameters.g.cs | 2 +- .../DashScope.Models.EmbeddingResponse.g.cs | 12 +-- ...hScope.Models.EmbeddingResponseOutput.g.cs | 4 +- .../Generated/DashScope.Models.Message.g.cs | 6 +- .../Generated/DashScope.Models.Usage.g.cs | 12 +-- .../Generated/DashScope.OneOf.2.g.cs | 64 +++++++------- .../Generated/DashScope.OneOf.3.g.cs | 80 ++++++++--------- .../Generated/DashScope.PathBuilder.g.cs | 12 +-- .../Generated/DashScope.Polyfills.g.cs | 8 +- .../DashScope.TasksClient.GetTask.g.cs | 2 +- .../Generated/DashScope.TasksClient.g.cs | 2 +- ...ideosClient.CreateVideoGenerationTask.g.cs | 2 +- .../Generated/DashScope.VideosClient.g.cs | 2 +- 58 files changed, 233 insertions(+), 233 deletions(-) diff --git a/src/libs/DashScope/Generated/DashScope.DashScopeClient.g.cs b/src/libs/DashScope/Generated/DashScope.DashScopeClient.g.cs index f6310cd..4b6b6d7 100644 --- a/src/libs/DashScope/Generated/DashScope.DashScopeClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.DashScopeClient.g.cs @@ -38,7 +38,7 @@ public sealed partial class DashScopeClient : global::DashScope.IDashScopeClient internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DashScope.SourceGenerationContext.Default); /// - /// + /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { @@ -48,7 +48,7 @@ public sealed partial class DashScopeClient : global::DashScope.IDashScopeClient /// - /// + /// /// public EmbeddingsClient Embeddings => new EmbeddingsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { @@ -57,7 +57,7 @@ public sealed partial class DashScopeClient : global::DashScope.IDashScopeClient }; /// - /// + /// /// public GenerationClient Generation => new GenerationClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { @@ -66,7 +66,7 @@ public sealed partial class DashScopeClient : global::DashScope.IDashScopeClient }; /// - /// + /// /// public ImagesClient Images => new ImagesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { @@ -75,7 +75,7 @@ public sealed partial class DashScopeClient : global::DashScope.IDashScopeClient }; /// - /// + /// /// public TasksClient Tasks => new TasksClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { @@ -84,7 +84,7 @@ public sealed partial class DashScopeClient : global::DashScope.IDashScopeClient }; /// - /// + /// /// public VideosClient Videos => new VideosClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { diff --git a/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.CreateMultimodalEmbedding.g.cs b/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.CreateMultimodalEmbedding.g.cs index 1096f15..31cb8be 100644 --- a/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.CreateMultimodalEmbedding.g.cs +++ b/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.CreateMultimodalEmbedding.g.cs @@ -145,7 +145,7 @@ partial void ProcessCreateMultimodalEmbeddingResponseContent( __authorization.Location == "Header") { __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } + } } if (xDashScopeWorkSpace != default) diff --git a/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.CreateTextEmbedding.g.cs b/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.CreateTextEmbedding.g.cs index ded2736..03b4120 100644 --- a/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.CreateTextEmbedding.g.cs +++ b/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.CreateTextEmbedding.g.cs @@ -145,7 +145,7 @@ partial void ProcessCreateTextEmbeddingResponseContent( __authorization.Location == "Header") { __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } + } } if (xDashScopeWorkSpace != default) diff --git a/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.g.cs b/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.g.cs index 7771905..8d66df5 100644 --- a/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.EmbeddingsClient.g.cs @@ -37,7 +37,7 @@ public sealed partial class EmbeddingsClient : global::DashScope.IEmbeddingsClie internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DashScope.SourceGenerationContext.Default); /// - /// + /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { diff --git a/src/libs/DashScope/Generated/DashScope.GenerationClient.CreateMultimodalGeneration.g.cs b/src/libs/DashScope/Generated/DashScope.GenerationClient.CreateMultimodalGeneration.g.cs index 67fcd98..8d7dc50 100644 --- a/src/libs/DashScope/Generated/DashScope.GenerationClient.CreateMultimodalGeneration.g.cs +++ b/src/libs/DashScope/Generated/DashScope.GenerationClient.CreateMultimodalGeneration.g.cs @@ -155,7 +155,7 @@ partial void ProcessCreateMultimodalGenerationResponseContent( __authorization.Location == "Header") { __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } + } } if (xDashScopeSse != default) diff --git a/src/libs/DashScope/Generated/DashScope.GenerationClient.CreateTextGeneration.g.cs b/src/libs/DashScope/Generated/DashScope.GenerationClient.CreateTextGeneration.g.cs index 9887c4b..5ac9dfd 100644 --- a/src/libs/DashScope/Generated/DashScope.GenerationClient.CreateTextGeneration.g.cs +++ b/src/libs/DashScope/Generated/DashScope.GenerationClient.CreateTextGeneration.g.cs @@ -153,7 +153,7 @@ partial void ProcessCreateTextGenerationResponseContent( __authorization.Location == "Header") { __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } + } } if (xDashScopeSse != default) diff --git a/src/libs/DashScope/Generated/DashScope.GenerationClient.g.cs b/src/libs/DashScope/Generated/DashScope.GenerationClient.g.cs index c342baf..868e430 100644 --- a/src/libs/DashScope/Generated/DashScope.GenerationClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.GenerationClient.g.cs @@ -37,7 +37,7 @@ public sealed partial class GenerationClient : global::DashScope.IGenerationClie internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DashScope.SourceGenerationContext.Default); /// - /// + /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { diff --git a/src/libs/DashScope/Generated/DashScope.IDashScopeClient.g.cs b/src/libs/DashScope/Generated/DashScope.IDashScopeClient.g.cs index 59f0e77..4b930ea 100644 --- a/src/libs/DashScope/Generated/DashScope.IDashScopeClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.IDashScopeClient.g.cs @@ -40,33 +40,33 @@ public partial interface IDashScopeClient : global::System.IDisposable /// - /// + /// /// global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } /// - /// + /// /// public EmbeddingsClient Embeddings { get; } /// - /// + /// /// public GenerationClient Generation { get; } /// - /// + /// /// public ImagesClient Images { get; } /// - /// + /// /// public TasksClient Tasks { get; } /// - /// + /// /// public VideosClient Videos { get; } diff --git a/src/libs/DashScope/Generated/DashScope.IEmbeddingsClient.g.cs b/src/libs/DashScope/Generated/DashScope.IEmbeddingsClient.g.cs index befaf1c..a301db6 100644 --- a/src/libs/DashScope/Generated/DashScope.IEmbeddingsClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.IEmbeddingsClient.g.cs @@ -39,7 +39,7 @@ public partial interface IEmbeddingsClient : global::System.IDisposable /// - /// + /// /// global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.IGenerationClient.g.cs b/src/libs/DashScope/Generated/DashScope.IGenerationClient.g.cs index 746099f..5657c02 100644 --- a/src/libs/DashScope/Generated/DashScope.IGenerationClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.IGenerationClient.g.cs @@ -39,7 +39,7 @@ public partial interface IGenerationClient : global::System.IDisposable /// - /// + /// /// global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.IImagesClient.g.cs b/src/libs/DashScope/Generated/DashScope.IImagesClient.g.cs index ada7ade..ce75e99 100644 --- a/src/libs/DashScope/Generated/DashScope.IImagesClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.IImagesClient.g.cs @@ -39,7 +39,7 @@ public partial interface IImagesClient : global::System.IDisposable /// - /// + /// /// global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.ITasksClient.g.cs b/src/libs/DashScope/Generated/DashScope.ITasksClient.g.cs index 9b94c8b..6b5fa16 100644 --- a/src/libs/DashScope/Generated/DashScope.ITasksClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.ITasksClient.g.cs @@ -39,7 +39,7 @@ public partial interface ITasksClient : global::System.IDisposable /// - /// + /// /// global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.IVideosClient.g.cs b/src/libs/DashScope/Generated/DashScope.IVideosClient.g.cs index 2989d00..64bfcab 100644 --- a/src/libs/DashScope/Generated/DashScope.IVideosClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.IVideosClient.g.cs @@ -39,7 +39,7 @@ public partial interface IVideosClient : global::System.IDisposable /// - /// + /// /// global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.ImagesClient.CreateImageGenerationTask.g.cs b/src/libs/DashScope/Generated/DashScope.ImagesClient.CreateImageGenerationTask.g.cs index 18365d2..82bb4d7 100644 --- a/src/libs/DashScope/Generated/DashScope.ImagesClient.CreateImageGenerationTask.g.cs +++ b/src/libs/DashScope/Generated/DashScope.ImagesClient.CreateImageGenerationTask.g.cs @@ -153,7 +153,7 @@ partial void ProcessCreateImageGenerationTaskResponseContent( __authorization.Location == "Header") { __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } + } } if (xDashScopeAsync != default) diff --git a/src/libs/DashScope/Generated/DashScope.ImagesClient.g.cs b/src/libs/DashScope/Generated/DashScope.ImagesClient.g.cs index 5d3f31f..d344066 100644 --- a/src/libs/DashScope/Generated/DashScope.ImagesClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.ImagesClient.g.cs @@ -37,7 +37,7 @@ public sealed partial class ImagesClient : global::DashScope.IImagesClient, glob internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DashScope.SourceGenerationContext.Default); /// - /// + /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { diff --git a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateImageGenerationTaskXDashScopeAsync.g.cs b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateImageGenerationTaskXDashScopeAsync.g.cs index b7f8070..f5cfd57 100644 --- a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateImageGenerationTaskXDashScopeAsync.g.cs +++ b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateImageGenerationTaskXDashScopeAsync.g.cs @@ -20,7 +20,7 @@ public sealed class CreateImageGenerationTaskXDashScopeAsyncJsonConverter : glob { return global::DashScope.CreateImageGenerationTaskXDashScopeAsyncExtensions.ToEnum(stringValue) ?? default; } - + break; } case global::System.Text.Json.JsonTokenType.Number: diff --git a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateImageGenerationTaskXDashScopeAsyncNullable.g.cs b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateImageGenerationTaskXDashScopeAsyncNullable.g.cs index dea82ce..fce6b27 100644 --- a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateImageGenerationTaskXDashScopeAsyncNullable.g.cs +++ b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateImageGenerationTaskXDashScopeAsyncNullable.g.cs @@ -20,7 +20,7 @@ public sealed class CreateImageGenerationTaskXDashScopeAsyncNullableJsonConverte { return global::DashScope.CreateImageGenerationTaskXDashScopeAsyncExtensions.ToEnum(stringValue); } - + break; } case global::System.Text.Json.JsonTokenType.Number: diff --git a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateMultimodalGenerationXDashScopeSse.g.cs b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateMultimodalGenerationXDashScopeSse.g.cs index 4f754a3..ac06d35 100644 --- a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateMultimodalGenerationXDashScopeSse.g.cs +++ b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateMultimodalGenerationXDashScopeSse.g.cs @@ -20,7 +20,7 @@ public sealed class CreateMultimodalGenerationXDashScopeSseJsonConverter : globa { return global::DashScope.CreateMultimodalGenerationXDashScopeSseExtensions.ToEnum(stringValue) ?? default; } - + break; } case global::System.Text.Json.JsonTokenType.Number: diff --git a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateMultimodalGenerationXDashScopeSseNullable.g.cs b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateMultimodalGenerationXDashScopeSseNullable.g.cs index f3d704a..25b1ee7 100644 --- a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateMultimodalGenerationXDashScopeSseNullable.g.cs +++ b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateMultimodalGenerationXDashScopeSseNullable.g.cs @@ -20,7 +20,7 @@ public sealed class CreateMultimodalGenerationXDashScopeSseNullableJsonConverter { return global::DashScope.CreateMultimodalGenerationXDashScopeSseExtensions.ToEnum(stringValue); } - + break; } case global::System.Text.Json.JsonTokenType.Number: diff --git a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateTextGenerationXDashScopeSse.g.cs b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateTextGenerationXDashScopeSse.g.cs index 4b0cb95..e448ffd 100644 --- a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateTextGenerationXDashScopeSse.g.cs +++ b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateTextGenerationXDashScopeSse.g.cs @@ -20,7 +20,7 @@ public sealed class CreateTextGenerationXDashScopeSseJsonConverter : global::Sys { return global::DashScope.CreateTextGenerationXDashScopeSseExtensions.ToEnum(stringValue) ?? default; } - + break; } case global::System.Text.Json.JsonTokenType.Number: diff --git a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateTextGenerationXDashScopeSseNullable.g.cs b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateTextGenerationXDashScopeSseNullable.g.cs index 00c16f7..fa5fc2a 100644 --- a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateTextGenerationXDashScopeSseNullable.g.cs +++ b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateTextGenerationXDashScopeSseNullable.g.cs @@ -20,7 +20,7 @@ public sealed class CreateTextGenerationXDashScopeSseNullableJsonConverter : glo { return global::DashScope.CreateTextGenerationXDashScopeSseExtensions.ToEnum(stringValue); } - + break; } case global::System.Text.Json.JsonTokenType.Number: diff --git a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateVideoGenerationTaskXDashScopeAsync.g.cs b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateVideoGenerationTaskXDashScopeAsync.g.cs index ec5ce1b..b6cd008 100644 --- a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateVideoGenerationTaskXDashScopeAsync.g.cs +++ b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateVideoGenerationTaskXDashScopeAsync.g.cs @@ -20,7 +20,7 @@ public sealed class CreateVideoGenerationTaskXDashScopeAsyncJsonConverter : glob { return global::DashScope.CreateVideoGenerationTaskXDashScopeAsyncExtensions.ToEnum(stringValue) ?? default; } - + break; } case global::System.Text.Json.JsonTokenType.Number: diff --git a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateVideoGenerationTaskXDashScopeAsyncNullable.g.cs b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateVideoGenerationTaskXDashScopeAsyncNullable.g.cs index 093a03c..d534606 100644 --- a/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateVideoGenerationTaskXDashScopeAsyncNullable.g.cs +++ b/src/libs/DashScope/Generated/DashScope.JsonConverters.CreateVideoGenerationTaskXDashScopeAsyncNullable.g.cs @@ -20,7 +20,7 @@ public sealed class CreateVideoGenerationTaskXDashScopeAsyncNullableJsonConverte { return global::DashScope.CreateVideoGenerationTaskXDashScopeAsyncExtensions.ToEnum(stringValue); } - + break; } case global::System.Text.Json.JsonTokenType.Number: diff --git a/src/libs/DashScope/Generated/DashScope.JsonConverters.UnixTimestamp.g.cs b/src/libs/DashScope/Generated/DashScope.JsonConverters.UnixTimestamp.g.cs index 3d42d8d..f17ba82 100644 --- a/src/libs/DashScope/Generated/DashScope.JsonConverters.UnixTimestamp.g.cs +++ b/src/libs/DashScope/Generated/DashScope.JsonConverters.UnixTimestamp.g.cs @@ -19,7 +19,7 @@ public class UnixTimestampJsonConverter : global::System.Text.Json.Serialization { return global::System.DateTimeOffset.FromUnixTimeSeconds(unixTimestamp); } - + return global::System.DateTimeOffset.FromUnixTimeMilliseconds(unixTimestamp); } if (reader.TryGetInt32(out int unixTimestampInt)) diff --git a/src/libs/DashScope/Generated/DashScope.JsonSerializerContext.g.cs b/src/libs/DashScope/Generated/DashScope.JsonSerializerContext.g.cs index e14afc1..a87cc05 100644 --- a/src/libs/DashScope/Generated/DashScope.JsonSerializerContext.g.cs +++ b/src/libs/DashScope/Generated/DashScope.JsonSerializerContext.g.cs @@ -7,7 +7,7 @@ namespace DashScope { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, diff --git a/src/libs/DashScope/Generated/DashScope.JsonSerializerContextTypes.g.cs b/src/libs/DashScope/Generated/DashScope.JsonSerializerContextTypes.g.cs index 87f2100..31db64d 100644 --- a/src/libs/DashScope/Generated/DashScope.JsonSerializerContextTypes.g.cs +++ b/src/libs/DashScope/Generated/DashScope.JsonSerializerContextTypes.g.cs @@ -6,180 +6,180 @@ namespace DashScope { /// - /// + /// /// public sealed partial class JsonSerializerContextTypes { /// - /// + /// /// public global::System.Collections.Generic.Dictionary? StringStringDictionary { get; set; } /// - /// + /// /// public global::System.Collections.Generic.Dictionary? StringObjectDictionary { get; set; } /// - /// + /// /// public global::System.Text.Json.JsonElement? JsonElement { get; set; } /// - /// + /// /// public global::DashScope.DashScopeRequest? Type0 { get; set; } /// - /// + /// /// public string? Type1 { get; set; } /// - /// + /// /// public global::DashScope.DashScopeInput? Type2 { get; set; } /// - /// + /// /// public object? Type3 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type4 { get; set; } /// - /// + /// /// public global::DashScope.Message? Type5 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type6 { get; set; } /// - /// + /// /// public global::DashScope.DashScopeMedia? Type7 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type8 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type9 { get; set; } /// - /// + /// /// public global::DashScope.OneOf>? Type10 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type11 { get; set; } /// - /// + /// /// public global::DashScope.ContentPart? Type12 { get; set; } /// - /// + /// /// public global::DashScope.DashScopeResponse? Type13 { get; set; } /// - /// + /// /// public global::DashScope.DashScopeOutput? Type14 { get; set; } /// - /// + /// /// public global::DashScope.Usage? Type15 { get; set; } /// - /// + /// /// public bool? Type16 { get; set; } /// - /// + /// /// public int? Type17 { get; set; } /// - /// + /// /// public float? Type18 { get; set; } /// - /// + /// /// public global::DashScope.EmbeddingRequest? Type19 { get; set; } /// - /// + /// /// public global::DashScope.OneOf, object>? Type20 { get; set; } /// - /// + /// /// public global::DashScope.EmbeddingResponse? Type21 { get; set; } /// - /// + /// /// public global::DashScope.EmbeddingResponseOutput? Type22 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type23 { get; set; } /// - /// + /// /// public global::DashScope.EmbeddingObject? Type24 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type25 { get; set; } /// - /// + /// /// public global::DashScope.CreateTextGenerationXDashScopeSse? Type26 { get; set; } /// - /// + /// /// public global::DashScope.CreateMultimodalGenerationXDashScopeSse? Type27 { get; set; } /// - /// + /// /// public global::DashScope.CreateImageGenerationTaskXDashScopeAsync? Type28 { get; set; } /// - /// + /// /// public global::DashScope.CreateVideoGenerationTaskXDashScopeAsync? Type29 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType0 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType1 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType2 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType3 { get; set; } /// - /// + /// /// public global::DashScope.OneOf>? ListType4 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType5 { get; set; } /// - /// + /// /// public global::DashScope.OneOf, object>? ListType6 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType7 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType8 { get; set; } } diff --git a/src/libs/DashScope/Generated/DashScope.Models.ContentPart.g.cs b/src/libs/DashScope/Generated/DashScope.Models.ContentPart.g.cs index 5bd77df..acc68e5 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.ContentPart.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.ContentPart.g.cs @@ -4,30 +4,30 @@ namespace DashScope { /// - /// + /// /// public sealed partial class ContentPart { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("text")] public string? Text { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("image")] public string? Image { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("video")] public string? Video { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("audio")] public string? Audio { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.Models.CreateImageGenerationTaskXDashScopeAsync.g.cs b/src/libs/DashScope/Generated/DashScope.Models.CreateImageGenerationTaskXDashScopeAsync.g.cs index f2796a6..fba7cfa 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.CreateImageGenerationTaskXDashScopeAsync.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.CreateImageGenerationTaskXDashScopeAsync.g.cs @@ -4,12 +4,12 @@ namespace DashScope { /// - /// + /// /// public enum CreateImageGenerationTaskXDashScopeAsync { /// - /// + /// /// Enable, } diff --git a/src/libs/DashScope/Generated/DashScope.Models.CreateMultimodalGenerationXDashScopeSse.g.cs b/src/libs/DashScope/Generated/DashScope.Models.CreateMultimodalGenerationXDashScopeSse.g.cs index bb3cc6c..0d4fe15 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.CreateMultimodalGenerationXDashScopeSse.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.CreateMultimodalGenerationXDashScopeSse.g.cs @@ -4,12 +4,12 @@ namespace DashScope { /// - /// + /// /// public enum CreateMultimodalGenerationXDashScopeSse { /// - /// + /// /// Enable, } diff --git a/src/libs/DashScope/Generated/DashScope.Models.CreateTextGenerationXDashScopeSse.g.cs b/src/libs/DashScope/Generated/DashScope.Models.CreateTextGenerationXDashScopeSse.g.cs index e51ae40..78bca2d 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.CreateTextGenerationXDashScopeSse.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.CreateTextGenerationXDashScopeSse.g.cs @@ -4,12 +4,12 @@ namespace DashScope { /// - /// + /// /// public enum CreateTextGenerationXDashScopeSse { /// - /// + /// /// Enable, } diff --git a/src/libs/DashScope/Generated/DashScope.Models.CreateVideoGenerationTaskXDashScopeAsync.g.cs b/src/libs/DashScope/Generated/DashScope.Models.CreateVideoGenerationTaskXDashScopeAsync.g.cs index 496bdd8..f0b4dd2 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.CreateVideoGenerationTaskXDashScopeAsync.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.CreateVideoGenerationTaskXDashScopeAsync.g.cs @@ -4,12 +4,12 @@ namespace DashScope { /// - /// + /// /// public enum CreateVideoGenerationTaskXDashScopeAsync { /// - /// + /// /// Enable, } diff --git a/src/libs/DashScope/Generated/DashScope.Models.DashScopeInput.g.cs b/src/libs/DashScope/Generated/DashScope.Models.DashScopeInput.g.cs index f81a34f..d8a9335 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.DashScopeInput.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.DashScopeInput.g.cs @@ -6,18 +6,18 @@ namespace DashScope { /// - /// + /// /// public sealed partial class DashScopeInput { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("messages")] public global::System.Collections.Generic.IList? Messages { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("prompt")] public string? Prompt { get; set; } @@ -60,7 +60,7 @@ public sealed partial class DashScopeInput public global::System.Collections.Generic.IList? ReferenceVideoUrls { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("contents")] public global::System.Collections.Generic.IList? Contents { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.Models.DashScopeInputContent.g.cs b/src/libs/DashScope/Generated/DashScope.Models.DashScopeInputContent.g.cs index a103c71..ac50c9e 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.DashScopeInputContent.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.DashScopeInputContent.g.cs @@ -4,7 +4,7 @@ namespace DashScope { /// - /// + /// /// public sealed partial class DashScopeInputContent { diff --git a/src/libs/DashScope/Generated/DashScope.Models.DashScopeMedia.g.cs b/src/libs/DashScope/Generated/DashScope.Models.DashScopeMedia.g.cs index a13e209..95a3486 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.DashScopeMedia.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.DashScopeMedia.g.cs @@ -4,7 +4,7 @@ namespace DashScope { /// - /// + /// /// public sealed partial class DashScopeMedia { diff --git a/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutput.g.cs b/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutput.g.cs index 99ffef9..741bdf0 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutput.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutput.g.cs @@ -4,42 +4,42 @@ namespace DashScope { /// - /// + /// /// public sealed partial class DashScopeOutput { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("text")] public string? Text { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("finish_reason")] public string? FinishReason { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("choices")] public global::System.Collections.Generic.IList? Choices { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("task_id")] public string? TaskId { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("task_status")] public string? TaskStatus { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("task_metrics")] public object? TaskMetrics { get; set; } @@ -81,13 +81,13 @@ public sealed partial class DashScopeOutput public string? ActualPrompt { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("results")] public global::System.Collections.Generic.IList? Results { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("finished")] public bool? Finished { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputChoice.g.cs b/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputChoice.g.cs index 69074a0..83de992 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputChoice.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputChoice.g.cs @@ -4,7 +4,7 @@ namespace DashScope { /// - /// + /// /// public sealed partial class DashScopeOutputChoice { diff --git a/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputResult.g.cs b/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputResult.g.cs index 15eb55f..fa6ba82 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputResult.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputResult.g.cs @@ -4,7 +4,7 @@ namespace DashScope { /// - /// + /// /// public sealed partial class DashScopeOutputResult { diff --git a/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputTaskMetrics.g.cs b/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputTaskMetrics.g.cs index fad638c..5336bb5 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputTaskMetrics.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.DashScopeOutputTaskMetrics.g.cs @@ -4,7 +4,7 @@ namespace DashScope { /// - /// + /// /// public sealed partial class DashScopeOutputTaskMetrics { diff --git a/src/libs/DashScope/Generated/DashScope.Models.DashScopeRequest.g.cs b/src/libs/DashScope/Generated/DashScope.Models.DashScopeRequest.g.cs index 7d0083f..e569f6b 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.DashScopeRequest.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.DashScopeRequest.g.cs @@ -4,26 +4,26 @@ namespace DashScope { /// - /// + /// /// public sealed partial class DashScopeRequest { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("model")] [global::System.Text.Json.Serialization.JsonRequired] public required string Model { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("input")] [global::System.Text.Json.Serialization.JsonRequired] public required global::DashScope.DashScopeInput Input { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("parameters")] public object? Parameters { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.Models.DashScopeRequestParameters.g.cs b/src/libs/DashScope/Generated/DashScope.Models.DashScopeRequestParameters.g.cs index a79a53f..b670b76 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.DashScopeRequestParameters.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.DashScopeRequestParameters.g.cs @@ -4,7 +4,7 @@ namespace DashScope { /// - /// + /// /// public sealed partial class DashScopeRequestParameters { diff --git a/src/libs/DashScope/Generated/DashScope.Models.DashScopeResponse.g.cs b/src/libs/DashScope/Generated/DashScope.Models.DashScopeResponse.g.cs index 28f45bd..c31df1c 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.DashScopeResponse.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.DashScopeResponse.g.cs @@ -4,36 +4,36 @@ namespace DashScope { /// - /// + /// /// public sealed partial class DashScopeResponse { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("request_id")] public string? RequestId { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("code")] public string? Code { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("message")] public string? Message { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("output")] public global::DashScope.DashScopeOutput? Output { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("usage")] public global::DashScope.Usage? Usage { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingObject.g.cs b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingObject.g.cs index c23720c..c42320c 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingObject.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingObject.g.cs @@ -4,18 +4,18 @@ namespace DashScope { /// - /// + /// /// public sealed partial class EmbeddingObject { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("embedding")] public global::System.Collections.Generic.IList? Embedding { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("text_index")] public int? TextIndex { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequest.g.cs b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequest.g.cs index 4964cce..5ddb3e2 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequest.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequest.g.cs @@ -4,19 +4,19 @@ namespace DashScope { /// - /// + /// /// public sealed partial class EmbeddingRequest { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("model")] [global::System.Text.Json.Serialization.JsonRequired] public required string Model { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("input")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::DashScope.JsonConverters.OneOfJsonConverter, object>))] @@ -24,7 +24,7 @@ public sealed partial class EmbeddingRequest public required global::DashScope.OneOf, object> Input { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("parameters")] public object? Parameters { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestInput.g.cs b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestInput.g.cs index df810bb..f18a6e8 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestInput.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestInput.g.cs @@ -4,7 +4,7 @@ namespace DashScope { /// - /// + /// /// public sealed partial class EmbeddingRequestInput { diff --git a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestInputItem.g.cs b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestInputItem.g.cs index 642b373..1ca5bb2 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestInputItem.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestInputItem.g.cs @@ -4,7 +4,7 @@ namespace DashScope { /// - /// + /// /// public sealed partial class EmbeddingRequestInputItem { diff --git a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestParameters.g.cs b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestParameters.g.cs index 18ca697..8f900ce 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestParameters.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingRequestParameters.g.cs @@ -4,7 +4,7 @@ namespace DashScope { /// - /// + /// /// public sealed partial class EmbeddingRequestParameters { diff --git a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingResponse.g.cs b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingResponse.g.cs index 1ff9a20..10af64d 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingResponse.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingResponse.g.cs @@ -4,36 +4,36 @@ namespace DashScope { /// - /// + /// /// public sealed partial class EmbeddingResponse { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("request_id")] public string? RequestId { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("code")] public string? Code { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("message")] public string? Message { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("output")] public global::DashScope.EmbeddingResponseOutput? Output { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("usage")] public global::DashScope.Usage? Usage { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingResponseOutput.g.cs b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingResponseOutput.g.cs index f3ffa4f..5a3d8d4 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.EmbeddingResponseOutput.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.EmbeddingResponseOutput.g.cs @@ -4,12 +4,12 @@ namespace DashScope { /// - /// + /// /// public sealed partial class EmbeddingResponseOutput { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("embeddings")] public global::System.Collections.Generic.IList? Embeddings { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.Models.Message.g.cs b/src/libs/DashScope/Generated/DashScope.Models.Message.g.cs index 8e7426f..fba9041 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.Message.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.Message.g.cs @@ -4,19 +4,19 @@ namespace DashScope { /// - /// + /// /// public sealed partial class Message { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("role")] [global::System.Text.Json.Serialization.JsonRequired] public required string Role { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("content")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::DashScope.JsonConverters.OneOfJsonConverter>))] diff --git a/src/libs/DashScope/Generated/DashScope.Models.Usage.g.cs b/src/libs/DashScope/Generated/DashScope.Models.Usage.g.cs index 13f25d8..1d689dd 100644 --- a/src/libs/DashScope/Generated/DashScope.Models.Usage.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Models.Usage.g.cs @@ -4,36 +4,36 @@ namespace DashScope { /// - /// + /// /// public sealed partial class Usage { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("input_tokens")] public int? InputTokens { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("output_tokens")] public int? OutputTokens { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("total_tokens")] public int? TotalTokens { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("image_count")] public int? ImageCount { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("size")] public string? Size { get; set; } diff --git a/src/libs/DashScope/Generated/DashScope.OneOf.2.g.cs b/src/libs/DashScope/Generated/DashScope.OneOf.2.g.cs index 7fceaa4..a7d287e 100644 --- a/src/libs/DashScope/Generated/DashScope.OneOf.2.g.cs +++ b/src/libs/DashScope/Generated/DashScope.OneOf.2.g.cs @@ -4,12 +4,12 @@ namespace DashScope { /// - /// + /// /// public readonly partial struct OneOf : global::System.IEquatable> { /// - /// + /// /// #if NET6_0_OR_GREATER public T1? Value1 { get; init; } @@ -18,7 +18,7 @@ namespace DashScope #endif /// - /// + /// /// #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] @@ -26,7 +26,7 @@ namespace DashScope public bool IsValue1 => Value1 != null; /// - /// + /// /// public bool TryPickValue1( #if NET6_0_OR_GREATER @@ -39,14 +39,14 @@ public bool TryPickValue1( } /// - /// + /// /// public T1 PickValue1() => IsValue1 ? Value1! : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); /// - /// + /// /// #if NET6_0_OR_GREATER public T2? Value2 { get; init; } @@ -55,7 +55,7 @@ public T1 PickValue1() => IsValue1 #endif /// - /// + /// /// #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] @@ -63,7 +63,7 @@ public T1 PickValue1() => IsValue1 public bool IsValue2 => Value2 != null; /// - /// + /// /// public bool TryPickValue2( #if NET6_0_OR_GREATER @@ -76,23 +76,23 @@ public bool TryPickValue2( } /// - /// + /// /// public T2 PickValue2() => IsValue2 ? Value2! : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); /// - /// + /// /// public static implicit operator OneOf(T1 value) => new OneOf((T1?)value); /// - /// + /// /// public static implicit operator T1?(OneOf @this) => @this.Value1; /// - /// + /// /// public OneOf(T1? value) { @@ -100,22 +100,22 @@ public OneOf(T1? value) } /// - /// + /// /// public static OneOf FromValue1(T1? value) => new OneOf(value); /// - /// + /// /// public static implicit operator OneOf(T2 value) => new OneOf((T2?)value); /// - /// + /// /// public static implicit operator T2?(OneOf @this) => @this.Value2; /// - /// + /// /// public OneOf(T2? value) { @@ -123,12 +123,12 @@ public OneOf(T2? value) } /// - /// + /// /// public static OneOf FromValue2(T2? value) => new OneOf(value); /// - /// + /// /// public OneOf( T1? value1, @@ -140,23 +140,23 @@ public OneOf( } /// - /// + /// /// public object? Object => Value2 as object ?? - Value1 as object + Value1 as object ; /// - /// + /// /// public override string? ToString() => Value1?.ToString() ?? - Value2?.ToString() + Value2?.ToString() ; /// - /// + /// /// public bool Validate() { @@ -164,7 +164,7 @@ public bool Validate() } /// - /// + /// /// public TResult? Match( global::System.Func? value1 = null, @@ -189,7 +189,7 @@ public bool Validate() } /// - /// + /// /// public void Match( global::System.Action? value1 = null, @@ -213,7 +213,7 @@ public void Match( } /// - /// + /// /// public void Switch( global::System.Action? value1 = null, @@ -236,7 +236,7 @@ public void Switch( } /// - /// + /// /// public override int GetHashCode() { @@ -257,18 +257,18 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null } /// - /// + /// /// public bool Equals(OneOf other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) ; } /// - /// + /// /// public static bool operator ==(OneOf obj1, OneOf obj2) { @@ -276,7 +276,7 @@ public bool Equals(OneOf other) } /// - /// + /// /// public static bool operator !=(OneOf obj1, OneOf obj2) { @@ -284,7 +284,7 @@ public bool Equals(OneOf other) } /// - /// + /// /// public override bool Equals(object? obj) { diff --git a/src/libs/DashScope/Generated/DashScope.OneOf.3.g.cs b/src/libs/DashScope/Generated/DashScope.OneOf.3.g.cs index 3006799..6259fbf 100644 --- a/src/libs/DashScope/Generated/DashScope.OneOf.3.g.cs +++ b/src/libs/DashScope/Generated/DashScope.OneOf.3.g.cs @@ -4,12 +4,12 @@ namespace DashScope { /// - /// + /// /// public readonly partial struct OneOf : global::System.IEquatable> { /// - /// + /// /// #if NET6_0_OR_GREATER public T1? Value1 { get; init; } @@ -18,7 +18,7 @@ namespace DashScope #endif /// - /// + /// /// #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] @@ -26,7 +26,7 @@ namespace DashScope public bool IsValue1 => Value1 != null; /// - /// + /// /// public bool TryPickValue1( #if NET6_0_OR_GREATER @@ -39,14 +39,14 @@ public bool TryPickValue1( } /// - /// + /// /// public T1 PickValue1() => IsValue1 ? Value1! : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); /// - /// + /// /// #if NET6_0_OR_GREATER public T2? Value2 { get; init; } @@ -55,7 +55,7 @@ public T1 PickValue1() => IsValue1 #endif /// - /// + /// /// #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] @@ -63,7 +63,7 @@ public T1 PickValue1() => IsValue1 public bool IsValue2 => Value2 != null; /// - /// + /// /// public bool TryPickValue2( #if NET6_0_OR_GREATER @@ -76,14 +76,14 @@ public bool TryPickValue2( } /// - /// + /// /// public T2 PickValue2() => IsValue2 ? Value2! : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); /// - /// + /// /// #if NET6_0_OR_GREATER public T3? Value3 { get; init; } @@ -92,7 +92,7 @@ public T2 PickValue2() => IsValue2 #endif /// - /// + /// /// #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value3))] @@ -100,7 +100,7 @@ public T2 PickValue2() => IsValue2 public bool IsValue3 => Value3 != null; /// - /// + /// /// public bool TryPickValue3( #if NET6_0_OR_GREATER @@ -113,23 +113,23 @@ public bool TryPickValue3( } /// - /// + /// /// public T3 PickValue3() => IsValue3 ? Value3! : throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}."); /// - /// + /// /// public static implicit operator OneOf(T1 value) => new OneOf((T1?)value); /// - /// + /// /// public static implicit operator T1?(OneOf @this) => @this.Value1; /// - /// + /// /// public OneOf(T1? value) { @@ -137,22 +137,22 @@ public OneOf(T1? value) } /// - /// + /// /// public static OneOf FromValue1(T1? value) => new OneOf(value); /// - /// + /// /// public static implicit operator OneOf(T2 value) => new OneOf((T2?)value); /// - /// + /// /// public static implicit operator T2?(OneOf @this) => @this.Value2; /// - /// + /// /// public OneOf(T2? value) { @@ -160,22 +160,22 @@ public OneOf(T2? value) } /// - /// + /// /// public static OneOf FromValue2(T2? value) => new OneOf(value); /// - /// + /// /// public static implicit operator OneOf(T3 value) => new OneOf((T3?)value); /// - /// + /// /// public static implicit operator T3?(OneOf @this) => @this.Value3; /// - /// + /// /// public OneOf(T3? value) { @@ -183,12 +183,12 @@ public OneOf(T3? value) } /// - /// + /// /// public static OneOf FromValue3(T3? value) => new OneOf(value); /// - /// + /// /// public OneOf( T1? value1, @@ -202,25 +202,25 @@ public OneOf( } /// - /// + /// /// public object? Object => Value3 as object ?? Value2 as object ?? - Value1 as object + Value1 as object ; /// - /// + /// /// public override string? ToString() => Value1?.ToString() ?? Value2?.ToString() ?? - Value3?.ToString() + Value3?.ToString() ; /// - /// + /// /// public bool Validate() { @@ -228,7 +228,7 @@ public bool Validate() } /// - /// + /// /// public TResult? Match( global::System.Func? value1 = null, @@ -258,7 +258,7 @@ public bool Validate() } /// - /// + /// /// public void Match( global::System.Action? value1 = null, @@ -288,7 +288,7 @@ public void Match( } /// - /// + /// /// public void Switch( global::System.Action? value1 = null, @@ -316,7 +316,7 @@ public void Switch( } /// - /// + /// /// public override int GetHashCode() { @@ -339,19 +339,19 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null } /// - /// + /// /// public bool Equals(OneOf other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) ; } /// - /// + /// /// public static bool operator ==(OneOf obj1, OneOf obj2) { @@ -359,7 +359,7 @@ public bool Equals(OneOf other) } /// - /// + /// /// public static bool operator !=(OneOf obj1, OneOf obj2) { @@ -367,7 +367,7 @@ public bool Equals(OneOf other) } /// - /// + /// /// public override bool Equals(object? obj) { diff --git a/src/libs/DashScope/Generated/DashScope.PathBuilder.g.cs b/src/libs/DashScope/Generated/DashScope.PathBuilder.g.cs index 94bf691..fe868e1 100644 --- a/src/libs/DashScope/Generated/DashScope.PathBuilder.g.cs +++ b/src/libs/DashScope/Generated/DashScope.PathBuilder.g.cs @@ -266,32 +266,32 @@ public PathBuilder AddRawQueryString( } /// - /// + /// /// public class EndPointAuthorization { /// - /// + /// /// public string Type { get; set; } = string.Empty; /// - /// + /// /// public string SchemeId { get; set; } = string.Empty; /// - /// + /// /// public string Location { get; set; } = string.Empty; /// - /// + /// /// public string Name { get; set; } = string.Empty; /// - /// + /// /// public string Value { get; set; } = string.Empty; } diff --git a/src/libs/DashScope/Generated/DashScope.Polyfills.g.cs b/src/libs/DashScope/Generated/DashScope.Polyfills.g.cs index a615db9..1088fff 100644 --- a/src/libs/DashScope/Generated/DashScope.Polyfills.g.cs +++ b/src/libs/DashScope/Generated/DashScope.Polyfills.g.cs @@ -4,13 +4,13 @@ namespace DashScope { /// - /// + /// /// public static partial class AutoSdkPolyfills { #if !NET6_0_OR_GREATER /// - /// + /// /// /// /// @@ -23,7 +23,7 @@ public static partial class AutoSdkPolyfills return content.ReadAsStringAsync(); } /// - /// + /// /// /// /// @@ -36,7 +36,7 @@ public static partial class AutoSdkPolyfills return content.ReadAsStreamAsync(); } /// - /// + /// /// /// /// diff --git a/src/libs/DashScope/Generated/DashScope.TasksClient.GetTask.g.cs b/src/libs/DashScope/Generated/DashScope.TasksClient.GetTask.g.cs index adb147f..1d090b7 100644 --- a/src/libs/DashScope/Generated/DashScope.TasksClient.GetTask.g.cs +++ b/src/libs/DashScope/Generated/DashScope.TasksClient.GetTask.g.cs @@ -140,7 +140,7 @@ partial void ProcessGetTaskResponseContent( __authorization.Location == "Header") { __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } + } } if (xDashScopeWorkSpace != default) diff --git a/src/libs/DashScope/Generated/DashScope.TasksClient.g.cs b/src/libs/DashScope/Generated/DashScope.TasksClient.g.cs index d313f1e..4b01a98 100644 --- a/src/libs/DashScope/Generated/DashScope.TasksClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.TasksClient.g.cs @@ -37,7 +37,7 @@ public sealed partial class TasksClient : global::DashScope.ITasksClient, global internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DashScope.SourceGenerationContext.Default); /// - /// + /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { diff --git a/src/libs/DashScope/Generated/DashScope.VideosClient.CreateVideoGenerationTask.g.cs b/src/libs/DashScope/Generated/DashScope.VideosClient.CreateVideoGenerationTask.g.cs index 17717e4..9739c0c 100644 --- a/src/libs/DashScope/Generated/DashScope.VideosClient.CreateVideoGenerationTask.g.cs +++ b/src/libs/DashScope/Generated/DashScope.VideosClient.CreateVideoGenerationTask.g.cs @@ -155,7 +155,7 @@ partial void ProcessCreateVideoGenerationTaskResponseContent( __authorization.Location == "Header") { __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } + } } if (xDashScopeAsync != default) diff --git a/src/libs/DashScope/Generated/DashScope.VideosClient.g.cs b/src/libs/DashScope/Generated/DashScope.VideosClient.g.cs index 881d093..a79ff9d 100644 --- a/src/libs/DashScope/Generated/DashScope.VideosClient.g.cs +++ b/src/libs/DashScope/Generated/DashScope.VideosClient.g.cs @@ -37,7 +37,7 @@ public sealed partial class VideosClient : global::DashScope.IVideosClient, glob internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DashScope.SourceGenerationContext.Default); /// - /// + /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext {