diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.ITencentTokenHubClient.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.ITencentTokenHubClient.g.cs index 9929a2e..758123d 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.ITencentTokenHubClient.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.ITencentTokenHubClient.g.cs @@ -40,7 +40,7 @@ public partial interface ITencentTokenHubClient : global::System.IDisposable /// - /// + /// /// global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.JsonConverters.UnixTimestamp.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.JsonConverters.UnixTimestamp.g.cs index 67e46a4..fa2f4b2 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.JsonConverters.UnixTimestamp.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.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/TencentTokenHub/Generated/TencentTokenHub.JsonSerializerContext.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.JsonSerializerContext.g.cs index 9a33883..e7e2b55 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.JsonSerializerContext.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.JsonSerializerContext.g.cs @@ -7,7 +7,7 @@ namespace TencentTokenHub { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.JsonSerializerContextTypes.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.JsonSerializerContextTypes.g.cs index 8c6d60b..b258832 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.JsonSerializerContextTypes.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.JsonSerializerContextTypes.g.cs @@ -6,140 +6,140 @@ namespace TencentTokenHub { /// - /// + /// /// 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::TencentTokenHub.ChatCompletionRequest? Type0 { get; set; } /// - /// + /// /// public string? Type1 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type2 { get; set; } /// - /// + /// /// public global::TencentTokenHub.Message? Type3 { get; set; } /// - /// + /// /// public bool? Type4 { get; set; } /// - /// + /// /// public int? Type5 { get; set; } /// - /// + /// /// public float? Type6 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type7 { get; set; } /// - /// + /// /// public global::TencentTokenHub.Tool? Type8 { get; set; } /// - /// + /// /// public global::TencentTokenHub.ResponseFormat? Type9 { get; set; } /// - /// + /// /// public global::TencentTokenHub.OneOf>? Type10 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type11 { get; set; } /// - /// + /// /// public global::TencentTokenHub.ContentPart? Type12 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type13 { get; set; } /// - /// + /// /// public global::TencentTokenHub.ToolCall? Type14 { get; set; } /// - /// + /// /// public object? Type15 { get; set; } /// - /// + /// /// public global::TencentTokenHub.FunctionDefinition? Type16 { get; set; } /// - /// + /// /// public global::TencentTokenHub.FunctionCall? Type17 { get; set; } /// - /// + /// /// public global::TencentTokenHub.ChatCompletionResponse? Type18 { get; set; } /// - /// + /// /// public long? Type19 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.IList? Type20 { get; set; } /// - /// + /// /// public global::TencentTokenHub.Choice? Type21 { get; set; } /// - /// + /// /// public global::TencentTokenHub.Usage? Type22 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType0 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType1 { get; set; } /// - /// + /// /// public global::TencentTokenHub.OneOf>? ListType2 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType3 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType4 { get; set; } /// - /// + /// /// public global::System.Collections.Generic.List? ListType5 { get; set; } } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ChatCompletionRequest.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ChatCompletionRequest.g.cs index 1caca6e..6a23806 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ChatCompletionRequest.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ChatCompletionRequest.g.cs @@ -4,62 +4,62 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class ChatCompletionRequest { /// - /// + /// /// [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("messages")] [global::System.Text.Json.Serialization.JsonRequired] public required global::System.Collections.Generic.IList Messages { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("stream")] public bool? Stream { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("max_tokens")] public int? MaxTokens { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("temperature")] public float? Temperature { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("top_p")] public float? TopP { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("tools")] public global::System.Collections.Generic.IList? Tools { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("tool_choice")] public string? ToolChoice { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("response_format")] public global::TencentTokenHub.ResponseFormat? ResponseFormat { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ChatCompletionResponse.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ChatCompletionResponse.g.cs index 97f9351..3b6b26b 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ChatCompletionResponse.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ChatCompletionResponse.g.cs @@ -4,42 +4,42 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class ChatCompletionResponse { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] public string? Id { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("object")] public string? Object { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("created")] public long? Created { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("model")] public string? Model { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("choices")] public global::System.Collections.Generic.IList? Choices { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("usage")] public global::TencentTokenHub.Usage? Usage { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Choice.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Choice.g.cs index 68cb5c8..112c124 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Choice.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Choice.g.cs @@ -4,30 +4,30 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class Choice { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] public int? Index { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("message")] public global::TencentTokenHub.Message? Message { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("delta")] public global::TencentTokenHub.Message? Delta { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("finish_reason")] public string? FinishReason { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPart.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPart.g.cs index 6f9b2d2..b93a8ac 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPart.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPart.g.cs @@ -4,30 +4,30 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class ContentPart { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] public string? Type { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("text")] public string? Text { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("image_url")] public object? ImageUrl { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("file")] public object? File { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPartFile.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPartFile.g.cs index 3d51043..9ee28bb 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPartFile.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPartFile.g.cs @@ -4,7 +4,7 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class ContentPartFile { diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPartImageUrl.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPartImageUrl.g.cs index 8cedbe9..ed0519b 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPartImageUrl.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ContentPartImageUrl.g.cs @@ -4,7 +4,7 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class ContentPartImageUrl { diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionCall.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionCall.g.cs index 795b57b..65f4d90 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionCall.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionCall.g.cs @@ -4,18 +4,18 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class FunctionCall { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] public string? Name { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("arguments")] public string? Arguments { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionDefinition.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionDefinition.g.cs index 9bf2171..33f0f20 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionDefinition.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionDefinition.g.cs @@ -4,24 +4,24 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class FunctionDefinition { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] public string? Name { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("parameters")] public object? Parameters { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionDefinitionParameters.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionDefinitionParameters.g.cs index 243f770..06b1746 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionDefinitionParameters.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.FunctionDefinitionParameters.g.cs @@ -4,7 +4,7 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class FunctionDefinitionParameters { diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Message.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Message.g.cs index 5680a02..6d18d73 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Message.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Message.g.cs @@ -4,32 +4,32 @@ namespace TencentTokenHub { /// - /// + /// /// 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::TencentTokenHub.JsonConverters.OneOfJsonConverter>))] public global::TencentTokenHub.OneOf>? Content { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("tool_call_id")] public string? ToolCallId { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("tool_calls")] public global::System.Collections.Generic.IList? ToolCalls { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ResponseFormat.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ResponseFormat.g.cs index 743cdb0..04762a0 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ResponseFormat.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ResponseFormat.g.cs @@ -4,12 +4,12 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class ResponseFormat { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] public string? Type { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Tool.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Tool.g.cs index 78c99c3..d99171d 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Tool.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Tool.g.cs @@ -4,18 +4,18 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class Tool { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] public string? Type { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("function")] public global::TencentTokenHub.FunctionDefinition? Function { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ToolCall.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ToolCall.g.cs index 0c493c9..d510284 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ToolCall.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.ToolCall.g.cs @@ -4,24 +4,24 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class ToolCall { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("id")] public string? Id { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] public string? Type { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("function")] public global::TencentTokenHub.FunctionCall? Function { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Usage.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Usage.g.cs index b3f821a..aba853f 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Usage.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.Usage.g.cs @@ -4,36 +4,36 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class Usage { /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("prompt_tokens")] public int? PromptTokens { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("completion_tokens")] public int? CompletionTokens { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("total_tokens")] public int? TotalTokens { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("prompt_tokens_details")] public object? PromptTokensDetails { get; set; } /// - /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("completion_tokens_details")] public object? CompletionTokensDetails { get; set; } diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.UsageCompletionTokensDetails.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.UsageCompletionTokensDetails.g.cs index 84a91ba..4e6dd67 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.UsageCompletionTokensDetails.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.UsageCompletionTokensDetails.g.cs @@ -4,7 +4,7 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class UsageCompletionTokensDetails { diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.UsagePromptTokensDetails.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.UsagePromptTokensDetails.g.cs index f1c5dbd..eebe1f8 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.UsagePromptTokensDetails.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Models.UsagePromptTokensDetails.g.cs @@ -4,7 +4,7 @@ namespace TencentTokenHub { /// - /// + /// /// public sealed partial class UsagePromptTokensDetails { diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.OneOf.2.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.OneOf.2.g.cs index c066a50..5d3606f 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.OneOf.2.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.OneOf.2.g.cs @@ -4,12 +4,12 @@ namespace TencentTokenHub { /// - /// + /// /// public readonly partial struct OneOf : global::System.IEquatable> { /// - /// + /// /// #if NET6_0_OR_GREATER public T1? Value1 { get; init; } @@ -18,7 +18,7 @@ namespace TencentTokenHub #endif /// - /// + /// /// #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] @@ -26,7 +26,7 @@ namespace TencentTokenHub 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/TencentTokenHub/Generated/TencentTokenHub.PathBuilder.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.PathBuilder.g.cs index 85b5c7a..674c0ed 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.PathBuilder.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.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/TencentTokenHub/Generated/TencentTokenHub.Polyfills.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Polyfills.g.cs index 8534b0b..2969e4d 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.Polyfills.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.Polyfills.g.cs @@ -4,13 +4,13 @@ namespace TencentTokenHub { /// - /// + /// /// 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/TencentTokenHub/Generated/TencentTokenHub.TencentTokenHubClient.CreateChatCompletion.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.TencentTokenHubClient.CreateChatCompletion.g.cs index f714e48..3e31177 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.TencentTokenHubClient.CreateChatCompletion.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.TencentTokenHubClient.CreateChatCompletion.g.cs @@ -137,7 +137,7 @@ partial void ProcessCreateChatCompletionResponseContent( __authorization.Location == "Header") { __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } + } } var __httpRequestContentBody = request.ToJson(JsonSerializerContext); var __httpRequestContent = new global::System.Net.Http.StringContent( diff --git a/src/libs/TencentTokenHub/Generated/TencentTokenHub.TencentTokenHubClient.g.cs b/src/libs/TencentTokenHub/Generated/TencentTokenHub.TencentTokenHubClient.g.cs index ea09cff..6863545 100644 --- a/src/libs/TencentTokenHub/Generated/TencentTokenHub.TencentTokenHubClient.g.cs +++ b/src/libs/TencentTokenHub/Generated/TencentTokenHub.TencentTokenHubClient.g.cs @@ -38,7 +38,7 @@ public sealed partial class TencentTokenHubClient : global::TencentTokenHub.ITen internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::TencentTokenHub.SourceGenerationContext.Default); /// - /// + /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext {