diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfig.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfig.g.cs
index fd4f86f..e03294f 100644
--- a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfig.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfig.g.cs
@@ -28,6 +28,30 @@ public sealed partial class FreeformAnnotationConfig
[global::System.Text.Json.Serialization.JsonPropertyName("description")]
public string? Description { get; set; }
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("optimization_direction")]
+ public global::Phoenix.OptimizationDirection? OptimizationDirection { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("threshold")]
+ public double? Threshold { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("lower_bound")]
+ public double? LowerBound { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("upper_bound")]
+ public double? UpperBound { get; set; }
+
///
///
///
@@ -47,6 +71,10 @@ public sealed partial class FreeformAnnotationConfig
///
///
///
+ ///
+ ///
+ ///
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -55,11 +83,19 @@ public FreeformAnnotationConfig(
string name,
string id,
string? description,
+ global::Phoenix.OptimizationDirection? optimizationDirection,
+ double? threshold,
+ double? lowerBound,
+ double? upperBound,
string type = "FREEFORM")
{
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Type = type;
this.Description = description;
+ this.OptimizationDirection = optimizationDirection;
+ this.Threshold = threshold;
+ this.LowerBound = lowerBound;
+ this.UpperBound = upperBound;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
}
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigData.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigData.g.cs
index 1f209ed..51f1e60 100644
--- a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigData.g.cs
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigData.g.cs
@@ -28,6 +28,30 @@ public sealed partial class FreeformAnnotationConfigData
[global::System.Text.Json.Serialization.JsonPropertyName("description")]
public string? Description { get; set; }
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("optimization_direction")]
+ public global::Phoenix.OptimizationDirection? OptimizationDirection { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("threshold")]
+ public double? Threshold { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("lower_bound")]
+ public double? LowerBound { get; set; }
+
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("upper_bound")]
+ public double? UpperBound { get; set; }
+
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -39,6 +63,10 @@ public sealed partial class FreeformAnnotationConfigData
///
///
///
+ ///
+ ///
+ ///
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -46,11 +74,19 @@ public sealed partial class FreeformAnnotationConfigData
public FreeformAnnotationConfigData(
string name,
string? description,
+ global::Phoenix.OptimizationDirection? optimizationDirection,
+ double? threshold,
+ double? lowerBound,
+ double? upperBound,
string type = "FREEFORM")
{
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Type = type;
this.Description = description;
+ this.OptimizationDirection = optimizationDirection;
+ this.Threshold = threshold;
+ this.LowerBound = lowerBound;
+ this.UpperBound = upperBound;
}
///
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataLowerBound.Json.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataLowerBound.Json.g.cs
new file mode 100644
index 0000000..abcb82e
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataLowerBound.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Phoenix
+{
+ public sealed partial class FreeformAnnotationConfigDataLowerBound
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Phoenix.FreeformAnnotationConfigDataLowerBound? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Phoenix.FreeformAnnotationConfigDataLowerBound),
+ jsonSerializerContext) as global::Phoenix.FreeformAnnotationConfigDataLowerBound;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Phoenix.FreeformAnnotationConfigDataLowerBound? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Phoenix.FreeformAnnotationConfigDataLowerBound),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Phoenix.FreeformAnnotationConfigDataLowerBound;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataLowerBound.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataLowerBound.g.cs
new file mode 100644
index 0000000..1256caa
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataLowerBound.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Phoenix
+{
+ ///
+ ///
+ ///
+ public sealed partial class FreeformAnnotationConfigDataLowerBound
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataOptimizationDirection.Json.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataOptimizationDirection.Json.g.cs
new file mode 100644
index 0000000..72dd918
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataOptimizationDirection.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Phoenix
+{
+ public sealed partial class FreeformAnnotationConfigDataOptimizationDirection
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Phoenix.FreeformAnnotationConfigDataOptimizationDirection? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Phoenix.FreeformAnnotationConfigDataOptimizationDirection),
+ jsonSerializerContext) as global::Phoenix.FreeformAnnotationConfigDataOptimizationDirection;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Phoenix.FreeformAnnotationConfigDataOptimizationDirection? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Phoenix.FreeformAnnotationConfigDataOptimizationDirection),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Phoenix.FreeformAnnotationConfigDataOptimizationDirection;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataOptimizationDirection.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataOptimizationDirection.g.cs
new file mode 100644
index 0000000..5b36c1a
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataOptimizationDirection.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Phoenix
+{
+ ///
+ ///
+ ///
+ public sealed partial class FreeformAnnotationConfigDataOptimizationDirection
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataThreshold.Json.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataThreshold.Json.g.cs
new file mode 100644
index 0000000..bac46ba
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataThreshold.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Phoenix
+{
+ public sealed partial class FreeformAnnotationConfigDataThreshold
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Phoenix.FreeformAnnotationConfigDataThreshold? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Phoenix.FreeformAnnotationConfigDataThreshold),
+ jsonSerializerContext) as global::Phoenix.FreeformAnnotationConfigDataThreshold;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Phoenix.FreeformAnnotationConfigDataThreshold? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Phoenix.FreeformAnnotationConfigDataThreshold),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Phoenix.FreeformAnnotationConfigDataThreshold;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataThreshold.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataThreshold.g.cs
new file mode 100644
index 0000000..bc4acb1
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataThreshold.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Phoenix
+{
+ ///
+ ///
+ ///
+ public sealed partial class FreeformAnnotationConfigDataThreshold
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataUpperBound.Json.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataUpperBound.Json.g.cs
new file mode 100644
index 0000000..cd77bd9
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataUpperBound.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Phoenix
+{
+ public sealed partial class FreeformAnnotationConfigDataUpperBound
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Phoenix.FreeformAnnotationConfigDataUpperBound? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Phoenix.FreeformAnnotationConfigDataUpperBound),
+ jsonSerializerContext) as global::Phoenix.FreeformAnnotationConfigDataUpperBound;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Phoenix.FreeformAnnotationConfigDataUpperBound? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Phoenix.FreeformAnnotationConfigDataUpperBound),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Phoenix.FreeformAnnotationConfigDataUpperBound;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataUpperBound.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataUpperBound.g.cs
new file mode 100644
index 0000000..8edd822
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigDataUpperBound.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Phoenix
+{
+ ///
+ ///
+ ///
+ public sealed partial class FreeformAnnotationConfigDataUpperBound
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigLowerBound.Json.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigLowerBound.Json.g.cs
new file mode 100644
index 0000000..281638e
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigLowerBound.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Phoenix
+{
+ public sealed partial class FreeformAnnotationConfigLowerBound
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Phoenix.FreeformAnnotationConfigLowerBound? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Phoenix.FreeformAnnotationConfigLowerBound),
+ jsonSerializerContext) as global::Phoenix.FreeformAnnotationConfigLowerBound;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Phoenix.FreeformAnnotationConfigLowerBound? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Phoenix.FreeformAnnotationConfigLowerBound),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Phoenix.FreeformAnnotationConfigLowerBound;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigLowerBound.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigLowerBound.g.cs
new file mode 100644
index 0000000..5589e8a
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigLowerBound.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Phoenix
+{
+ ///
+ ///
+ ///
+ public sealed partial class FreeformAnnotationConfigLowerBound
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigOptimizationDirection.Json.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigOptimizationDirection.Json.g.cs
new file mode 100644
index 0000000..925dd27
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigOptimizationDirection.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Phoenix
+{
+ public sealed partial class FreeformAnnotationConfigOptimizationDirection
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Phoenix.FreeformAnnotationConfigOptimizationDirection? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Phoenix.FreeformAnnotationConfigOptimizationDirection),
+ jsonSerializerContext) as global::Phoenix.FreeformAnnotationConfigOptimizationDirection;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Phoenix.FreeformAnnotationConfigOptimizationDirection? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Phoenix.FreeformAnnotationConfigOptimizationDirection),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Phoenix.FreeformAnnotationConfigOptimizationDirection;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigOptimizationDirection.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigOptimizationDirection.g.cs
new file mode 100644
index 0000000..5fb411e
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigOptimizationDirection.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Phoenix
+{
+ ///
+ ///
+ ///
+ public sealed partial class FreeformAnnotationConfigOptimizationDirection
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigThreshold.Json.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigThreshold.Json.g.cs
new file mode 100644
index 0000000..65a8d8e
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigThreshold.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Phoenix
+{
+ public sealed partial class FreeformAnnotationConfigThreshold
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Phoenix.FreeformAnnotationConfigThreshold? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Phoenix.FreeformAnnotationConfigThreshold),
+ jsonSerializerContext) as global::Phoenix.FreeformAnnotationConfigThreshold;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Phoenix.FreeformAnnotationConfigThreshold? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Phoenix.FreeformAnnotationConfigThreshold),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Phoenix.FreeformAnnotationConfigThreshold;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigThreshold.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigThreshold.g.cs
new file mode 100644
index 0000000..c963590
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigThreshold.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Phoenix
+{
+ ///
+ ///
+ ///
+ public sealed partial class FreeformAnnotationConfigThreshold
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigUpperBound.Json.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigUpperBound.Json.g.cs
new file mode 100644
index 0000000..67010b8
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigUpperBound.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace Phoenix
+{
+ public sealed partial class FreeformAnnotationConfigUpperBound
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Phoenix.FreeformAnnotationConfigUpperBound? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Phoenix.FreeformAnnotationConfigUpperBound),
+ jsonSerializerContext) as global::Phoenix.FreeformAnnotationConfigUpperBound;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Phoenix.FreeformAnnotationConfigUpperBound? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Phoenix.FreeformAnnotationConfigUpperBound),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Phoenix.FreeformAnnotationConfigUpperBound;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigUpperBound.g.cs b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigUpperBound.g.cs
new file mode 100644
index 0000000..1a436b1
--- /dev/null
+++ b/src/libs/Phoenix/Generated/Phoenix.Models.FreeformAnnotationConfigUpperBound.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace Phoenix
+{
+ ///
+ ///
+ ///
+ public sealed partial class FreeformAnnotationConfigUpperBound
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Phoenix/openapi.json b/src/libs/Phoenix/openapi.json
index d29eef4..c29cf5e 100644
--- a/src/libs/Phoenix/openapi.json
+++ b/src/libs/Phoenix/openapi.json
@@ -9127,6 +9127,49 @@
],
"title": "Description"
},
+ "optimization_direction": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/OptimizationDirection"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "threshold": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Threshold"
+ },
+ "lower_bound": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Lower Bound"
+ },
+ "upper_bound": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Upper Bound"
+ },
"id": {
"type": "string",
"title": "Id"
@@ -9161,6 +9204,49 @@
}
],
"title": "Description"
+ },
+ "optimization_direction": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/OptimizationDirection"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "threshold": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Threshold"
+ },
+ "lower_bound": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Lower Bound"
+ },
+ "upper_bound": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Upper Bound"
}
},
"type": "object",