From 5d38cd2934c2e5743a339d864516d54c0e9cba8a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 21 Jan 2026 16:52:04 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/HuggingFace/Generated/AnyOf.2.g.cs | 31 ++++++++++----------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/libs/HuggingFace/Generated/AnyOf.2.g.cs b/src/libs/HuggingFace/Generated/AnyOf.2.g.cs index edd6db8..8129fd6 100644 --- a/src/libs/HuggingFace/Generated/AnyOf.2.g.cs +++ b/src/libs/HuggingFace/Generated/AnyOf.2.g.cs @@ -28,37 +28,36 @@ namespace HuggingFace /// /// /// - public static implicit operator AnyOf(T1 value) => new AnyOf((T1?)value); +#if NET6_0_OR_GREATER + public T2? Value2 { get; init; } +#else + public T2? Value2 { get; } +#endif /// /// /// - public static implicit operator T1?(AnyOf @this) => @this.Value1; - +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] +#endif + public bool IsValue2 => Value2 != null; /// /// /// - public AnyOf(T1? value) - { - Value1 = value; - } + public static implicit operator AnyOf(T1 value) => new AnyOf((T1?)value); /// /// /// -#if NET6_0_OR_GREATER - public T2? Value2 { get; init; } -#else - public T2? Value2 { get; } -#endif + public static implicit operator T1?(AnyOf @this) => @this.Value1; /// /// /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] -#endif - public bool IsValue2 => Value2 != null; + public AnyOf(T1? value) + { + Value1 = value; + } /// ///