From d782284c134b03c631446813156bcee0f9671ad2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 18 Sep 2025 15:19:25 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/DeepInfra.Models.ModelMeta.g.cs | 13 ++++++++++++- src/libs/DeepInfra/openapi.yaml | 4 ++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelMeta.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelMeta.g.cs index 68f25ce..1270252 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelMeta.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.ModelMeta.g.cs @@ -35,6 +35,12 @@ public sealed partial class ModelMeta [global::System.Text.Json.Serialization.JsonPropertyName("plan_id")] public string? PlanId { get; set; } + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("private")] + public bool? Private { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -48,6 +54,9 @@ public sealed partial class ModelMeta /// /// /// + /// + /// Default Value: false + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,12 +64,14 @@ public ModelMeta( string provider, string modelName, string task, - string? planId) + string? planId, + bool? @private) { this.Provider = provider ?? throw new global::System.ArgumentNullException(nameof(provider)); this.ModelName = modelName ?? throw new global::System.ArgumentNullException(nameof(modelName)); this.Task = task ?? throw new global::System.ArgumentNullException(nameof(task)); this.PlanId = planId; + this.Private = @private; } /// diff --git a/src/libs/DeepInfra/openapi.yaml b/src/libs/DeepInfra/openapi.yaml index 3b492d8..838118c 100644 --- a/src/libs/DeepInfra/openapi.yaml +++ b/src/libs/DeepInfra/openapi.yaml @@ -4613,6 +4613,10 @@ components: title: Plan Id type: string nullable: true + private: + title: Private + type: boolean + default: false SuspendReason: title: SuspendReason enum: