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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/libs/DeepInfra/Generated/DeepInfra.Models.ModelMeta.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ public sealed partial class ModelMeta
[global::System.Text.Json.Serialization.JsonPropertyName("plan_id")]
public string? PlanId { get; set; }

/// <summary>
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("private")]
public bool? Private { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand All @@ -48,19 +54,24 @@ public sealed partial class ModelMeta
/// <param name="modelName"></param>
/// <param name="task"></param>
/// <param name="planId"></param>
/// <param name="private">
/// Default Value: false
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
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;
}

/// <summary>
Expand Down
4 changes: 4 additions & 0 deletions src/libs/DeepInfra/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4613,6 +4613,10 @@ components:
title: Plan Id
type: string
nullable: true
private:
title: Private
type: boolean
default: false
SuspendReason:
title: SuspendReason
enum:
Expand Down