Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
31 changes: 15 additions & 16 deletions src/libs/tryAGI.OpenAI/Generated/AllOf.2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,37 +28,36 @@ namespace tryAGI.OpenAI
/// <summary>
///
/// </summary>
public static implicit operator AllOf<T1, T2>(T1 value) => new AllOf<T1, T2>((T1?)value);
#if NET6_0_OR_GREATER
public T2? Value2 { get; init; }
#else
public T2? Value2 { get; }
#endif

/// <summary>
///
/// </summary>
public static implicit operator T1?(AllOf<T1, T2> @this) => @this.Value1;

#if NET6_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))]
#endif
public bool IsValue2 => Value2 != null;
/// <summary>
///
/// </summary>
public AllOf(T1? value)
{
Value1 = value;
}
public static implicit operator AllOf<T1, T2>(T1 value) => new AllOf<T1, T2>((T1?)value);

/// <summary>
///
/// </summary>
#if NET6_0_OR_GREATER
public T2? Value2 { get; init; }
#else
public T2? Value2 { get; }
#endif
public static implicit operator T1?(AllOf<T1, T2> @this) => @this.Value1;

/// <summary>
///
/// </summary>
#if NET6_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))]
#endif
public bool IsValue2 => Value2 != null;
public AllOf(T1? value)
{
Value1 = value;
}

/// <summary>
///
Expand Down
92 changes: 0 additions & 92 deletions src/libs/tryAGI.OpenAI/Generated/AnyOf.1.Json.g.cs

This file was deleted.

159 changes: 0 additions & 159 deletions src/libs/tryAGI.OpenAI/Generated/AnyOf.1.g.cs

This file was deleted.

31 changes: 15 additions & 16 deletions src/libs/tryAGI.OpenAI/Generated/AnyOf.2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,37 +28,36 @@ namespace tryAGI.OpenAI
/// <summary>
///
/// </summary>
public static implicit operator AnyOf<T1, T2>(T1 value) => new AnyOf<T1, T2>((T1?)value);
#if NET6_0_OR_GREATER
public T2? Value2 { get; init; }
#else
public T2? Value2 { get; }
#endif

/// <summary>
///
/// </summary>
public static implicit operator T1?(AnyOf<T1, T2> @this) => @this.Value1;

#if NET6_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))]
#endif
public bool IsValue2 => Value2 != null;
/// <summary>
///
/// </summary>
public AnyOf(T1? value)
{
Value1 = value;
}
public static implicit operator AnyOf<T1, T2>(T1 value) => new AnyOf<T1, T2>((T1?)value);

/// <summary>
///
/// </summary>
#if NET6_0_OR_GREATER
public T2? Value2 { get; init; }
#else
public T2? Value2 { get; }
#endif
public static implicit operator T1?(AnyOf<T1, T2> @this) => @this.Value1;

/// <summary>
///
/// </summary>
#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;
}

/// <summary>
///
Expand Down
Loading
Loading