From 44aeab92958cc633516a4985e9814e7849821963 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 20 Oct 2026 23:44:31 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...yModelIdEnvironmentsCommandApiCommand.g.cs | 4 +- ...nvironmentsByEnvNameCommandApiCommand.g.cs | 4 +- ...dateModelPromotionSettingsV1OptionSet.g.cs | 28 + ...ent.CreateModelsByModelIdEnvironments.g.cs | 10 +- ...tModelsByModelIdEnvironmentsByEnvName.g.cs | 14 +- ...ent.CreateModelsByModelIdEnvironments.g.cs | 10 +- ...tModelsByModelIdEnvironmentsByEnvName.g.cs | 14 +- .../Baseten.JsonSerializerContext.g.cs | 12 +- .../Baseten.JsonSerializerContextTypes.g.cs | 1046 +++++++++-------- ...ten.Models.CreateEnvironmentRequestV1.g.cs | 4 +- .../Baseten.Models.EnvironmentV1.g.cs | 4 +- ....Models.ModelPromotionSettingsV1.Json.g.cs | 141 +++ ...seten.Models.ModelPromotionSettingsV1.g.cs | 105 ++ ...ten.Models.UpdateEnvironmentRequestV1.g.cs | 4 +- ...s.UpdateModelPromotionSettingsV1.Json.g.cs | 141 +++ ...Models.UpdateModelPromotionSettingsV1.g.cs | 105 ++ src/libs/Baseten/openapi.yaml | 338 ++++-- 17 files changed, 1351 insertions(+), 633 deletions(-) create mode 100644 src/cli/Baseten.CLI/Commands/UpdateModelPromotionSettingsV1OptionSet.g.cs create mode 100644 src/libs/Baseten/Generated/Baseten.Models.ModelPromotionSettingsV1.Json.g.cs create mode 100644 src/libs/Baseten/Generated/Baseten.Models.ModelPromotionSettingsV1.g.cs create mode 100644 src/libs/Baseten/Generated/Baseten.Models.UpdateModelPromotionSettingsV1.Json.g.cs create mode 100644 src/libs/Baseten/Generated/Baseten.Models.UpdateModelPromotionSettingsV1.g.cs diff --git a/src/cli/Baseten.CLI/Commands/CreateModelsByModelIdEnvironmentsCommandApiCommand.g.cs b/src/cli/Baseten.CLI/Commands/CreateModelsByModelIdEnvironmentsCommandApiCommand.g.cs index 8086200c..e1288750 100644 --- a/src/cli/Baseten.CLI/Commands/CreateModelsByModelIdEnvironmentsCommandApiCommand.g.cs +++ b/src/cli/Baseten.CLI/Commands/CreateModelsByModelIdEnvironmentsCommandApiCommand.g.cs @@ -27,7 +27,7 @@ internal static partial class CreateModelsByModelIdEnvironmentsCommandApiCommand }; private static readonly UpdateAutoscalingSettingsV1OptionSet AutoscalingSettingsOptions = UpdateAutoscalingSettingsV1OptionSet.Create(@"autoscaling-settings"); - private static readonly UpdatePromotionSettingsV1OptionSet PromotionSettingsOptions = UpdatePromotionSettingsV1OptionSet.Create(@"promotion-settings"); + private static readonly UpdateModelPromotionSettingsV1OptionSet PromotionSettingsOptions = UpdateModelPromotionSettingsV1OptionSet.Create(@"promotion-settings"); private static Option Input { get; } = new(@"--input") { Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", @@ -145,7 +145,7 @@ await CliRuntime.RunAsync(async () => var __PromotionSettingsSpecified = CliRuntime.WasSpecified(parseResult, PromotionSettingsOptions.RedeployOnPromotion) || CliRuntime.WasSpecified(parseResult, PromotionSettingsOptions.RollingDeploy) || CliRuntime.WasSpecified(parseResult, PromotionSettingsOptions.RampUpWhilePromoting) || CliRuntime.WasSpecified(parseResult, PromotionSettingsOptions.RampUpDurationSeconds); var promotionSettings = __PromotionSettingsSpecified || __PromotionSettingsBase is not null - ? new global::Baseten.UpdatePromotionSettingsV1 + ? new global::Baseten.UpdateModelPromotionSettingsV1 { RedeployOnPromotion = promotionSettingsRedeployOnPromotion, RollingDeploy = promotionSettingsRollingDeploy, diff --git a/src/cli/Baseten.CLI/Commands/EditModelsByModelIdEnvironmentsByEnvNameCommandApiCommand.g.cs b/src/cli/Baseten.CLI/Commands/EditModelsByModelIdEnvironmentsByEnvNameCommandApiCommand.g.cs index 6f7114af..0b0f7acf 100644 --- a/src/cli/Baseten.CLI/Commands/EditModelsByModelIdEnvironmentsByEnvNameCommandApiCommand.g.cs +++ b/src/cli/Baseten.CLI/Commands/EditModelsByModelIdEnvironmentsByEnvNameCommandApiCommand.g.cs @@ -32,7 +32,7 @@ internal static partial class EditModelsByModelIdEnvironmentsByEnvNameCommandApi }; private static readonly UpdateAutoscalingSettingsV1OptionSet AutoscalingSettingsOptions = UpdateAutoscalingSettingsV1OptionSet.Create(@"autoscaling-settings"); - private static readonly UpdatePromotionSettingsV1OptionSet PromotionSettingsOptions = UpdatePromotionSettingsV1OptionSet.Create(@"promotion-settings"); + private static readonly UpdateModelPromotionSettingsV1OptionSet PromotionSettingsOptions = UpdateModelPromotionSettingsV1OptionSet.Create(@"promotion-settings"); private static Option Input { get; } = new(@"--input") { Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", @@ -152,7 +152,7 @@ await CliRuntime.RunAsync(async () => var __PromotionSettingsSpecified = CliRuntime.WasSpecified(parseResult, PromotionSettingsOptions.RedeployOnPromotion) || CliRuntime.WasSpecified(parseResult, PromotionSettingsOptions.RollingDeploy) || CliRuntime.WasSpecified(parseResult, PromotionSettingsOptions.RampUpWhilePromoting) || CliRuntime.WasSpecified(parseResult, PromotionSettingsOptions.RampUpDurationSeconds); var promotionSettings = __PromotionSettingsSpecified || __PromotionSettingsBase is not null - ? new global::Baseten.UpdatePromotionSettingsV1 + ? new global::Baseten.UpdateModelPromotionSettingsV1 { RedeployOnPromotion = promotionSettingsRedeployOnPromotion, RollingDeploy = promotionSettingsRollingDeploy, diff --git a/src/cli/Baseten.CLI/Commands/UpdateModelPromotionSettingsV1OptionSet.g.cs b/src/cli/Baseten.CLI/Commands/UpdateModelPromotionSettingsV1OptionSet.g.cs new file mode 100644 index 00000000..035c1e1b --- /dev/null +++ b/src/cli/Baseten.CLI/Commands/UpdateModelPromotionSettingsV1OptionSet.g.cs @@ -0,0 +1,28 @@ +#nullable enable + +using System.CommandLine; + +namespace Baseten.CLI.Commands; + +internal sealed record UpdateModelPromotionSettingsV1OptionSet( + Option RedeployOnPromotion, + Option RollingDeploy, + Option RampUpWhilePromoting, + Option RampUpDurationSeconds) +{ + public static UpdateModelPromotionSettingsV1OptionSet Create(string? prefix = null) + { + var normalizedPrefix = string.IsNullOrWhiteSpace(prefix) + ? string.Empty + : prefix.Trim().Trim('-') + "-"; + return new UpdateModelPromotionSettingsV1OptionSet( + RedeployOnPromotion: CliRuntime.CreateNullableBoolOption(name: $"--{normalizedPrefix}redeploy-on-promotion", description: @"Whether to deploy on all promotions. Enabling this flag allows model code to safely handle environment-specific logic. When a deployment is promoted, a new deployment will be created with a copy of the image."), + RollingDeploy: CliRuntime.CreateNullableBoolOption(name: $"--{normalizedPrefix}rolling-deploy", description: @"Whether the environment should rely on rolling deploy orchestration."), + RampUpWhilePromoting: CliRuntime.CreateNullableBoolOption(name: $"--{normalizedPrefix}ramp-up-while-promoting", description: @"Deprecated: models don't support canary promotions, and `true` is rejected. Use `rolling_deploy`."), + RampUpDurationSeconds: new Option($"--{normalizedPrefix}ramp-up-duration-seconds") + { + Description = @"Deprecated: models don't support canary promotions.", + } + ); + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateModelsByModelIdEnvironments.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateModelsByModelIdEnvironments.g.cs index bc2736a6..2e191d85 100644 --- a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateModelsByModelIdEnvironments.g.cs +++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateModelsByModelIdEnvironments.g.cs @@ -70,8 +70,8 @@ partial void ProcessCreateModelsByModelIdEnvironmentsResponseContent( /// },
/// "promotion_settings": {
/// "promotion_cleanup_strategy": null,
- /// "ramp_up_duration_seconds": 600,
- /// "ramp_up_while_promoting": true,
+ /// "ramp_up_duration_seconds": null,
+ /// "ramp_up_while_promoting": null,
/// "redeploy_on_promotion": true,
/// "rolling_deploy": false,
/// "rolling_deploy_config": null
@@ -123,8 +123,8 @@ partial void ProcessCreateModelsByModelIdEnvironmentsResponseContent( /// },
/// "promotion_settings": {
/// "promotion_cleanup_strategy": null,
- /// "ramp_up_duration_seconds": 600,
- /// "ramp_up_while_promoting": true,
+ /// "ramp_up_duration_seconds": null,
+ /// "ramp_up_while_promoting": null,
/// "redeploy_on_promotion": true,
/// "rolling_deploy": false,
/// "rolling_deploy_config": null
@@ -523,7 +523,7 @@ partial void ProcessCreateModelsByModelIdEnvironmentsResponseContent( string modelId, string name, global::Baseten.UpdateAutoscalingSettingsV1? autoscalingSettings = default, - global::Baseten.UpdatePromotionSettingsV1? promotionSettings = default, + global::Baseten.UpdateModelPromotionSettingsV1? promotionSettings = default, global::Baseten.UpdateRequestBackpressureSettingsV1? requestBackpressureSettings = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.EditModelsByModelIdEnvironmentsByEnvName.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.EditModelsByModelIdEnvironmentsByEnvName.g.cs index dfedf3d7..34543287 100644 --- a/src/libs/Baseten/Generated/Baseten.BasetenClient.EditModelsByModelIdEnvironmentsByEnvName.g.cs +++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.EditModelsByModelIdEnvironmentsByEnvName.g.cs @@ -72,10 +72,10 @@ partial void ProcessEditModelsByModelIdEnvironmentsByEnvNameResponseContent( /// },
/// "promotion_settings": {
/// "promotion_cleanup_strategy": null,
- /// "ramp_up_duration_seconds": 600,
- /// "ramp_up_while_promoting": true,
+ /// "ramp_up_duration_seconds": null,
+ /// "ramp_up_while_promoting": null,
/// "redeploy_on_promotion": true,
- /// "rolling_deploy": null,
+ /// "rolling_deploy": true,
/// "rolling_deploy_config": null
/// },
/// "autoscaling_schedule_settings": {
@@ -160,10 +160,10 @@ partial void ProcessEditModelsByModelIdEnvironmentsByEnvNameResponseContent( /// },
/// "promotion_settings": {
/// "promotion_cleanup_strategy": null,
- /// "ramp_up_duration_seconds": 600,
- /// "ramp_up_while_promoting": true,
+ /// "ramp_up_duration_seconds": null,
+ /// "ramp_up_while_promoting": null,
/// "redeploy_on_promotion": true,
- /// "rolling_deploy": null,
+ /// "rolling_deploy": true,
/// "rolling_deploy_config": null
/// },
/// "autoscaling_schedule_settings": {
@@ -598,7 +598,7 @@ partial void ProcessEditModelsByModelIdEnvironmentsByEnvNameResponseContent( string modelId, string envName, global::Baseten.UpdateAutoscalingSettingsV1? autoscalingSettings = default, - global::Baseten.UpdatePromotionSettingsV1? promotionSettings = default, + global::Baseten.UpdateModelPromotionSettingsV1? promotionSettings = default, global::Baseten.UpdateAutoscalingScheduleSettingsV1? autoscalingScheduleSettings = default, global::Baseten.UpdateRequestBackpressureSettingsV1? requestBackpressureSettings = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateModelsByModelIdEnvironments.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateModelsByModelIdEnvironments.g.cs index a3ecdb97..aeef7a78 100644 --- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateModelsByModelIdEnvironments.g.cs +++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateModelsByModelIdEnvironments.g.cs @@ -31,8 +31,8 @@ public partial interface IBasetenClient /// },
/// "promotion_settings": {
/// "promotion_cleanup_strategy": null,
- /// "ramp_up_duration_seconds": 600,
- /// "ramp_up_while_promoting": true,
+ /// "ramp_up_duration_seconds": null,
+ /// "ramp_up_while_promoting": null,
/// "redeploy_on_promotion": true,
/// "rolling_deploy": false,
/// "rolling_deploy_config": null
@@ -73,8 +73,8 @@ public partial interface IBasetenClient /// },
/// "promotion_settings": {
/// "promotion_cleanup_strategy": null,
- /// "ramp_up_duration_seconds": 600,
- /// "ramp_up_while_promoting": true,
+ /// "ramp_up_duration_seconds": null,
+ /// "ramp_up_while_promoting": null,
/// "redeploy_on_promotion": true,
/// "rolling_deploy": false,
/// "rolling_deploy_config": null
@@ -115,7 +115,7 @@ public partial interface IBasetenClient string modelId, string name, global::Baseten.UpdateAutoscalingSettingsV1? autoscalingSettings = default, - global::Baseten.UpdatePromotionSettingsV1? promotionSettings = default, + global::Baseten.UpdateModelPromotionSettingsV1? promotionSettings = default, global::Baseten.UpdateRequestBackpressureSettingsV1? requestBackpressureSettings = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.EditModelsByModelIdEnvironmentsByEnvName.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.EditModelsByModelIdEnvironmentsByEnvName.g.cs index fe979599..dc629bed 100644 --- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.EditModelsByModelIdEnvironmentsByEnvName.g.cs +++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.EditModelsByModelIdEnvironmentsByEnvName.g.cs @@ -31,10 +31,10 @@ public partial interface IBasetenClient /// },
/// "promotion_settings": {
/// "promotion_cleanup_strategy": null,
- /// "ramp_up_duration_seconds": 600,
- /// "ramp_up_while_promoting": true,
+ /// "ramp_up_duration_seconds": null,
+ /// "ramp_up_while_promoting": null,
/// "redeploy_on_promotion": true,
- /// "rolling_deploy": null,
+ /// "rolling_deploy": true,
/// "rolling_deploy_config": null
/// },
/// "autoscaling_schedule_settings": {
@@ -107,10 +107,10 @@ public partial interface IBasetenClient /// },
/// "promotion_settings": {
/// "promotion_cleanup_strategy": null,
- /// "ramp_up_duration_seconds": 600,
- /// "ramp_up_while_promoting": true,
+ /// "ramp_up_duration_seconds": null,
+ /// "ramp_up_while_promoting": null,
/// "redeploy_on_promotion": true,
- /// "rolling_deploy": null,
+ /// "rolling_deploy": true,
/// "rolling_deploy_config": null
/// },
/// "autoscaling_schedule_settings": {
@@ -185,7 +185,7 @@ public partial interface IBasetenClient string modelId, string envName, global::Baseten.UpdateAutoscalingSettingsV1? autoscalingSettings = default, - global::Baseten.UpdatePromotionSettingsV1? promotionSettings = default, + global::Baseten.UpdateModelPromotionSettingsV1? promotionSettings = default, global::Baseten.UpdateAutoscalingScheduleSettingsV1? autoscalingScheduleSettings = default, global::Baseten.UpdateRequestBackpressureSettingsV1? requestBackpressureSettings = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs b/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs index 7d73ce4f..3388bf1f 100644 --- a/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs +++ b/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs @@ -312,11 +312,12 @@ namespace Baseten [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.EnvironmentAutoscalingSchedulesV1ScheduleDiscriminatorCadence), TypeInfoPropertyName = "EnvironmentAutoscalingSchedulesV1ScheduleDiscriminatorCadence2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.EnvironmentV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.InProgressPromotionV1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.PromotionSettingsV1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ModelPromotionSettingsV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.InProgressPromotionStatusV1), TypeInfoPropertyName = "InProgressPromotionStatusV12")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.RollingDeployConfigV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.EnvironmentsV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.UpdateModelPromotionSettingsV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.CreateEnvironmentRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.EnvironmentTombstoneV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.UpdateEnvironmentRequestV1))] @@ -341,6 +342,7 @@ namespace Baseten [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.CreateChainEnvironmentRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ChainletEnvironmentSettingsV1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.PromotionSettingsV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ChainEnvironmentV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.UpdateChainEnvironmentRequestV1))] @@ -507,8 +509,6 @@ namespace Baseten [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetLoopsDeploymentMetricsRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.InferenceVolumeByStatusDatapointV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.LoopsDeploymentMetricsV1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ResponseTimeDatapointV1))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -519,6 +519,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ResponseTimeDatapointV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.LoopsDeploymentNodeMetricsV1))] @@ -1017,8 +1019,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1029,6 +1029,8 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs b/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs index 957cf4c6..e469656b 100644 --- a/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs +++ b/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs @@ -1233,7 +1233,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Baseten.PromotionSettingsV1? Type300 { get; set; } + public global::Baseten.ModelPromotionSettingsV1? Type300 { get; set; } /// /// /// @@ -1253,2075 +1253,2083 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Baseten.CreateEnvironmentRequestV1? Type305 { get; set; } + public global::Baseten.UpdateModelPromotionSettingsV1? Type305 { get; set; } /// /// /// - public global::Baseten.EnvironmentTombstoneV1? Type306 { get; set; } + public global::Baseten.CreateEnvironmentRequestV1? Type306 { get; set; } /// /// /// - public global::Baseten.UpdateEnvironmentRequestV1? Type307 { get; set; } + public global::Baseten.EnvironmentTombstoneV1? Type307 { get; set; } /// /// /// - public global::Baseten.UpdateEnvironmentResponseV1? Type308 { get; set; } + public global::Baseten.UpdateEnvironmentRequestV1? Type308 { get; set; } /// /// /// - public global::Baseten.GetEnvironmentLogsRequestV1? Type309 { get; set; } + public global::Baseten.UpdateEnvironmentResponseV1? Type309 { get; set; } /// /// /// - public global::Baseten.GetEnvironmentMetricsRequestV1? Type310 { get; set; } + public global::Baseten.GetEnvironmentLogsRequestV1? Type310 { get; set; } /// /// /// - public global::Baseten.PromoteToEnvironmentRequestV1? Type311 { get; set; } + public global::Baseten.GetEnvironmentMetricsRequestV1? Type311 { get; set; } /// /// /// - public global::Baseten.CancelPromotionStatusV1? Type312 { get; set; } + public global::Baseten.PromoteToEnvironmentRequestV1? Type312 { get; set; } /// /// /// - public global::Baseten.CancelPromotionResponseV1? Type313 { get; set; } + public global::Baseten.CancelPromotionStatusV1? Type313 { get; set; } /// /// /// - public global::Baseten.SignalPromotionResponseV1? Type314 { get; set; } + public global::Baseten.CancelPromotionResponseV1? Type314 { get; set; } /// /// /// - public global::Baseten.ChainV1? Type315 { get; set; } + public global::Baseten.SignalPromotionResponseV1? Type315 { get; set; } /// /// /// - public global::Baseten.ChainsV1? Type316 { get; set; } + public global::Baseten.ChainV1? Type316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type317 { get; set; } + public global::Baseten.ChainsV1? Type317 { get; set; } /// /// /// - public global::Baseten.ChainTombstoneV1? Type318 { get; set; } + public global::System.Collections.Generic.IList? Type318 { get; set; } /// /// /// - public global::Baseten.ChainDeploymentV1? Type319 { get; set; } + public global::Baseten.ChainTombstoneV1? Type319 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type320 { get; set; } + public global::Baseten.ChainDeploymentV1? Type320 { get; set; } /// /// /// - public global::Baseten.ChainletV1? Type321 { get; set; } + public global::System.Collections.Generic.IList? Type321 { get; set; } /// /// /// - public global::Baseten.ChainDeploymentsV1? Type322 { get; set; } + public global::Baseten.ChainletV1? Type322 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type323 { get; set; } + public global::Baseten.ChainDeploymentsV1? Type323 { get; set; } /// /// /// - public global::Baseten.ChainDeploymentTombstoneV1? Type324 { get; set; } + public global::System.Collections.Generic.IList? Type324 { get; set; } /// /// /// - public global::Baseten.ChainletEnvironmentSettingsRequestV1? Type325 { get; set; } + public global::Baseten.ChainDeploymentTombstoneV1? Type325 { get; set; } /// /// /// - public global::Baseten.CreateChainEnvironmentRequestV1? Type326 { get; set; } + public global::Baseten.ChainletEnvironmentSettingsRequestV1? Type326 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type327 { get; set; } + public global::Baseten.CreateChainEnvironmentRequestV1? Type327 { get; set; } /// /// /// - public global::Baseten.ChainletEnvironmentSettingsV1? Type328 { get; set; } + public global::System.Collections.Generic.IList? Type328 { get; set; } /// /// /// - public global::Baseten.ChainEnvironmentV1? Type329 { get; set; } + public global::Baseten.ChainletEnvironmentSettingsV1? Type329 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type330 { get; set; } + public global::Baseten.PromotionSettingsV1? Type330 { get; set; } /// /// /// - public global::Baseten.UpdateChainEnvironmentRequestV1? Type331 { get; set; } + public global::Baseten.ChainEnvironmentV1? Type331 { get; set; } /// /// /// - public global::Baseten.UpdateChainEnvironmentResponseV1? Type332 { get; set; } + public global::System.Collections.Generic.IList? Type332 { get; set; } /// /// /// - public global::Baseten.PromoteToChainEnvironmentRequestV1? Type333 { get; set; } + public global::Baseten.UpdateChainEnvironmentRequestV1? Type333 { get; set; } /// /// /// - public global::Baseten.ChainletEnvironmentAutoscalingSettingsUpdateV1? Type334 { get; set; } + public global::Baseten.UpdateChainEnvironmentResponseV1? Type334 { get; set; } /// /// /// - public global::Baseten.UpdateChainletEnvironmentAutoscalingSettingsRequestV1? Type335 { get; set; } + public global::Baseten.PromoteToChainEnvironmentRequestV1? Type335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type336 { get; set; } + public global::Baseten.ChainletEnvironmentAutoscalingSettingsUpdateV1? Type336 { get; set; } /// /// /// - public global::Baseten.ChainletEnvironmentInstanceTypeUpdateV1? Type337 { get; set; } + public global::Baseten.UpdateChainletEnvironmentAutoscalingSettingsRequestV1? Type337 { get; set; } /// /// /// - public global::Baseten.UpdateChainletEnvironmentInstanceTypeRequestV1? Type338 { get; set; } + public global::System.Collections.Generic.IList? Type338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type339 { get; set; } + public global::Baseten.ChainletEnvironmentInstanceTypeUpdateV1? Type339 { get; set; } /// /// /// - public global::Baseten.UpdateChainletEnvironmentInstanceTypeResponseV1? Type340 { get; set; } + public global::Baseten.UpdateChainletEnvironmentInstanceTypeRequestV1? Type340 { get; set; } /// /// /// - public global::Baseten.UpsertTrainingProjectV1? Type341 { get; set; } + public global::System.Collections.Generic.IList? Type341 { get; set; } /// /// /// - public global::Baseten.UpsertTrainingProjectRequestV1? Type342 { get; set; } + public global::Baseten.UpdateChainletEnvironmentInstanceTypeResponseV1? Type342 { get; set; } /// /// /// - public global::Baseten.CheckpointSyncStatus? Type343 { get; set; } + public global::Baseten.UpsertTrainingProjectV1? Type343 { get; set; } /// /// /// - public global::Baseten.TrainingJobV1? Type344 { get; set; } + public global::Baseten.UpsertTrainingProjectRequestV1? Type344 { get; set; } /// /// /// - public global::Baseten.TrainingProjectSummaryV1? Type345 { get; set; } + public global::Baseten.CheckpointSyncStatus? Type345 { get; set; } /// /// /// - public global::Baseten.V1AvailabilityModel? Type346 { get; set; } + public global::Baseten.TrainingJobV1? Type346 { get; set; } /// /// /// - public global::Baseten.UserV1? Type347 { get; set; } + public global::Baseten.TrainingProjectSummaryV1? Type347 { get; set; } /// /// /// - public global::Baseten.TrainingProjectV1? Type348 { get; set; } + public global::Baseten.V1AvailabilityModel? Type348 { get; set; } /// /// /// - public global::Baseten.UpsertTrainingProjectResponseV1? Type349 { get; set; } + public global::Baseten.UserV1? Type349 { get; set; } /// /// /// - public global::Baseten.ListTrainingProjectsResponseV1? Type350 { get; set; } + public global::Baseten.TrainingProjectV1? Type350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type351 { get; set; } + public global::Baseten.UpsertTrainingProjectResponseV1? Type351 { get; set; } /// /// /// - public global::Baseten.ListTrainingJobsResponseV1? Type352 { get; set; } + public global::Baseten.ListTrainingProjectsResponseV1? Type352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type353 { get; set; } + public global::System.Collections.Generic.IList? Type353 { get; set; } /// /// /// - public global::Baseten.AuthMethod? Type354 { get; set; } + public global::Baseten.ListTrainingJobsResponseV1? Type354 { get; set; } /// /// /// - public global::Baseten.AwsAssumeRoleDockerAuthV1? Type355 { get; set; } + public global::System.Collections.Generic.IList? Type355 { get; set; } /// /// /// - public global::Baseten.AwsIamDockerAuthV1? Type356 { get; set; } + public global::Baseten.AuthMethod? Type356 { get; set; } /// /// /// - public global::Baseten.SecretReferenceV1? Type357 { get; set; } + public global::Baseten.AwsAssumeRoleDockerAuthV1? Type357 { get; set; } /// /// /// - public global::Baseten.AwsOidcDockerAuthV1? Type358 { get; set; } + public global::Baseten.AwsIamDockerAuthV1? Type358 { get; set; } /// /// /// - public global::Baseten.BasetenLatestCheckpointConfig? Type359 { get; set; } + public global::Baseten.SecretReferenceV1? Type359 { get; set; } /// /// /// - public global::Baseten.BasetenNamedCheckpointConfig? Type360 { get; set; } + public global::Baseten.AwsOidcDockerAuthV1? Type360 { get; set; } /// /// /// - public global::Baseten.CreateJobWeightConfigV1? Type361 { get; set; } + public global::Baseten.BasetenLatestCheckpointConfig? Type361 { get; set; } /// /// /// - public global::Baseten.TrainingWeightAuthV1? Type362 { get; set; } + public global::Baseten.BasetenNamedCheckpointConfig? Type362 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobAcceleratorV1? Type363 { get; set; } + public global::Baseten.CreateJobWeightConfigV1? Type363 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobCacheConfig? Type364 { get; set; } + public global::Baseten.TrainingWeightAuthV1? Type364 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobCheckpointingConfig? Type365 { get; set; } + public global::Baseten.CreateTrainingJobAcceleratorV1? Type365 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobComputeV1? Type366 { get; set; } + public global::Baseten.CreateTrainingJobCacheConfig? Type366 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobImageV1? Type367 { get; set; } + public global::Baseten.CreateTrainingJobCheckpointingConfig? Type367 { get; set; } /// /// /// - public global::Baseten.DockerAuthV1? Type368 { get; set; } + public global::Baseten.CreateTrainingJobComputeV1? Type368 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobRuntimeV1? Type369 { get; set; } + public global::Baseten.CreateTrainingJobImageV1? Type369 { get; set; } /// /// /// - public global::Baseten.AnyOf? Type370 { get; set; } + public global::Baseten.DockerAuthV1? Type370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type371 { get; set; } + public global::Baseten.CreateTrainingJobRuntimeV1? Type371 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobS3Artifact? Type372 { get; set; } + public global::Baseten.AnyOf? Type372 { get; set; } /// /// /// - public global::Baseten.LoadCheckpointConfig? Type373 { get; set; } + public global::System.Collections.Generic.IList? Type373 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobV1? Type374 { get; set; } + public global::Baseten.CreateTrainingJobS3Artifact? Type374 { get; set; } /// /// /// - public global::Baseten.TrussUserEnv? Type375 { get; set; } + public global::Baseten.LoadCheckpointConfig? Type375 { get; set; } /// /// /// - public global::Baseten.InteractiveSessionConfigV1? Type376 { get; set; } + public global::Baseten.CreateTrainingJobV1? Type376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type377 { get; set; } + public global::Baseten.TrussUserEnv? Type377 { get; set; } /// /// /// - public global::Baseten.DockerAuthType? Type378 { get; set; } + public global::Baseten.InteractiveSessionConfigV1? Type378 { get; set; } /// /// /// - public global::Baseten.GcpServiceAccountJsonDockerAuthV1? Type379 { get; set; } + public global::System.Collections.Generic.IList? Type379 { get; set; } /// /// /// - public global::Baseten.GcpOidcDockerAuthV1? Type380 { get; set; } + public global::Baseten.DockerAuthType? Type380 { get; set; } /// /// /// - public global::Baseten.RegistrySecretDockerAuthV1? Type381 { get; set; } + public global::Baseten.GcpServiceAccountJsonDockerAuthV1? Type381 { get; set; } /// /// /// - public global::Baseten.GitInfo? Type382 { get; set; } + public global::Baseten.GcpOidcDockerAuthV1? Type382 { get; set; } /// /// /// - public global::Baseten.V1InteractiveSessionTrigger? Type383 { get; set; } + public global::Baseten.RegistrySecretDockerAuthV1? Type383 { get; set; } /// /// /// - public global::Baseten.V1InteractiveSessionProvider? Type384 { get; set; } + public global::Baseten.GitInfo? Type384 { get; set; } /// /// /// - public global::Baseten.V1InteractiveSessionAuthProvider? Type385 { get; set; } + public global::Baseten.V1InteractiveSessionTrigger? Type385 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type386 { get; set; } + public global::Baseten.V1InteractiveSessionProvider? Type386 { get; set; } /// /// /// - public global::Baseten.CheckpointsItem? Type387 { get; set; } + public global::Baseten.V1InteractiveSessionAuthProvider? Type387 { get; set; } /// /// /// - public global::Baseten.LoopsCheckpointConfig? Type388 { get; set; } + public global::System.Collections.Generic.IList? Type388 { get; set; } /// /// /// - public global::Baseten.LoadCheckpointConfigCheckpointDiscriminator? Type389 { get; set; } + public global::Baseten.CheckpointsItem? Type389 { get; set; } /// /// /// - public global::Baseten.LoadCheckpointConfigCheckpointDiscriminatorTyp? Type390 { get; set; } + public global::Baseten.LoopsCheckpointConfig? Type390 { get; set; } /// /// /// - public global::Baseten.LoopsCheckpointConfigTarget? Type391 { get; set; } + public global::Baseten.LoadCheckpointConfigCheckpointDiscriminator? Type391 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobRequestV1? Type392 { get; set; } + public global::Baseten.LoadCheckpointConfigCheckpointDiscriminatorTyp? Type392 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobResponseV1? Type393 { get; set; } + public global::Baseten.LoopsCheckpointConfigTarget? Type393 { get; set; } /// /// /// - public global::Baseten.TrainingJobTombstoneV1? Type394 { get; set; } + public global::Baseten.CreateTrainingJobRequestV1? Type394 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobResponseV1? Type395 { get; set; } + public global::Baseten.CreateTrainingJobResponseV1? Type395 { get; set; } /// /// /// - public global::Baseten.UpdateTrainingJobRequestV1? Type396 { get; set; } + public global::Baseten.TrainingJobTombstoneV1? Type396 { get; set; } /// /// /// - public global::Baseten.UpdateTrainingJobResponseV1? Type397 { get; set; } + public global::Baseten.GetTrainingJobResponseV1? Type397 { get; set; } /// /// /// - public global::Baseten.DownloadTrainingJobResponseV1? Type398 { get; set; } + public global::Baseten.UpdateTrainingJobRequestV1? Type398 { get; set; } /// /// /// - public global::Baseten.RecreateTrainingJobResponseV1? Type399 { get; set; } + public global::Baseten.UpdateTrainingJobResponseV1? Type399 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobLogsRequestV1? Type400 { get; set; } + public global::Baseten.DownloadTrainingJobResponseV1? Type400 { get; set; } /// /// /// - public global::Baseten.StorageMetricsV1? Type401 { get; set; } + public global::Baseten.RecreateTrainingJobResponseV1? Type401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type402 { get; set; } + public global::Baseten.GetTrainingJobLogsRequestV1? Type402 { get; set; } /// /// /// - public global::Baseten.TrainingJobMetricV1? Type403 { get; set; } + public global::Baseten.StorageMetricsV1? Type403 { get; set; } /// /// /// - public global::Baseten.TrainingJobMetricsV1? Type404 { get; set; } + public global::System.Collections.Generic.IList? Type404 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type405 { get; set; } + public global::Baseten.TrainingJobMetricV1? Type405 { get; set; } /// /// /// - public global::Baseten.TrainingJobNodeMetricsV1? Type406 { get; set; } + public global::Baseten.TrainingJobMetricsV1? Type406 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobMetricsResponseV1? Type407 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type407 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type408 { get; set; } + public global::Baseten.TrainingJobNodeMetricsV1? Type408 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobMetricsRequestV1? Type409 { get; set; } + public global::Baseten.GetTrainingJobMetricsResponseV1? Type409 { get; set; } /// /// /// - public global::Baseten.StopTrainingJobRequestV1? Type410 { get; set; } + public global::System.Collections.Generic.IList? Type410 { get; set; } /// /// /// - public global::Baseten.StopTrainingJobResponseV1? Type411 { get; set; } + public global::Baseten.GetTrainingJobMetricsRequestV1? Type411 { get; set; } /// /// /// - public global::Baseten.TrainingJobCheckpointV1? Type412 { get; set; } + public global::Baseten.StopTrainingJobRequestV1? Type412 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobCheckpointsResponseV1? Type413 { get; set; } + public global::Baseten.StopTrainingJobResponseV1? Type413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type414 { get; set; } + public global::Baseten.TrainingJobCheckpointV1? Type414 { get; set; } /// /// /// - public global::Baseten.CheckpointFile? Type415 { get; set; } + public global::Baseten.GetTrainingJobCheckpointsResponseV1? Type415 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobCheckpointFilesResponseV1? Type416 { get; set; } + public global::System.Collections.Generic.IList? Type416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type417 { get; set; } + public global::Baseten.CheckpointFile? Type417 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobCheckpointFilesRequestV1? Type418 { get; set; } + public global::Baseten.GetTrainingJobCheckpointFilesResponseV1? Type418 { get; set; } /// /// /// - public global::Baseten.AuthCodeV1? Type419 { get; set; } + public global::System.Collections.Generic.IList? Type419 { get; set; } /// /// /// - public global::Baseten.GetAuthCodesResponseV1? Type420 { get; set; } + public global::Baseten.GetTrainingJobCheckpointFilesRequestV1? Type420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type421 { get; set; } + public global::Baseten.AuthCodeV1? Type421 { get; set; } /// /// /// - public global::Baseten.PatchInteractiveSessionRequestV1? Type422 { get; set; } + public global::Baseten.GetAuthCodesResponseV1? Type422 { get; set; } /// /// /// - public global::Baseten.InteractiveSessionV1? Type423 { get; set; } + public global::System.Collections.Generic.IList? Type423 { get; set; } /// /// /// - public global::Baseten.PatchInteractiveSessionResponseV1? Type424 { get; set; } + public global::Baseten.PatchInteractiveSessionRequestV1? Type424 { get; set; } /// /// /// - public global::Baseten.FileSummary? Type425 { get; set; } + public global::Baseten.InteractiveSessionV1? Type425 { get; set; } /// /// /// - public global::Baseten.GetCacheSummaryResponseV1? Type426 { get; set; } + public global::Baseten.PatchInteractiveSessionResponseV1? Type426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type427 { get; set; } + public global::Baseten.FileSummary? Type427 { get; set; } /// /// /// - public global::Baseten.TrainingProjectTombstoneV1? Type428 { get; set; } + public global::Baseten.GetCacheSummaryResponseV1? Type428 { get; set; } /// /// /// - public global::Baseten.GetTrainingProjectResponseV1? Type429 { get; set; } + public global::System.Collections.Generic.IList? Type429 { get; set; } /// /// /// - public global::Baseten.OrderByV1? Type430 { get; set; } + public global::Baseten.TrainingProjectTombstoneV1? Type430 { get; set; } /// /// /// - public global::Baseten.SearchTrainingJobsRequestV1? Type431 { get; set; } + public global::Baseten.GetTrainingProjectResponseV1? Type431 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type432 { get; set; } + public global::Baseten.OrderByV1? Type432 { get; set; } /// /// /// - public global::Baseten.SearchTrainingJobsResponseV1? Type433 { get; set; } + public global::Baseten.SearchTrainingJobsRequestV1? Type433 { get; set; } /// /// /// - public global::Baseten.EnablementDetailsV1? Type434 { get; set; } + public global::System.Collections.Generic.IList? Type434 { get; set; } /// /// /// - public global::Baseten.SupportedModelV1? Type435 { get; set; } + public global::Baseten.SearchTrainingJobsResponseV1? Type435 { get; set; } /// /// /// - public global::Baseten.GetLoopsCapabilitiesResponseV1? Type436 { get; set; } + public global::Baseten.EnablementDetailsV1? Type436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type437 { get; set; } + public global::Baseten.SupportedModelV1? Type437 { get; set; } /// /// /// - public global::Baseten.LoopsUseCaseV1? Type438 { get; set; } + public global::Baseten.GetLoopsCapabilitiesResponseV1? Type438 { get; set; } /// /// /// - public global::Baseten.GetLoopsCapabilitiesQueryParamsV1? Type439 { get; set; } + public global::System.Collections.Generic.IList? Type439 { get; set; } /// /// /// - public global::Baseten.LoopsSessionV1? Type440 { get; set; } + public global::Baseten.LoopsUseCaseV1? Type440 { get; set; } /// /// /// - public global::Baseten.CreateLoopsSessionResponseV1? Type441 { get; set; } + public global::Baseten.GetLoopsCapabilitiesQueryParamsV1? Type441 { get; set; } /// /// /// - public global::Baseten.GetLoopsSessionResponseV1? Type442 { get; set; } + public global::Baseten.LoopsSessionV1? Type442 { get; set; } /// /// /// - public global::Baseten.LoopsRunStatusNameV1? Type443 { get; set; } + public global::Baseten.CreateLoopsSessionResponseV1? Type443 { get; set; } /// /// /// - public global::Baseten.LoopsRunStatusV1? Type444 { get; set; } + public global::Baseten.GetLoopsSessionResponseV1? Type444 { get; set; } /// /// /// - public global::Baseten.LoopsRunV1? Type445 { get; set; } + public global::Baseten.LoopsRunStatusNameV1? Type445 { get; set; } /// /// /// - public global::Baseten.LoopsSamplerV1? Type446 { get; set; } + public global::Baseten.LoopsRunStatusV1? Type446 { get; set; } /// /// /// - public global::Baseten.LoopsSamplerStatusV1? Type447 { get; set; } + public global::Baseten.LoopsRunV1? Type447 { get; set; } /// /// /// - public global::Baseten.ListLoopsRunsResponseV1? Type448 { get; set; } + public global::Baseten.LoopsSamplerV1? Type448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type449 { get; set; } + public global::Baseten.LoopsSamplerStatusV1? Type449 { get; set; } /// /// /// - public global::Baseten.ListLoopsRunsQueryParamsV1? Type450 { get; set; } + public global::Baseten.ListLoopsRunsResponseV1? Type450 { get; set; } /// /// /// - public global::Baseten.CreateLoopsRunRequestV1? Type451 { get; set; } + public global::System.Collections.Generic.IList? Type451 { get; set; } /// /// /// - public global::Baseten.CreateLoopsRunResponseV1? Type452 { get; set; } + public global::Baseten.ListLoopsRunsQueryParamsV1? Type452 { get; set; } /// /// /// - public global::Baseten.DeactivateLoopsRunResponseV1? Type453 { get; set; } + public global::Baseten.CreateLoopsRunRequestV1? Type453 { get; set; } /// /// /// - public global::Baseten.GetLoopsRunResponseV1? Type454 { get; set; } + public global::Baseten.CreateLoopsRunResponseV1? Type454 { get; set; } /// /// /// - public global::Baseten.CreateLoopsTrainerRequestV1? Type455 { get; set; } + public global::Baseten.DeactivateLoopsRunResponseV1? Type455 { get; set; } /// /// /// - public global::Baseten.ListLoopsSamplersResponseV1? Type456 { get; set; } + public global::Baseten.GetLoopsRunResponseV1? Type456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type457 { get; set; } + public global::Baseten.CreateLoopsTrainerRequestV1? Type457 { get; set; } /// /// /// - public global::Baseten.ListLoopsSamplersRequestV1? Type458 { get; set; } + public global::Baseten.ListLoopsSamplersResponseV1? Type458 { get; set; } /// /// /// - public global::Baseten.CreateLoopsSamplerRequestV1? Type459 { get; set; } + public global::System.Collections.Generic.IList? Type459 { get; set; } /// /// /// - public global::Baseten.CreateLoopsSamplerResponseV1? Type460 { get; set; } + public global::Baseten.ListLoopsSamplersRequestV1? Type460 { get; set; } /// /// /// - public global::Baseten.DeactivateLoopsSamplerResponseV1? Type461 { get; set; } + public global::Baseten.CreateLoopsSamplerRequestV1? Type461 { get; set; } /// /// /// - public global::Baseten.GetLoopsSamplerResponseV1? Type462 { get; set; } + public global::Baseten.CreateLoopsSamplerResponseV1? Type462 { get; set; } /// /// /// - public global::Baseten.LoopsCheckpointV1? Type463 { get; set; } + public global::Baseten.DeactivateLoopsSamplerResponseV1? Type463 { get; set; } /// /// /// - public global::Baseten.LoopsLoRAConfigV1? Type464 { get; set; } + public global::Baseten.GetLoopsSamplerResponseV1? Type464 { get; set; } /// /// /// - public global::Baseten.TrainerCheckpointTarget? Type465 { get; set; } + public global::Baseten.LoopsCheckpointV1? Type465 { get; set; } /// /// /// - public global::Baseten.LoopsLoRAConfigV1ExpertLayout? Type466 { get; set; } + public global::Baseten.LoopsLoRAConfigV1? Type466 { get; set; } /// /// /// - public global::Baseten.ListLoopsCheckpointsResponseV1? Type467 { get; set; } + public global::Baseten.TrainerCheckpointTarget? Type467 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type468 { get; set; } + public global::Baseten.LoopsLoRAConfigV1ExpertLayout? Type468 { get; set; } /// /// /// - public global::Baseten.ListLoopsCheckpointsQueryParamsV1? Type469 { get; set; } + public global::Baseten.ListLoopsCheckpointsResponseV1? Type469 { get; set; } /// /// /// - public global::Baseten.ValidateLoopsCheckpointRequestV1? Type470 { get; set; } + public global::System.Collections.Generic.IList? Type470 { get; set; } /// /// /// - public global::Baseten.ValidateLoopsCheckpointResponseV1? Type471 { get; set; } + public global::Baseten.ListLoopsCheckpointsQueryParamsV1? Type471 { get; set; } /// /// /// - public global::Baseten.DeployLoopsCheckpointRequestV1? Type472 { get; set; } + public global::Baseten.ValidateLoopsCheckpointRequestV1? Type472 { get; set; } /// /// /// - public global::Baseten.DeployLoopsCheckpointResponseV1? Type473 { get; set; } + public global::Baseten.ValidateLoopsCheckpointResponseV1? Type473 { get; set; } /// /// /// - public global::Baseten.LoopsCheckpointFilesResponseV1? Type474 { get; set; } + public global::Baseten.DeployLoopsCheckpointRequestV1? Type474 { get; set; } /// /// /// - public global::Baseten.GetLoopsCheckpointFilesRequestV1? Type475 { get; set; } + public global::Baseten.DeployLoopsCheckpointResponseV1? Type475 { get; set; } /// /// /// - public global::Baseten.LoopsCheckpointS3SourceV1? Type476 { get; set; } + public global::Baseten.LoopsCheckpointFilesResponseV1? Type476 { get; set; } /// /// /// - public global::Baseten.LoopsCheckpointVolumeSourceV1? Type477 { get; set; } + public global::Baseten.GetLoopsCheckpointFilesRequestV1? Type477 { get; set; } /// /// /// - public global::Baseten.LoopsCheckpointSourceResponseV1? Type478 { get; set; } + public global::Baseten.LoopsCheckpointS3SourceV1? Type478 { get; set; } /// /// /// - public global::Baseten.Source4? Type479 { get; set; } + public global::Baseten.LoopsCheckpointVolumeSourceV1? Type479 { get; set; } /// /// /// - public global::Baseten.LoopsCheckpointSourceResponseV1SourceDiscriminator? Type480 { get; set; } + public global::Baseten.LoopsCheckpointSourceResponseV1? Type480 { get; set; } /// /// /// - public global::Baseten.LoopsCheckpointSourceResponseV1SourceDiscriminatorKind? Type481 { get; set; } + public global::Baseten.Source4? Type481 { get; set; } /// /// /// - public global::Baseten.LoopsDeploymentStatusV1? Type482 { get; set; } + public global::Baseten.LoopsCheckpointSourceResponseV1SourceDiscriminator? Type482 { get; set; } /// /// /// - public global::Baseten.Name? Type483 { get; set; } + public global::Baseten.LoopsCheckpointSourceResponseV1SourceDiscriminatorKind? Type483 { get; set; } /// /// /// - public global::Baseten.LoopsDeploymentV1? Type484 { get; set; } + public global::Baseten.LoopsDeploymentStatusV1? Type484 { get; set; } /// /// /// - public global::Baseten.ListLoopsDeploymentsResponseV1? Type485 { get; set; } + public global::Baseten.Name? Type485 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type486 { get; set; } + public global::Baseten.LoopsDeploymentV1? Type486 { get; set; } /// /// /// - public global::Baseten.ListLoopsDeploymentsRequestV1? Type487 { get; set; } + public global::Baseten.ListLoopsDeploymentsResponseV1? Type487 { get; set; } /// /// /// - public global::Baseten.DeactivateLoopsDeploymentResponseV1? Type488 { get; set; } + public global::System.Collections.Generic.IList? Type488 { get; set; } /// /// /// - public global::Baseten.GetLoopsDeploymentResponseV1? Type489 { get; set; } + public global::Baseten.ListLoopsDeploymentsRequestV1? Type489 { get; set; } /// /// /// - public global::Baseten.LoopsDebugArchiveFilesResponseV1? Type490 { get; set; } + public global::Baseten.DeactivateLoopsDeploymentResponseV1? Type490 { get; set; } /// /// /// - public global::Baseten.GetLoopsDebugArchiveFilesRequestV1? Type491 { get; set; } + public global::Baseten.GetLoopsDeploymentResponseV1? Type491 { get; set; } /// /// /// - public global::Baseten.GetLoopsDeploymentMetricsRequestV1? Type492 { get; set; } + public global::Baseten.LoopsDebugArchiveFilesResponseV1? Type492 { get; set; } /// /// /// - public global::Baseten.InferenceVolumeByStatusDatapointV1? Type493 { get; set; } + public global::Baseten.GetLoopsDebugArchiveFilesRequestV1? Type493 { get; set; } /// /// /// - public global::Baseten.LoopsDeploymentMetricsV1? Type494 { get; set; } + public global::Baseten.GetLoopsDeploymentMetricsRequestV1? Type494 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type495 { get; set; } + public global::Baseten.InferenceVolumeByStatusDatapointV1? Type495 { get; set; } /// /// /// - public global::Baseten.ResponseTimeDatapointV1? Type496 { get; set; } + public global::Baseten.LoopsDeploymentMetricsV1? Type496 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type497 { get; set; } + public global::System.Collections.Generic.IList? Type497 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type498 { get; set; } + public global::Baseten.ResponseTimeDatapointV1? Type498 { get; set; } /// /// /// - public global::Baseten.LoopsDeploymentNodeMetricsV1? Type499 { get; set; } + public global::System.Collections.Generic.IList? Type499 { get; set; } /// /// /// - public global::Baseten.GetLoopsDeploymentMetricsResponseV1? Type500 { get; set; } + public global::System.Collections.Generic.IList? Type500 { get; set; } /// /// /// - public global::Baseten.GetLoopsDeploymentLogsRequestV1? Type501 { get; set; } + public global::Baseten.LoopsDeploymentNodeMetricsV1? Type501 { get; set; } /// /// /// - public global::Baseten.TeamTrainingGpuCapacityItemV1? Type502 { get; set; } + public global::Baseten.GetLoopsDeploymentMetricsResponseV1? Type502 { get; set; } /// /// /// - public global::Baseten.TrainingGpuCapacityItemV1? Type503 { get; set; } + public global::Baseten.GetLoopsDeploymentLogsRequestV1? Type503 { get; set; } /// /// /// - public global::Baseten.GetTrainingGpuCapacityResponseV1? Type504 { get; set; } + public global::Baseten.TeamTrainingGpuCapacityItemV1? Type504 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type505 { get; set; } + public global::Baseten.TrainingGpuCapacityItemV1? Type505 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type506 { get; set; } + public global::Baseten.GetTrainingGpuCapacityResponseV1? Type506 { get; set; } /// /// /// - public global::Baseten.PatchTeamTrainingGpuCapacityRequestV1? Type507 { get; set; } + public global::System.Collections.Generic.IList? Type507 { get; set; } /// /// /// - public global::Baseten.PatchTeamTrainingGpuCapacityResponseV1? Type508 { get; set; } + public global::System.Collections.Generic.IList? Type508 { get; set; } /// /// /// - public global::Baseten.ActiveJobAtSubmitV1? Type509 { get; set; } + public global::Baseten.PatchTeamTrainingGpuCapacityRequestV1? Type509 { get; set; } /// /// /// - public global::Baseten.CapacityAtSubmitV1? Type510 { get; set; } + public global::Baseten.PatchTeamTrainingGpuCapacityResponseV1? Type510 { get; set; } /// /// /// - public global::Baseten.PendingJobAheadAtSubmitV1? Type511 { get; set; } + public global::Baseten.ActiveJobAtSubmitV1? Type511 { get; set; } /// /// /// - public global::Baseten.QueueEventV1? Type512 { get; set; } + public global::Baseten.CapacityAtSubmitV1? Type512 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobQueueContextResponseV1? Type513 { get; set; } + public global::Baseten.PendingJobAheadAtSubmitV1? Type513 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type514 { get; set; } + public global::Baseten.QueueEventV1? Type514 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type515 { get; set; } + public global::Baseten.GetTrainingJobQueueContextResponseV1? Type515 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type516 { get; set; } + public global::System.Collections.Generic.IList? Type516 { get; set; } /// /// /// - public global::Baseten.GetBlobCredentialsResponseV1? Type517 { get; set; } + public global::System.Collections.Generic.IList? Type517 { get; set; } /// /// /// - public global::Baseten.APIKeyCategory? Type518 { get; set; } + public global::System.Collections.Generic.IList? Type518 { get; set; } /// /// /// - public global::Baseten.CreateAPIKeyRequestV1? Type519 { get; set; } + public global::Baseten.GetBlobCredentialsResponseV1? Type519 { get; set; } /// /// /// - public global::Baseten.APIKeyV1? Type520 { get; set; } + public global::Baseten.APIKeyCategory? Type520 { get; set; } /// /// /// - public global::Baseten.APIKeyInfoV1? Type521 { get; set; } + public global::Baseten.CreateAPIKeyRequestV1? Type521 { get; set; } /// /// /// - public global::Baseten.APIKeyOwnerV1? Type522 { get; set; } + public global::Baseten.APIKeyV1? Type522 { get; set; } /// /// /// - public global::Baseten.APIKeysV1? Type523 { get; set; } + public global::Baseten.APIKeyInfoV1? Type523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type524 { get; set; } + public global::Baseten.APIKeyOwnerV1? Type524 { get; set; } /// /// /// - public global::Baseten.APIKeysRequestV1? Type525 { get; set; } + public global::Baseten.APIKeysV1? Type525 { get; set; } /// /// /// - public global::Baseten.APIKeyTombstoneV1? Type526 { get; set; } + public global::System.Collections.Generic.IList? Type526 { get; set; } /// /// /// - public global::Baseten.LimitTypeV1? Type527 { get; set; } + public global::Baseten.APIKeysRequestV1? Type527 { get; set; } /// /// /// - public global::Baseten.ModelAPIOrgDetailsV1? Type528 { get; set; } + public global::Baseten.APIKeyTombstoneV1? Type528 { get; set; } /// /// /// - public global::Baseten.ModelAPIV1? Type529 { get; set; } + public global::Baseten.LimitTypeV1? Type529 { get; set; } /// /// /// - public global::Baseten.AnyOf? Type530 { get; set; } + public global::Baseten.ModelAPIOrgDetailsV1? Type530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type531 { get; set; } + public global::Baseten.ModelAPIV1? Type531 { get; set; } /// /// /// - public global::Baseten.RateLimitV1? Type532 { get; set; } + public global::Baseten.AnyOf? Type532 { get; set; } /// /// /// - public global::Baseten.RateLimitUnitV1? Type533 { get; set; } + public global::System.Collections.Generic.IList? Type533 { get; set; } /// /// /// - public global::Baseten.ModelAPIsResponseV1? Type534 { get; set; } + public global::Baseten.RateLimitV1? Type534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type535 { get; set; } + public global::Baseten.RateLimitUnitV1? Type535 { get; set; } /// /// /// - public global::Baseten.ModelAPIsRequestV1? Type536 { get; set; } + public global::Baseten.ModelAPIsResponseV1? Type536 { get; set; } /// /// /// - public global::Baseten.ModelApisUsageBucketV1? Type537 { get; set; } + public global::System.Collections.Generic.IList? Type537 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type538 { get; set; } + public global::Baseten.ModelAPIsRequestV1? Type538 { get; set; } /// /// /// - public global::Baseten.ModelApisUsageResultV1? Type539 { get; set; } + public global::Baseten.ModelApisUsageBucketV1? Type539 { get; set; } /// /// /// - public global::Baseten.ModelApisUsageResponseV1? Type540 { get; set; } + public global::System.Collections.Generic.IList? Type540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type541 { get; set; } + public global::Baseten.ModelApisUsageResultV1? Type541 { get; set; } /// /// /// - public global::Baseten.BucketWidth? Type542 { get; set; } + public global::Baseten.ModelApisUsageResponseV1? Type542 { get; set; } /// /// /// - public global::Baseten.UsageDimensionV1? Type543 { get; set; } + public global::System.Collections.Generic.IList? Type543 { get; set; } /// /// /// - public global::Baseten.ModelApisUsageRequestV1? Type544 { get; set; } + public global::Baseten.BucketWidth? Type544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type545 { get; set; } + public global::Baseten.UsageDimensionV1? Type545 { get; set; } /// /// /// - public global::Baseten.EgressRestrictionsV1? Type546 { get; set; } + public global::Baseten.ModelApisUsageRequestV1? Type546 { get; set; } /// /// /// - public global::Baseten.CreateLLMModelRequestV1? Type547 { get; set; } + public global::System.Collections.Generic.IList? Type547 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type548 { get; set; } + public global::Baseten.EgressRestrictionsV1? Type548 { get; set; } /// /// /// - public global::Baseten.LLMModelHandleV1? Type549 { get; set; } + public global::Baseten.CreateLLMModelRequestV1? Type549 { get; set; } /// /// /// - public global::Baseten.CreateLLMModelVersionRequestV1? Type550 { get; set; } + public global::System.Collections.Generic.IList? Type550 { get; set; } /// /// /// - public global::Baseten.LibraryListingMetadataV1? Type551 { get; set; } + public global::Baseten.LLMModelHandleV1? Type551 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type552 { get; set; } + public global::Baseten.CreateLLMModelVersionRequestV1? Type552 { get; set; } /// /// /// - public global::Baseten.LibraryListingModality? Type553 { get; set; } + public global::Baseten.LibraryListingMetadataV1? Type553 { get; set; } /// /// /// - public global::Baseten.LibraryListingV1? Type554 { get; set; } + public global::System.Collections.Generic.IList? Type554 { get; set; } /// /// /// - public global::Baseten.LibraryListingsV1? Type555 { get; set; } + public global::Baseten.LibraryListingModality? Type555 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type556 { get; set; } + public global::Baseten.LibraryListingV1? Type556 { get; set; } /// /// /// - public global::Baseten.CreateLibraryListingRequestV1? Type557 { get; set; } + public global::Baseten.LibraryListingsV1? Type557 { get; set; } /// /// /// - public global::Baseten.LibraryListingTombstoneV1? Type558 { get; set; } + public global::System.Collections.Generic.IList? Type558 { get; set; } /// /// /// - public global::Baseten.UpdateLibraryListingRequestV1? Type559 { get; set; } + public global::Baseten.CreateLibraryListingRequestV1? Type559 { get; set; } /// /// /// - public global::Baseten.BenchmarkSnapshotV1? Type560 { get; set; } + public global::Baseten.LibraryListingTombstoneV1? Type560 { get; set; } /// /// /// - public global::Baseten.LLMBenchmarkMetricsV1? Type561 { get; set; } + public global::Baseten.UpdateLibraryListingRequestV1? Type561 { get; set; } /// /// /// - public global::Baseten.TTSBenchmarkMetricsV1? Type562 { get; set; } + public global::Baseten.BenchmarkSnapshotV1? Type562 { get; set; } /// /// /// - public global::Baseten.EmbeddingBenchmarkMetricsV1? Type563 { get; set; } + public global::Baseten.LLMBenchmarkMetricsV1? Type563 { get; set; } /// /// /// - public global::Baseten.LibraryListingVersionV1? Type564 { get; set; } + public global::Baseten.TTSBenchmarkMetricsV1? Type564 { get; set; } /// /// /// - public global::Baseten.LibraryListingVersionsV1? Type565 { get; set; } + public global::Baseten.EmbeddingBenchmarkMetricsV1? Type565 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type566 { get; set; } + public global::Baseten.LibraryListingVersionV1? Type566 { get; set; } /// /// /// - public global::Baseten.CreateLibraryListingVersionRequestV1? Type567 { get; set; } + public global::Baseten.LibraryListingVersionsV1? Type567 { get; set; } /// /// /// - public global::Baseten.LibraryListingVersionTombstoneV1? Type568 { get; set; } + public global::System.Collections.Generic.IList? Type568 { get; set; } /// /// /// - public global::Baseten.UpdateLibraryListingVersionRequestV1? Type569 { get; set; } + public global::Baseten.CreateLibraryListingVersionRequestV1? Type569 { get; set; } /// /// /// - public global::Baseten.ModelApisCostBucketV1? Type570 { get; set; } + public global::Baseten.LibraryListingVersionTombstoneV1? Type570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type571 { get; set; } + public global::Baseten.UpdateLibraryListingVersionRequestV1? Type571 { get; set; } /// /// /// - public global::Baseten.ModelApisCostResultV1? Type572 { get; set; } + public global::Baseten.ModelApisCostBucketV1? Type572 { get; set; } /// /// /// - public global::Baseten.ModelApisCostsResponseV1? Type573 { get; set; } + public global::System.Collections.Generic.IList? Type573 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type574 { get; set; } + public global::Baseten.ModelApisCostResultV1? Type574 { get; set; } /// /// /// - public global::Baseten.ModelApiCostDimensionV1? Type575 { get; set; } + public global::Baseten.ModelApisCostsResponseV1? Type575 { get; set; } /// /// /// - public global::Baseten.ModelApisCostsRequestV1? Type576 { get; set; } + public global::System.Collections.Generic.IList? Type576 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type577 { get; set; } + public global::Baseten.ModelApiCostDimensionV1? Type577 { get; set; } /// /// /// - public global::Baseten.BillableResourceV1? Type578 { get; set; } + public global::Baseten.ModelApisCostsRequestV1? Type578 { get; set; } /// /// /// - public global::Baseten.ResourceKind? Type579 { get; set; } + public global::System.Collections.Generic.IList? Type579 { get; set; } /// /// /// - public global::Baseten.ChainMetadataV1? Type580 { get; set; } + public global::Baseten.BillableResourceV1? Type580 { get; set; } /// /// /// - public global::Baseten.DailyDedicatedUsageV1? Type581 { get; set; } + public global::Baseten.ResourceKind? Type581 { get; set; } /// /// /// - public global::Baseten.DailyModelApiUsageV1? Type582 { get; set; } + public global::Baseten.ChainMetadataV1? Type582 { get; set; } /// /// /// - public global::Baseten.DailyTrainingUsageV1? Type583 { get; set; } + public global::Baseten.DailyDedicatedUsageV1? Type583 { get; set; } /// /// /// - public global::Baseten.DedicatedItemV1? Type584 { get; set; } + public global::Baseten.DailyModelApiUsageV1? Type584 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type585 { get; set; } + public global::Baseten.DailyTrainingUsageV1? Type585 { get; set; } /// /// /// - public global::Baseten.DedicatedUsageV1? Type586 { get; set; } + public global::Baseten.DedicatedItemV1? Type586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type587 { get; set; } + public global::System.Collections.Generic.IList? Type587 { get; set; } /// /// /// - public global::Baseten.ModelApiItemV1? Type588 { get; set; } + public global::Baseten.DedicatedUsageV1? Type588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type589 { get; set; } + public global::System.Collections.Generic.IList? Type589 { get; set; } /// /// /// - public global::Baseten.ModelApisUsageV1? Type590 { get; set; } + public global::Baseten.ModelApiItemV1? Type590 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type591 { get; set; } + public global::System.Collections.Generic.IList? Type591 { get; set; } /// /// /// - public global::Baseten.TrainingItemV1? Type592 { get; set; } + public global::Baseten.ModelApisUsageV1? Type592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type593 { get; set; } + public global::System.Collections.Generic.IList? Type593 { get; set; } /// /// /// - public global::Baseten.TrainingUsageV1? Type594 { get; set; } + public global::Baseten.TrainingItemV1? Type594 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type595 { get; set; } + public global::System.Collections.Generic.IList? Type595 { get; set; } /// /// /// - public global::Baseten.UsageSummaryV1? Type596 { get; set; } + public global::Baseten.TrainingUsageV1? Type596 { get; set; } /// /// /// - public global::Baseten.UsageSummaryRequestV1? Type597 { get; set; } + public global::System.Collections.Generic.IList? Type597 { get; set; } /// /// /// - public global::Baseten.ToolCallUsageBucketV1? Type598 { get; set; } + public global::Baseten.UsageSummaryV1? Type598 { get; set; } /// /// /// - public global::Baseten.ToolCallUsageResponseV1? Type599 { get; set; } + public global::Baseten.UsageSummaryRequestV1? Type599 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type600 { get; set; } + public global::Baseten.ToolCallUsageBucketV1? Type600 { get; set; } /// /// /// - public global::Baseten.ToolCallUsageRequestV1? Type601 { get; set; } + public global::Baseten.ToolCallUsageResponseV1? Type601 { get; set; } /// /// /// - public global::Baseten.UserInfoV1? Type602 { get; set; } + public global::System.Collections.Generic.IList? Type602 { get; set; } /// /// /// - public global::Baseten.UsersResponseV1? Type603 { get; set; } + public global::Baseten.ToolCallUsageRequestV1? Type603 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type604 { get; set; } + public global::Baseten.UserInfoV1? Type604 { get; set; } /// /// /// - public global::Baseten.UsersRequestV1? Type605 { get; set; } + public global::Baseten.UsersResponseV1? Type605 { get; set; } /// /// /// - public global::Baseten.AwsAssumeRoleV1? Type606 { get; set; } + public global::System.Collections.Generic.IList? Type606 { get; set; } /// /// /// - public global::Baseten.OrganizationInfoV1? Type607 { get; set; } + public global::Baseten.UsersRequestV1? Type607 { get; set; } /// /// /// - public global::Baseten.GatewayEventTokensV1? Type608 { get; set; } + public global::Baseten.AwsAssumeRoleV1? Type608 { get; set; } /// /// /// - public global::Baseten.GatewayEventV1? Type609 { get; set; } + public global::Baseten.OrganizationInfoV1? Type609 { get; set; } /// /// /// - public global::Baseten.GatewayEventsResponseV1? Type610 { get; set; } + public global::Baseten.GatewayEventTokensV1? Type610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type611 { get; set; } + public global::Baseten.GatewayEventV1? Type611 { get; set; } /// /// /// - public global::Baseten.GatewayEventsRequestV1? Type612 { get; set; } + public global::Baseten.GatewayEventsResponseV1? Type612 { get; set; } /// /// /// - public global::Baseten.ExploreCostV1? Type613 { get; set; } + public global::System.Collections.Generic.IList? Type613 { get; set; } /// /// /// - public global::Baseten.ExploreCostValuesV1? Type614 { get; set; } + public global::Baseten.GatewayEventsRequestV1? Type614 { get; set; } /// /// /// - public global::Baseten.ExploreMetadataAPIFormatsV1? Type615 { get; set; } + public global::Baseten.ExploreCostV1? Type615 { get; set; } /// /// /// - public global::Baseten.ExploreMetadataV1? Type616 { get; set; } + public global::Baseten.ExploreCostValuesV1? Type616 { get; set; } /// /// /// - public global::Baseten.ExploreMetadataResponseV1? Type617 { get; set; } + public global::Baseten.ExploreMetadataAPIFormatsV1? Type617 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type618 { get; set; } + public global::Baseten.ExploreMetadataV1? Type618 { get; set; } /// /// /// - public global::Baseten.ExploreMetadataRequestV1? Type619 { get; set; } + public global::Baseten.ExploreMetadataResponseV1? Type619 { get; set; } /// /// /// - public global::Baseten.RouteClassifierListingRefV1? Type620 { get; set; } + public global::System.Collections.Generic.IList? Type620 { get; set; } /// /// /// - public global::Baseten.RouteRefV1? Type621 { get; set; } + public global::Baseten.ExploreMetadataRequestV1? Type621 { get; set; } /// /// /// - public global::Baseten.RouteTargetBasetenModelAPIV1? Type622 { get; set; } + public global::Baseten.RouteClassifierListingRefV1? Type622 { get; set; } /// /// /// - public global::Baseten.RouteTargetClassifierV1? Type623 { get; set; } + public global::Baseten.RouteRefV1? Type623 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type624 { get; set; } + public global::Baseten.RouteTargetBasetenModelAPIV1? Type624 { get; set; } /// /// /// - public global::Baseten.RouteTargetConnectionV1? Type625 { get; set; } + public global::Baseten.RouteTargetClassifierV1? Type625 { get; set; } /// /// /// - public global::Baseten.RouteV1? Type626 { get; set; } + public global::System.Collections.Generic.IList? Type626 { get; set; } /// /// /// - public global::Baseten.Target? Type627 { get; set; } + public global::Baseten.RouteTargetConnectionV1? Type627 { get; set; } /// /// /// - public global::Baseten.RouteV1TargetDiscriminator? Type628 { get; set; } + public global::Baseten.RouteV1? Type628 { get; set; } /// /// /// - public global::Baseten.RouteV1TargetDiscriminatorType? Type629 { get; set; } + public global::Baseten.Target? Type629 { get; set; } /// /// /// - public global::Baseten.RoutesResponseV1? Type630 { get; set; } + public global::Baseten.RouteV1TargetDiscriminator? Type630 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type631 { get; set; } + public global::Baseten.RouteV1TargetDiscriminatorType? Type631 { get; set; } /// /// /// - public global::Baseten.RoutesRequestV1? Type632 { get; set; } + public global::Baseten.RoutesResponseV1? Type632 { get; set; } /// /// /// - public global::Baseten.UpsertRouteTargetBasetenModelAPIV1? Type633 { get; set; } + public global::System.Collections.Generic.IList? Type633 { get; set; } /// /// /// - public global::Baseten.UpsertRouteTargetClassifierV1? Type634 { get; set; } + public global::Baseten.RoutesRequestV1? Type634 { get; set; } /// /// /// - public global::Baseten.UpsertRouteTargetConnectionV1? Type635 { get; set; } + public global::Baseten.UpsertRouteTargetBasetenModelAPIV1? Type635 { get; set; } /// /// /// - public global::Baseten.CreateRouteRequestV1? Type636 { get; set; } + public global::Baseten.UpsertRouteTargetClassifierV1? Type636 { get; set; } /// /// /// - public global::Baseten.Target2? Type637 { get; set; } + public global::Baseten.UpsertRouteTargetConnectionV1? Type637 { get; set; } /// /// /// - public global::Baseten.CreateRouteRequestV1TargetDiscriminator? Type638 { get; set; } + public global::Baseten.CreateRouteRequestV1? Type638 { get; set; } /// /// /// - public global::Baseten.CreateRouteRequestV1TargetDiscriminatorType? Type639 { get; set; } + public global::Baseten.Target2? Type639 { get; set; } /// /// /// - public global::Baseten.RouteProviderV1? Type640 { get; set; } + public global::Baseten.CreateRouteRequestV1TargetDiscriminator? Type640 { get; set; } /// /// /// - public global::Baseten.RoutesUsageBucketV1? Type641 { get; set; } + public global::Baseten.CreateRouteRequestV1TargetDiscriminatorType? Type641 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type642 { get; set; } + public global::Baseten.RouteProviderV1? Type642 { get; set; } /// /// /// - public global::Baseten.RoutesUsageResultV1? Type643 { get; set; } + public global::Baseten.RoutesUsageBucketV1? Type643 { get; set; } /// /// /// - public global::Baseten.RoutesUsageResponseV1? Type644 { get; set; } + public global::System.Collections.Generic.IList? Type644 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type645 { get; set; } + public global::Baseten.RoutesUsageResultV1? Type645 { get; set; } /// /// /// - public global::Baseten.RouteUsageDimensionV1? Type646 { get; set; } + public global::Baseten.RoutesUsageResponseV1? Type646 { get; set; } /// /// /// - public global::Baseten.RoutesUsageRequestV1? Type647 { get; set; } + public global::System.Collections.Generic.IList? Type647 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type648 { get; set; } + public global::Baseten.RouteUsageDimensionV1? Type648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type649 { get; set; } + public global::Baseten.RoutesUsageRequestV1? Type649 { get; set; } /// /// /// - public global::Baseten.RouteEffectiveSpendLimitV1? Type650 { get; set; } + public global::System.Collections.Generic.IList? Type650 { get; set; } /// /// /// - public global::Baseten.RouteSettingSourceV1? Type651 { get; set; } + public global::System.Collections.Generic.IList? Type651 { get; set; } /// /// /// - public global::Baseten.RouteSpendBlockedByV1? Type652 { get; set; } + public global::Baseten.RouteEffectiveSpendLimitV1? Type652 { get; set; } /// /// /// - public global::Baseten.RouteSpendLimitSettingV1? Type653 { get; set; } + public global::Baseten.RouteSettingSourceV1? Type653 { get; set; } /// /// /// - public global::Baseten.RouteSpendLimitTeamDefaultV1? Type654 { get; set; } + public global::Baseten.RouteSpendBlockedByV1? Type654 { get; set; } /// /// /// - public global::Baseten.RouteTeamUserSettingsV1? Type655 { get; set; } + public global::Baseten.RouteSpendLimitSettingV1? Type655 { get; set; } /// /// /// - public global::Baseten.RouteUserTeamSettingsListV1? Type656 { get; set; } + public global::Baseten.RouteSpendLimitTeamDefaultV1? Type656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type657 { get; set; } + public global::Baseten.RouteTeamUserSettingsV1? Type657 { get; set; } /// /// /// - public global::Baseten.BackgroundHarnessDefaultsV1? Type658 { get; set; } + public global::Baseten.RouteUserTeamSettingsListV1? Type658 { get; set; } /// /// /// - public global::Baseten.RouteHarnessModelV1? Type659 { get; set; } + public global::System.Collections.Generic.IList? Type659 { get; set; } /// /// /// - public global::Baseten.PrimaryHarnessDefaultsV1? Type660 { get; set; } + public global::Baseten.BackgroundHarnessDefaultsV1? Type660 { get; set; } /// /// /// - public global::Baseten.RouteHarnessDefaultsV1? Type661 { get; set; } + public global::Baseten.RouteHarnessModelV1? Type661 { get; set; } /// /// /// - public global::Baseten.RouteTeamSpendLimitSettingV1? Type662 { get; set; } + public global::Baseten.PrimaryHarnessDefaultsV1? Type662 { get; set; } /// /// /// - public global::Baseten.RouteTeamSettingsV1? Type663 { get; set; } + public global::Baseten.RouteHarnessDefaultsV1? Type663 { get; set; } /// /// /// - public global::Baseten.UpdateBackgroundHarnessModelsV1? Type664 { get; set; } + public global::Baseten.RouteTeamSpendLimitSettingV1? Type664 { get; set; } /// /// /// - public global::Baseten.UpdatePrimaryHarnessModelsV1? Type665 { get; set; } + public global::Baseten.RouteTeamSettingsV1? Type665 { get; set; } /// /// /// - public global::Baseten.UpdateRouteHarnessDefaultsV1? Type666 { get; set; } + public global::Baseten.UpdateBackgroundHarnessModelsV1? Type666 { get; set; } /// /// /// - public global::Baseten.UpdateRouteTeamSpendLimitSettingV1? Type667 { get; set; } + public global::Baseten.UpdatePrimaryHarnessModelsV1? Type667 { get; set; } /// /// /// - public global::Baseten.UpdateRouteTeamSettingsRequestV1? Type668 { get; set; } + public global::Baseten.UpdateRouteHarnessDefaultsV1? Type668 { get; set; } /// /// /// - public global::Baseten.RouteTeamUserSettingsListV1? Type669 { get; set; } + public global::Baseten.UpdateRouteTeamSpendLimitSettingV1? Type669 { get; set; } /// /// /// - public global::Baseten.UpdateRouteSpendLimitSettingV1? Type670 { get; set; } + public global::Baseten.UpdateRouteTeamSettingsRequestV1? Type670 { get; set; } /// /// /// - public global::Baseten.UpdateRouteUserSettingsRequestV1? Type671 { get; set; } + public global::Baseten.RouteTeamUserSettingsListV1? Type671 { get; set; } /// /// /// - public global::Baseten.RouteTeamSettingsRequestV1? Type672 { get; set; } + public global::Baseten.UpdateRouteSpendLimitSettingV1? Type672 { get; set; } /// /// /// - public global::Baseten.UpdateResolvedRouteTeamSettingsRequestV1? Type673 { get; set; } + public global::Baseten.UpdateRouteUserSettingsRequestV1? Type673 { get; set; } /// /// /// - public global::Baseten.RouteConnectionConfigAnthropicV1? Type674 { get; set; } + public global::Baseten.RouteTeamSettingsRequestV1? Type674 { get; set; } /// /// /// - public global::Baseten.RouteConnectionConfigOpenAIV1? Type675 { get; set; } + public global::Baseten.UpdateResolvedRouteTeamSettingsRequestV1? Type675 { get; set; } /// /// /// - public global::Baseten.RouteConnectionConfigXAIV1? Type676 { get; set; } + public global::Baseten.RouteConnectionConfigAnthropicV1? Type676 { get; set; } /// /// /// - public global::Baseten.RouteConnectionV1? Type677 { get; set; } + public global::Baseten.RouteConnectionConfigOpenAIV1? Type677 { get; set; } /// /// /// - public global::Baseten.Config? Type678 { get; set; } + public global::Baseten.RouteConnectionConfigXAIV1? Type678 { get; set; } /// /// /// - public global::Baseten.RouteConnectionV1ConfigDiscriminator? Type679 { get; set; } + public global::Baseten.RouteConnectionV1? Type679 { get; set; } /// /// /// - public global::Baseten.RouteConnectionV1ConfigDiscriminatorProvider? Type680 { get; set; } + public global::Baseten.Config? Type680 { get; set; } /// /// /// - public global::Baseten.RouteConnectionsResponseV1? Type681 { get; set; } + public global::Baseten.RouteConnectionV1ConfigDiscriminator? Type681 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type682 { get; set; } + public global::Baseten.RouteConnectionV1ConfigDiscriminatorProvider? Type682 { get; set; } /// /// /// - public global::Baseten.RouteConnectionsRequestV1? Type683 { get; set; } + public global::Baseten.RouteConnectionsResponseV1? Type683 { get; set; } /// /// /// - public global::Baseten.UpsertRouteConnectionConfigAnthropicV1? Type684 { get; set; } + public global::System.Collections.Generic.IList? Type684 { get; set; } /// /// /// - public global::Baseten.UpsertRouteConnectionConfigOpenAIV1? Type685 { get; set; } + public global::Baseten.RouteConnectionsRequestV1? Type685 { get; set; } /// /// /// - public global::Baseten.UpsertRouteConnectionConfigXAIV1? Type686 { get; set; } + public global::Baseten.UpsertRouteConnectionConfigAnthropicV1? Type686 { get; set; } /// /// /// - public global::Baseten.CreateRouteConnectionRequestV1? Type687 { get; set; } + public global::Baseten.UpsertRouteConnectionConfigOpenAIV1? Type687 { get; set; } /// /// /// - public global::Baseten.Config2? Type688 { get; set; } + public global::Baseten.UpsertRouteConnectionConfigXAIV1? Type688 { get; set; } /// /// /// - public global::Baseten.CreateRouteConnectionRequestV1ConfigDiscriminator? Type689 { get; set; } + public global::Baseten.CreateRouteConnectionRequestV1? Type689 { get; set; } /// /// /// - public global::Baseten.CreateRouteConnectionRequestV1ConfigDiscriminatorProvider? Type690 { get; set; } + public global::Baseten.Config2? Type690 { get; set; } /// /// /// - public global::Baseten.RouteConnectionTombstoneV1? Type691 { get; set; } + public global::Baseten.CreateRouteConnectionRequestV1ConfigDiscriminator? Type691 { get; set; } /// /// /// - public global::Baseten.UpdateRouteConnectionRequestV1? Type692 { get; set; } + public global::Baseten.CreateRouteConnectionRequestV1ConfigDiscriminatorProvider? Type692 { get; set; } /// /// /// - public global::Baseten.Config3? Type693 { get; set; } + public global::Baseten.RouteConnectionTombstoneV1? Type693 { get; set; } /// /// /// - public global::Baseten.UpdateRouteConnectionRequestV1ConfigDiscriminator? Type694 { get; set; } + public global::Baseten.UpdateRouteConnectionRequestV1? Type694 { get; set; } /// /// /// - public global::Baseten.UpdateRouteConnectionRequestV1ConfigDiscriminatorProvider? Type695 { get; set; } + public global::Baseten.Config3? Type695 { get; set; } /// /// /// - public global::Baseten.RouteTombstoneV1? Type696 { get; set; } + public global::Baseten.UpdateRouteConnectionRequestV1ConfigDiscriminator? Type696 { get; set; } /// /// /// - public global::Baseten.UpdateRouteRequestV1? Type697 { get; set; } + public global::Baseten.UpdateRouteConnectionRequestV1ConfigDiscriminatorProvider? Type697 { get; set; } /// /// /// - public global::Baseten.TargetVariant1? Type698 { get; set; } + public global::Baseten.RouteTombstoneV1? Type698 { get; set; } /// /// /// - public global::Baseten.UpdateRouteRequestV1TargetVariant1Discriminator? Type699 { get; set; } + public global::Baseten.UpdateRouteRequestV1? Type699 { get; set; } /// /// /// - public global::Baseten.UpdateRouteRequestV1TargetVariant1DiscriminatorType? Type700 { get; set; } + public global::Baseten.TargetVariant1? Type700 { get; set; } /// /// /// - public global::Baseten.EndpointTargetV1? Type701 { get; set; } + public global::Baseten.UpdateRouteRequestV1TargetVariant1Discriminator? Type701 { get; set; } /// /// /// - public global::Baseten.GatewayProvider? Type702 { get; set; } + public global::Baseten.UpdateRouteRequestV1TargetVariant1DiscriminatorType? Type702 { get; set; } /// /// /// - public global::Baseten.VertexTargetConfigV1? Type703 { get; set; } + public global::Baseten.EndpointTargetV1? Type703 { get; set; } /// /// /// - public global::Baseten.EndpointV1? Type704 { get; set; } + public global::Baseten.GatewayProvider? Type704 { get; set; } /// /// /// - public global::Baseten.SharedEndpointRegionV1? Type705 { get; set; } + public global::Baseten.VertexTargetConfigV1? Type705 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type706 { get; set; } + public global::Baseten.EndpointV1? Type706 { get; set; } /// /// /// - public global::Baseten.EndpointsResponseV1? Type707 { get; set; } + public global::Baseten.SharedEndpointRegionV1? Type707 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type708 { get; set; } + public global::System.Collections.Generic.IList? Type708 { get; set; } /// /// /// - public global::Baseten.EndpointTargetRequestV1? Type709 { get; set; } + public global::Baseten.EndpointsResponseV1? Type709 { get; set; } /// /// /// - public global::Baseten.CreateEndpointRequestV1? Type710 { get; set; } + public global::System.Collections.Generic.IList? Type710 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type711 { get; set; } + public global::Baseten.EndpointTargetRequestV1? Type711 { get; set; } /// /// /// - public global::Baseten.EndpointTombstoneV1? Type712 { get; set; } + public global::Baseten.CreateEndpointRequestV1? Type712 { get; set; } /// /// /// - public global::Baseten.UpdateEndpointRequestV1? Type713 { get; set; } + public global::System.Collections.Generic.IList? Type713 { get; set; } /// /// /// - public global::Baseten.EffectiveModelConfigV1? Type714 { get; set; } + public global::Baseten.EndpointTombstoneV1? Type714 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type715 { get; set; } + public global::Baseten.UpdateEndpointRequestV1? Type715 { get; set; } /// /// /// - public global::Baseten.EffectiveRateLimitV1? Type716 { get; set; } + public global::Baseten.EffectiveModelConfigV1? Type716 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type717 { get; set; } + public global::System.Collections.Generic.IList? Type717 { get; set; } /// /// /// - public global::Baseten.EffectiveUsageLimitV1? Type718 { get; set; } + public global::Baseten.EffectiveRateLimitV1? Type718 { get; set; } /// /// /// - public global::Baseten.UsageLimitUnitV1? Type719 { get; set; } + public global::System.Collections.Generic.IList? Type719 { get; set; } /// /// /// - public global::Baseten.GroupHierarchyV1? Type720 { get; set; } + public global::Baseten.EffectiveUsageLimitV1? Type720 { get; set; } /// /// /// - public global::Baseten.LimitEnforcementV1? Type721 { get; set; } + public global::Baseten.UsageLimitUnitV1? Type721 { get; set; } /// /// /// - public global::Baseten.GroupMetadataV1? Type722 { get; set; } + public global::Baseten.GroupHierarchyV1? Type722 { get; set; } /// /// /// - public global::Baseten.GroupV1? Type723 { get; set; } + public global::Baseten.LimitEnforcementV1? Type723 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type724 { get; set; } + public global::Baseten.GroupMetadataV1? Type724 { get; set; } /// /// /// - public global::Baseten.ModelConfigV1? Type725 { get; set; } + public global::Baseten.GroupV1? Type725 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type726 { get; set; } + public global::System.Collections.Generic.IList? Type726 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type727 { get; set; } + public global::Baseten.ModelConfigV1? Type727 { get; set; } /// /// /// - public global::Baseten.UsageLimitV1? Type728 { get; set; } + public global::System.Collections.Generic.IList? Type728 { get; set; } /// /// /// - public global::Baseten.GroupsResponseV1? Type729 { get; set; } + public global::System.Collections.Generic.IList? Type729 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type730 { get; set; } + public global::Baseten.UsageLimitV1? Type730 { get; set; } /// /// /// - public global::Baseten.CreateGroupHierarchyV1? Type731 { get; set; } + public global::Baseten.GroupsResponseV1? Type731 { get; set; } /// /// /// - public global::Baseten.CreateGroupRequestV1? Type732 { get; set; } + public global::System.Collections.Generic.IList? Type732 { get; set; } /// /// /// - public global::Baseten.UpdateGroupMetadataV1? Type733 { get; set; } + public global::Baseten.CreateGroupHierarchyV1? Type733 { get; set; } /// /// /// - public global::Baseten.UpdateGroupRequestV1? Type734 { get; set; } + public global::Baseten.CreateGroupRequestV1? Type734 { get; set; } /// /// /// - public global::Baseten.GatewayKeyInfoV1? Type735 { get; set; } + public global::Baseten.UpdateGroupMetadataV1? Type735 { get; set; } /// /// /// - public global::Baseten.KeysForGroupResponseV1? Type736 { get; set; } + public global::Baseten.UpdateGroupRequestV1? Type736 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type737 { get; set; } + public global::Baseten.GatewayKeyInfoV1? Type737 { get; set; } /// /// /// - public global::Baseten.CreateApiKeyForGroupRequestV1? Type738 { get; set; } + public global::Baseten.KeysForGroupResponseV1? Type738 { get; set; } /// /// /// - public global::Baseten.CreateApiKeyForGroupResponseV1? Type739 { get; set; } + public global::System.Collections.Generic.IList? Type739 { get; set; } /// /// /// - public global::Baseten.RegisterAPIKeyRequestV1? Type740 { get; set; } + public global::Baseten.CreateApiKeyForGroupRequestV1? Type740 { get; set; } /// /// /// - public global::Baseten.RegisterAPIKeyResponseV1? Type741 { get; set; } + public global::Baseten.CreateApiKeyForGroupResponseV1? Type741 { get; set; } /// /// /// - public global::Baseten.SandboxLogsV1? Type742 { get; set; } + public global::Baseten.RegisterAPIKeyRequestV1? Type742 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type743 { get; set; } + public global::Baseten.RegisterAPIKeyResponseV1? Type743 { get; set; } /// /// /// - public global::Baseten.SandboxLogEntryV1? Type744 { get; set; } + public global::Baseten.SandboxLogsV1? Type744 { get; set; } /// /// /// - public global::Baseten.SandboxMetricModeV1? Type745 { get; set; } + public global::System.Collections.Generic.IList? Type745 { get; set; } /// /// /// - public global::Baseten.SandboxMetricNameV1? Type746 { get; set; } + public global::Baseten.SandboxLogEntryV1? Type746 { get; set; } /// /// /// - public global::Baseten.SandboxMetricsV1? Type747 { get; set; } + public global::Baseten.SandboxMetricModeV1? Type747 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type748 { get; set; } + public global::Baseten.SandboxMetricNameV1? Type748 { get; set; } /// /// /// - public global::Baseten.SandboxMetricDescriptorV1? Type749 { get; set; } + public global::Baseten.SandboxMetricsV1? Type749 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type750 { get; set; } + public global::System.Collections.Generic.IList? Type750 { get; set; } /// /// /// - public global::Baseten.SandboxMetricValueSetV1? Type751 { get; set; } + public global::Baseten.SandboxMetricDescriptorV1? Type751 { get; set; } /// /// /// - public global::Baseten.SandboxMetricDescriptorV1UnitHint? Type752 { get; set; } + public global::System.Collections.Generic.IList? Type752 { get; set; } /// /// /// - public global::Baseten.SandboxMetricDescriptorV1Kind? Type753 { get; set; } + public global::Baseten.SandboxMetricValueSetV1? Type753 { get; set; } /// /// /// - public global::Baseten.GetSandboxConfigurationResponseV1? Type754 { get; set; } + public global::Baseten.SandboxMetricDescriptorV1UnitHint? Type754 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type755 { get; set; } + public global::Baseten.SandboxMetricDescriptorV1Kind? Type755 { get; set; } /// /// /// - public global::Baseten.SandboxRegionV1? Type756 { get; set; } + public global::Baseten.GetSandboxConfigurationResponseV1? Type756 { get; set; } /// /// /// - public global::Baseten.SandboxRegionV1InfoGeneration? Type757 { get; set; } + public global::System.Collections.Generic.IList? Type757 { get; set; } /// /// /// - public global::Baseten.SandboxImageBuildLogV1? Type758 { get; set; } + public global::Baseten.SandboxRegionV1? Type758 { get; set; } /// /// /// - public global::Baseten.SandboxImageBuildLogsResponseV1? Type759 { get; set; } + public global::Baseten.SandboxRegionV1InfoGeneration? Type759 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type760 { get; set; } + public global::Baseten.SandboxImageBuildLogV1? Type760 { get; set; } /// /// /// - public global::Baseten.SandboxLifecycleV1? Type761 { get; set; } + public global::Baseten.SandboxImageBuildLogsResponseV1? Type761 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type762 { get; set; } + public global::System.Collections.Generic.IList? Type762 { get; set; } /// /// /// - public global::Baseten.SandboxExpirationPolicyV1? Type763 { get; set; } + public global::Baseten.SandboxLifecycleV1? Type763 { get; set; } /// /// /// - public global::Baseten.SandboxTTLIdleExpirationPolicyV1? Type764 { get; set; } + public global::System.Collections.Generic.IList? Type764 { get; set; } /// /// /// - public global::Baseten.SandboxTTLMaxAgeExpirationPolicyV1? Type765 { get; set; } + public global::Baseten.SandboxExpirationPolicyV1? Type765 { get; set; } /// /// /// - public global::Baseten.SandboxDateExpirationPolicyV1? Type766 { get; set; } + public global::Baseten.SandboxTTLIdleExpirationPolicyV1? Type766 { get; set; } /// /// /// - public global::Baseten.SandboxExpirationPolicyV1Discriminator? Type767 { get; set; } + public global::Baseten.SandboxTTLMaxAgeExpirationPolicyV1? Type767 { get; set; } /// /// /// - public global::Baseten.SandboxExpirationPolicyV1DiscriminatorType? Type768 { get; set; } + public global::Baseten.SandboxDateExpirationPolicyV1? Type768 { get; set; } /// /// /// - public global::Baseten.SandboxTTLIdleExpirationPolicyV1Action? Type769 { get; set; } + public global::Baseten.SandboxExpirationPolicyV1Discriminator? Type769 { get; set; } /// /// /// - public global::Baseten.SandboxTTLIdleExpirationPolicyV1Type? Type770 { get; set; } + public global::Baseten.SandboxExpirationPolicyV1DiscriminatorType? Type770 { get; set; } /// /// /// - public global::Baseten.SandboxTTLMaxAgeExpirationPolicyV1Action? Type771 { get; set; } + public global::Baseten.SandboxTTLIdleExpirationPolicyV1Action? Type771 { get; set; } /// /// /// - public global::Baseten.SandboxTTLMaxAgeExpirationPolicyV1Type? Type772 { get; set; } + public global::Baseten.SandboxTTLIdleExpirationPolicyV1Type? Type772 { get; set; } /// /// /// - public global::Baseten.SandboxDateExpirationPolicyV1Action? Type773 { get; set; } + public global::Baseten.SandboxTTLMaxAgeExpirationPolicyV1Action? Type773 { get; set; } /// /// /// - public global::Baseten.SandboxDateExpirationPolicyV1Type? Type774 { get; set; } + public global::Baseten.SandboxTTLMaxAgeExpirationPolicyV1Type? Type774 { get; set; } /// /// /// - public global::Baseten.SandboxNetworkV1? Type775 { get; set; } + public global::Baseten.SandboxDateExpirationPolicyV1Action? Type775 { get; set; } /// /// /// - public global::Baseten.SandboxProxyConfigV1? Type776 { get; set; } + public global::Baseten.SandboxDateExpirationPolicyV1Type? Type776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type777 { get; set; } + public global::Baseten.SandboxNetworkV1? Type777 { get; set; } /// /// /// - public global::Baseten.SandboxProxyTargetV1? Type778 { get; set; } + public global::Baseten.SandboxProxyConfigV1? Type778 { get; set; } /// /// /// - public global::Baseten.SandboxEnvV1? Type779 { get; set; } + public global::System.Collections.Generic.IList? Type779 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type780 { get; set; } + public global::Baseten.SandboxProxyTargetV1? Type780 { get; set; } /// /// /// - public global::Baseten.SandboxPortV1? Type781 { get; set; } + public global::Baseten.SandboxEnvV1? Type781 { get; set; } /// /// /// - public global::Baseten.SandboxPortV1Protocol? Type782 { get; set; } + public global::System.Collections.Generic.IList? Type782 { get; set; } /// /// /// - public global::Baseten.SandboxConfigurationV1? Type783 { get; set; } + public global::Baseten.SandboxPortV1? Type783 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type784 { get; set; } + public global::Baseten.SandboxPortV1Protocol? Type784 { get; set; } /// /// /// - public global::Baseten.CreateSandboxRequestV1? Type785 { get; set; } + public global::Baseten.SandboxConfigurationV1? Type785 { get; set; } /// /// /// - public global::Baseten.UpdateSandboxRequestV1? Type786 { get; set; } + public global::System.Collections.Generic.IList? Type786 { get; set; } /// /// /// - public global::Baseten.SandboxV1? Type787 { get; set; } + public global::Baseten.CreateSandboxRequestV1? Type787 { get; set; } /// /// /// - public global::Baseten.SandboxV1Variant2? Type788 { get; set; } + public global::Baseten.UpdateSandboxRequestV1? Type788 { get; set; } /// /// /// - public global::Baseten.SandboxStatusV1? Type789 { get; set; } + public global::Baseten.SandboxV1? Type789 { get; set; } /// /// /// - public global::Baseten.SandboxApiPaginationV1? Type790 { get; set; } + public global::Baseten.SandboxV1Variant2? Type790 { get; set; } /// /// /// - public global::Baseten.ListSandboxesResponseV1? Type791 { get; set; } + public global::Baseten.SandboxStatusV1? Type791 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type792 { get; set; } + public global::Baseten.SandboxApiPaginationV1? Type792 { get; set; } /// /// /// - public global::Baseten.ListSandboxImagesResponseV1? Type793 { get; set; } + public global::Baseten.ListSandboxesResponseV1? Type793 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type794 { get; set; } + public global::System.Collections.Generic.IList? Type794 { get; set; } /// /// /// - public global::Baseten.SandboxImageV1? Type795 { get; set; } + public global::Baseten.ListSandboxImagesResponseV1? Type795 { get; set; } /// /// /// - public global::Baseten.ListSandboxImageTagsResponseV1? Type796 { get; set; } + public global::System.Collections.Generic.IList? Type796 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type797 { get; set; } + public global::Baseten.SandboxImageV1? Type797 { get; set; } /// /// /// - public global::Baseten.SandboxImageTagV1? Type798 { get; set; } + public global::Baseten.ListSandboxImageTagsResponseV1? Type798 { get; set; } /// /// /// - public global::Baseten.SandboxImageStatusV1? Type799 { get; set; } + public global::System.Collections.Generic.IList? Type799 { get; set; } /// /// /// - public global::Baseten.PushSandboxImageRequestV1? Type800 { get; set; } + public global::Baseten.SandboxImageTagV1? Type800 { get; set; } /// /// /// - public global::Baseten.PushSandboxImageResponseV1? Type801 { get; set; } + public global::Baseten.SandboxImageStatusV1? Type801 { get; set; } /// /// /// - public global::Baseten.SandboxLibraryImageVolumeV1? Type802 { get; set; } + public global::Baseten.PushSandboxImageRequestV1? Type802 { get; set; } /// /// /// - public global::Baseten.SandboxLibraryImageCreationOptionsV1? Type803 { get; set; } + public global::Baseten.PushSandboxImageResponseV1? Type803 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type804 { get; set; } + public global::Baseten.SandboxLibraryImageVolumeV1? Type804 { get; set; } /// /// /// - public global::Baseten.SandboxLibraryImageV1? Type805 { get; set; } + public global::Baseten.SandboxLibraryImageCreationOptionsV1? Type805 { get; set; } /// /// /// - public global::Baseten.ListSandboxLibraryImagesResponseV1? Type806 { get; set; } + public global::System.Collections.Generic.IList? Type806 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type807 { get; set; } + public global::Baseten.SandboxLibraryImageV1? Type807 { get; set; } /// /// /// - public global::Baseten.CleanupSandboxImagesResponseV1? Type808 { get; set; } + public global::Baseten.ListSandboxLibraryImagesResponseV1? Type808 { get; set; } /// /// /// - public global::Baseten.SandboxPreviewStatusV1? Type809 { get; set; } + public global::System.Collections.Generic.IList? Type809 { get; set; } /// /// /// - public global::Baseten.SandboxPreviewConfigurationV1? Type810 { get; set; } + public global::Baseten.CleanupSandboxImagesResponseV1? Type810 { get; set; } /// /// /// - public global::Baseten.CreateSandboxPreviewRequestV1? Type811 { get; set; } + public global::Baseten.SandboxPreviewStatusV1? Type811 { get; set; } /// /// /// - public global::Baseten.CreateSandboxPreviewRequestV1Variant2? Type812 { get; set; } + public global::Baseten.SandboxPreviewConfigurationV1? Type812 { get; set; } /// /// /// - public global::Baseten.UpdateSandboxPreviewRequestV1? Type813 { get; set; } + public global::Baseten.CreateSandboxPreviewRequestV1? Type813 { get; set; } /// /// /// - public global::Baseten.SandboxPreviewV1? Type814 { get; set; } + public global::Baseten.CreateSandboxPreviewRequestV1Variant2? Type814 { get; set; } /// /// /// - public global::Baseten.SandboxPreviewV1Variant2? Type815 { get; set; } + public global::Baseten.UpdateSandboxPreviewRequestV1? Type815 { get; set; } /// /// /// - public global::Baseten.ListSandboxPreviewsResponseV1? Type816 { get; set; } + public global::Baseten.SandboxPreviewV1? Type816 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type817 { get; set; } + public global::Baseten.SandboxPreviewV1Variant2? Type817 { get; set; } /// /// /// - public global::Baseten.CreateSandboxPreviewTokenRequestV1? Type818 { get; set; } + public global::Baseten.ListSandboxPreviewsResponseV1? Type818 { get; set; } /// /// /// - public global::Baseten.SandboxPreviewTokenV1? Type819 { get; set; } + public global::System.Collections.Generic.IList? Type819 { get; set; } /// /// /// - public global::Baseten.ListSandboxPreviewTokensResponseV1? Type820 { get; set; } + public global::Baseten.CreateSandboxPreviewTokenRequestV1? Type820 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type821 { get; set; } + public global::Baseten.SandboxPreviewTokenV1? Type821 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type822 { get; set; } + public global::Baseten.ListSandboxPreviewTokensResponseV1? Type822 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type823 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type824 { get; set; } /// /// diff --git a/src/libs/Baseten/Generated/Baseten.Models.CreateEnvironmentRequestV1.g.cs b/src/libs/Baseten/Generated/Baseten.Models.CreateEnvironmentRequestV1.g.cs index ca8b1399..0226a01b 100644 --- a/src/libs/Baseten/Generated/Baseten.Models.CreateEnvironmentRequestV1.g.cs +++ b/src/libs/Baseten/Generated/Baseten.Models.CreateEnvironmentRequestV1.g.cs @@ -27,7 +27,7 @@ public sealed partial class CreateEnvironmentRequestV1 /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// [global::System.Text.Json.Serialization.JsonPropertyName("promotion_settings")] - public global::Baseten.UpdatePromotionSettingsV1? PromotionSettings { get; set; } + public global::Baseten.UpdateModelPromotionSettingsV1? PromotionSettings { get; set; } /// /// Request backpressure settings for the environment.
@@ -66,7 +66,7 @@ public sealed partial class CreateEnvironmentRequestV1 public CreateEnvironmentRequestV1( string name, global::Baseten.UpdateAutoscalingSettingsV1? autoscalingSettings, - global::Baseten.UpdatePromotionSettingsV1? promotionSettings, + global::Baseten.UpdateModelPromotionSettingsV1? promotionSettings, global::Baseten.UpdateRequestBackpressureSettingsV1? requestBackpressureSettings) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); diff --git a/src/libs/Baseten/Generated/Baseten.Models.EnvironmentV1.g.cs b/src/libs/Baseten/Generated/Baseten.Models.EnvironmentV1.g.cs index f19068a6..5737c647 100644 --- a/src/libs/Baseten/Generated/Baseten.Models.EnvironmentV1.g.cs +++ b/src/libs/Baseten/Generated/Baseten.Models.EnvironmentV1.g.cs @@ -61,7 +61,7 @@ public sealed partial class EnvironmentV1 ///
[global::System.Text.Json.Serialization.JsonPropertyName("promotion_settings")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Baseten.PromotionSettingsV1 PromotionSettings { get; set; } + public required global::Baseten.ModelPromotionSettingsV1 PromotionSettings { get; set; } /// /// Instance type for the environment @@ -137,7 +137,7 @@ public EnvironmentV1( global::System.DateTime createdAt, string modelId, global::Baseten.AutoscalingSettingsV1 autoscalingSettings, - global::Baseten.PromotionSettingsV1 promotionSettings, + global::Baseten.ModelPromotionSettingsV1 promotionSettings, global::Baseten.InstanceTypeV1 instanceType, global::Baseten.RequestBackpressureSettingsV1 requestBackpressureSettings, global::Baseten.DeploymentV1? currentDeployment, diff --git a/src/libs/Baseten/Generated/Baseten.Models.ModelPromotionSettingsV1.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ModelPromotionSettingsV1.Json.g.cs new file mode 100644 index 00000000..18630d5c --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ModelPromotionSettingsV1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class ModelPromotionSettingsV1 + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Baseten.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Baseten.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.ModelPromotionSettingsV1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.ModelPromotionSettingsV1), + jsonSerializerContext) as global::Baseten.ModelPromotionSettingsV1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Baseten.ModelPromotionSettingsV1? FromJson( + string json) + { + return FromJson( + json, + global::Baseten.SourceGenerationContext.Default); + } + + /// + /// 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::Baseten.ModelPromotionSettingsV1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Baseten.SourceGenerationContext.Default); + } + + 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::Baseten.ModelPromotionSettingsV1), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.ModelPromotionSettingsV1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Baseten.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Baseten.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.ModelPromotionSettingsV1.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ModelPromotionSettingsV1.g.cs new file mode 100644 index 00000000..ef2f5940 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ModelPromotionSettingsV1.g.cs @@ -0,0 +1,105 @@ + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace Baseten +{ + /// + /// Promotion settings for promoting models + /// + public sealed partial class ModelPromotionSettingsV1 + { + /// + /// Whether to deploy on all promotions. Enabling this flag allows model code to safely handle environment-specific logic. When a deployment is promoted, a new deployment will be created with a copy of the image.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("redeploy_on_promotion")] + public bool? RedeployOnPromotion { get; set; } + + /// + /// Whether the environment should rely on rolling deploy orchestration.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("rolling_deploy")] + public bool? RollingDeploy { get; set; } + + /// + /// The cleanup strategy to use after a promotion completes.
+ /// Default Value: SCALE_TO_ZERO + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("promotion_cleanup_strategy")] + public global::Baseten.PromotionCleanupStrategyV1? PromotionCleanupStrategy { get; set; } + + /// + /// Rolling deploy configuration for promotions
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("rolling_deploy_config")] + public global::Baseten.RollingDeployConfigV1? RollingDeployConfig { get; set; } + + /// + /// Deprecated: models don't support canary promotions. Use `rolling_deploy`.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("ramp_up_while_promoting")] + [global::System.Obsolete("This property marked as deprecated.")] + public bool? RampUpWhilePromoting { get; set; } + + /// + /// Deprecated: models don't support canary promotions.
+ /// Default Value: 600 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("ramp_up_duration_seconds")] + [global::System.Obsolete("This property marked as deprecated.")] + public int? RampUpDurationSeconds { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Whether to deploy on all promotions. Enabling this flag allows model code to safely handle environment-specific logic. When a deployment is promoted, a new deployment will be created with a copy of the image.
+ /// Default Value: false + /// + /// + /// Whether the environment should rely on rolling deploy orchestration.
+ /// Default Value: false + /// + /// + /// The cleanup strategy to use after a promotion completes.
+ /// Default Value: SCALE_TO_ZERO + /// + /// + /// Rolling deploy configuration for promotions
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelPromotionSettingsV1( + bool? redeployOnPromotion, + bool? rollingDeploy, + global::Baseten.PromotionCleanupStrategyV1? promotionCleanupStrategy, + global::Baseten.RollingDeployConfigV1? rollingDeployConfig) + { + this.RedeployOnPromotion = redeployOnPromotion; + this.RollingDeploy = rollingDeploy; + this.PromotionCleanupStrategy = promotionCleanupStrategy; + this.RollingDeployConfig = rollingDeployConfig; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelPromotionSettingsV1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.UpdateEnvironmentRequestV1.g.cs b/src/libs/Baseten/Generated/Baseten.Models.UpdateEnvironmentRequestV1.g.cs index 921b1dc0..9085dba1 100644 --- a/src/libs/Baseten/Generated/Baseten.Models.UpdateEnvironmentRequestV1.g.cs +++ b/src/libs/Baseten/Generated/Baseten.Models.UpdateEnvironmentRequestV1.g.cs @@ -20,7 +20,7 @@ public sealed partial class UpdateEnvironmentRequestV1 /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 ///
[global::System.Text.Json.Serialization.JsonPropertyName("promotion_settings")] - public global::Baseten.UpdatePromotionSettingsV1? PromotionSettings { get; set; } + public global::Baseten.UpdateModelPromotionSettingsV1? PromotionSettings { get; set; } /// /// Partial autoscaling schedule collection update. Omitted collection fields and existing schedules are unchanged; each submitted schedule is a complete create or replacement.
@@ -66,7 +66,7 @@ public sealed partial class UpdateEnvironmentRequestV1 #endif public UpdateEnvironmentRequestV1( global::Baseten.UpdateAutoscalingSettingsV1? autoscalingSettings, - global::Baseten.UpdatePromotionSettingsV1? promotionSettings, + global::Baseten.UpdateModelPromotionSettingsV1? promotionSettings, global::Baseten.UpdateAutoscalingScheduleSettingsV1? autoscalingScheduleSettings, global::Baseten.UpdateRequestBackpressureSettingsV1? requestBackpressureSettings) { diff --git a/src/libs/Baseten/Generated/Baseten.Models.UpdateModelPromotionSettingsV1.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.UpdateModelPromotionSettingsV1.Json.g.cs new file mode 100644 index 00000000..9094dac8 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.UpdateModelPromotionSettingsV1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class UpdateModelPromotionSettingsV1 + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Baseten.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Baseten.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.UpdateModelPromotionSettingsV1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.UpdateModelPromotionSettingsV1), + jsonSerializerContext) as global::Baseten.UpdateModelPromotionSettingsV1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Baseten.UpdateModelPromotionSettingsV1? FromJson( + string json) + { + return FromJson( + json, + global::Baseten.SourceGenerationContext.Default); + } + + /// + /// 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::Baseten.UpdateModelPromotionSettingsV1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Baseten.SourceGenerationContext.Default); + } + + 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::Baseten.UpdateModelPromotionSettingsV1), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.UpdateModelPromotionSettingsV1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Baseten.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Baseten.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.UpdateModelPromotionSettingsV1.g.cs b/src/libs/Baseten/Generated/Baseten.Models.UpdateModelPromotionSettingsV1.g.cs new file mode 100644 index 00000000..93def7fc --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.UpdateModelPromotionSettingsV1.g.cs @@ -0,0 +1,105 @@ + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace Baseten +{ + /// + /// Promotion settings to update for a model environment + /// + public sealed partial class UpdateModelPromotionSettingsV1 + { + /// + /// Whether to deploy on all promotions. Enabling this flag allows model code to safely handle environment-specific logic. When a deployment is promoted, a new deployment will be created with a copy of the image.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("redeploy_on_promotion")] + public bool? RedeployOnPromotion { get; set; } + + /// + /// Whether the environment should rely on rolling deploy orchestration.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("rolling_deploy")] + public bool? RollingDeploy { get; set; } + + /// + /// The cleanup strategy to use after a promotion completes.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("promotion_cleanup_strategy")] + public global::Baseten.PromotionCleanupStrategyV1? PromotionCleanupStrategy { get; set; } + + /// + /// Rolling deploy configuration for promotions
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("rolling_deploy_config")] + public global::Baseten.UpdateRollingDeployConfigV1? RollingDeployConfig { get; set; } + + /// + /// Deprecated: models don't support canary promotions, and `true` is rejected. Use `rolling_deploy`.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("ramp_up_while_promoting")] + [global::System.Obsolete("This property marked as deprecated.")] + public bool? RampUpWhilePromoting { get; set; } + + /// + /// Deprecated: models don't support canary promotions.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("ramp_up_duration_seconds")] + [global::System.Obsolete("This property marked as deprecated.")] + public int? RampUpDurationSeconds { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Whether to deploy on all promotions. Enabling this flag allows model code to safely handle environment-specific logic. When a deployment is promoted, a new deployment will be created with a copy of the image.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Whether the environment should rely on rolling deploy orchestration.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// The cleanup strategy to use after a promotion completes.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Rolling deploy configuration for promotions
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateModelPromotionSettingsV1( + bool? redeployOnPromotion, + bool? rollingDeploy, + global::Baseten.PromotionCleanupStrategyV1? promotionCleanupStrategy, + global::Baseten.UpdateRollingDeployConfigV1? rollingDeployConfig) + { + this.RedeployOnPromotion = redeployOnPromotion; + this.RollingDeploy = rollingDeploy; + this.PromotionCleanupStrategy = promotionCleanupStrategy; + this.RollingDeployConfig = rollingDeployConfig; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateModelPromotionSettingsV1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/openapi.yaml b/src/libs/Baseten/openapi.yaml index 0dbd7251..5e1b7817 100644 --- a/src/libs/Baseten/openapi.yaml +++ b/src/libs/Baseten/openapi.yaml @@ -3953,11 +3953,11 @@ "x-codeSamples": [ { "lang": "bash", - "source": "curl --request POST \\\n--url https://api.baseten.co/v1/models/{model_id}/environments \\\n--header \"Authorization: Bearer $BASETEN_API_KEY\" \\\n--data '{\n \"name\": \"staging\",\n \"autoscaling_settings\": {\n \"autoscaling_window\": 800,\n \"concurrency_target\": 3,\n \"max_replica\": 2,\n \"max_scale_down_rate\": null,\n \"min_replica\": 1,\n \"scale_down_delay\": 60,\n \"target_in_flight_tokens\": null,\n \"target_utilization_percentage\": null\n },\n \"promotion_settings\": {\n \"promotion_cleanup_strategy\": null,\n \"ramp_up_duration_seconds\": 600,\n \"ramp_up_while_promoting\": true,\n \"redeploy_on_promotion\": true,\n \"rolling_deploy\": false,\n \"rolling_deploy_config\": null\n },\n \"request_backpressure_settings\": null\n}'" + "source": "curl --request POST \\\n--url https://api.baseten.co/v1/models/{model_id}/environments \\\n--header \"Authorization: Bearer $BASETEN_API_KEY\" \\\n--data '{\n \"name\": \"staging\",\n \"autoscaling_settings\": {\n \"autoscaling_window\": 800,\n \"concurrency_target\": 3,\n \"max_replica\": 2,\n \"max_scale_down_rate\": null,\n \"min_replica\": 1,\n \"scale_down_delay\": 60,\n \"target_in_flight_tokens\": null,\n \"target_utilization_percentage\": null\n },\n \"promotion_settings\": {\n \"promotion_cleanup_strategy\": null,\n \"ramp_up_duration_seconds\": null,\n \"ramp_up_while_promoting\": null,\n \"redeploy_on_promotion\": true,\n \"rolling_deploy\": false,\n \"rolling_deploy_config\": null\n },\n \"request_backpressure_settings\": null\n}'" }, { "lang": "python", - "source": "import requests\nimport os\nAPI_KEY = os.environ.get(\"BASETEN_API_KEY\", \"\")\nurl = \"https://api.baseten.co/v1/models/{model_id}/environments\"\n\nheaders = {\"Authorization\": f\"Bearer {API_KEY}\"}\n\nresponse = requests.request(\n \"POST\",\n url,\n headers=headers,\n json={'name': 'staging', 'autoscaling_settings': {'autoscaling_window': 800, 'concurrency_target': 3, 'max_replica': 2, 'max_scale_down_rate': None, 'min_replica': 1, 'scale_down_delay': 60, 'target_in_flight_tokens': None, 'target_utilization_percentage': None}, 'promotion_settings': {'promotion_cleanup_strategy': None, 'ramp_up_duration_seconds': 600, 'ramp_up_while_promoting': True, 'redeploy_on_promotion': True, 'rolling_deploy': False, 'rolling_deploy_config': None}, 'request_backpressure_settings': None}\n)\n\nprint(response.text)" + "source": "import requests\nimport os\nAPI_KEY = os.environ.get(\"BASETEN_API_KEY\", \"\")\nurl = \"https://api.baseten.co/v1/models/{model_id}/environments\"\n\nheaders = {\"Authorization\": f\"Bearer {API_KEY}\"}\n\nresponse = requests.request(\n \"POST\",\n url,\n headers=headers,\n json={'name': 'staging', 'autoscaling_settings': {'autoscaling_window': 800, 'concurrency_target': 3, 'max_replica': 2, 'max_scale_down_rate': None, 'min_replica': 1, 'scale_down_delay': 60, 'target_in_flight_tokens': None, 'target_utilization_percentage': None}, 'promotion_settings': {'promotion_cleanup_strategy': None, 'ramp_up_duration_seconds': None, 'ramp_up_while_promoting': None, 'redeploy_on_promotion': True, 'rolling_deploy': False, 'rolling_deploy_config': None}, 'request_backpressure_settings': None}\n)\n\nprint(response.text)" } ], "description": "Creates an environment for the specified model and returns the environment.", @@ -4051,11 +4051,11 @@ "x-codeSamples": [ { "lang": "bash", - "source": "curl --request PATCH \\\n--url https://api.baseten.co/v1/models/{model_id}/environments/{env_name} \\\n--header \"Authorization: Bearer $BASETEN_API_KEY\" \\\n--data '{\n \"autoscaling_settings\": {\n \"autoscaling_window\": 800,\n \"concurrency_target\": 3,\n \"max_replica\": 2,\n \"max_scale_down_rate\": null,\n \"min_replica\": 1,\n \"scale_down_delay\": 60,\n \"target_in_flight_tokens\": null,\n \"target_utilization_percentage\": null\n },\n \"promotion_settings\": {\n \"promotion_cleanup_strategy\": null,\n \"ramp_up_duration_seconds\": 600,\n \"ramp_up_while_promoting\": true,\n \"redeploy_on_promotion\": true,\n \"rolling_deploy\": null,\n \"rolling_deploy_config\": null\n },\n \"autoscaling_schedule_settings\": {\n \"schedules\": [\n {\n \"autoscaling_settings\": {\n \"autoscaling_window\": null,\n \"concurrency_target\": null,\n \"max_replica\": 8,\n \"max_scale_down_rate\": null,\n \"min_replica\": 2,\n \"scale_down_delay\": null,\n \"target_in_flight_tokens\": null,\n \"target_utilization_percentage\": null\n },\n \"cadence\": \"DAILY\",\n \"enabled\": true,\n \"end_hour\": 10,\n \"end_minute\": 0,\n \"name\": \"weekday-peak\",\n \"start_hour\": 8,\n \"start_minute\": 0,\n \"weekdays\": [\n \"MONDAY\",\n \"TUESDAY\",\n \"WEDNESDAY\",\n \"THURSDAY\",\n \"FRIDAY\"\n ]\n }\n ],\n \"timezone\": \"America/Los_Angeles\"\n },\n \"request_backpressure_settings\": {\n \"policy\": \"REJECT_ON_FULL\"\n }\n}'" + "source": "curl --request PATCH \\\n--url https://api.baseten.co/v1/models/{model_id}/environments/{env_name} \\\n--header \"Authorization: Bearer $BASETEN_API_KEY\" \\\n--data '{\n \"autoscaling_settings\": {\n \"autoscaling_window\": 800,\n \"concurrency_target\": 3,\n \"max_replica\": 2,\n \"max_scale_down_rate\": null,\n \"min_replica\": 1,\n \"scale_down_delay\": 60,\n \"target_in_flight_tokens\": null,\n \"target_utilization_percentage\": null\n },\n \"promotion_settings\": {\n \"promotion_cleanup_strategy\": null,\n \"ramp_up_duration_seconds\": null,\n \"ramp_up_while_promoting\": null,\n \"redeploy_on_promotion\": true,\n \"rolling_deploy\": true,\n \"rolling_deploy_config\": null\n },\n \"autoscaling_schedule_settings\": {\n \"schedules\": [\n {\n \"autoscaling_settings\": {\n \"autoscaling_window\": null,\n \"concurrency_target\": null,\n \"max_replica\": 8,\n \"max_scale_down_rate\": null,\n \"min_replica\": 2,\n \"scale_down_delay\": null,\n \"target_in_flight_tokens\": null,\n \"target_utilization_percentage\": null\n },\n \"cadence\": \"DAILY\",\n \"enabled\": true,\n \"end_hour\": 10,\n \"end_minute\": 0,\n \"name\": \"weekday-peak\",\n \"start_hour\": 8,\n \"start_minute\": 0,\n \"weekdays\": [\n \"MONDAY\",\n \"TUESDAY\",\n \"WEDNESDAY\",\n \"THURSDAY\",\n \"FRIDAY\"\n ]\n }\n ],\n \"timezone\": \"America/Los_Angeles\"\n },\n \"request_backpressure_settings\": {\n \"policy\": \"REJECT_ON_FULL\"\n }\n}'" }, { "lang": "python", - "source": "import requests\nimport os\nAPI_KEY = os.environ.get(\"BASETEN_API_KEY\", \"\")\nurl = \"https://api.baseten.co/v1/models/{model_id}/environments/{env_name}\"\n\nheaders = {\"Authorization\": f\"Bearer {API_KEY}\"}\n\nresponse = requests.request(\n \"PATCH\",\n url,\n headers=headers,\n json={'autoscaling_settings': {'autoscaling_window': 800, 'concurrency_target': 3, 'max_replica': 2, 'max_scale_down_rate': None, 'min_replica': 1, 'scale_down_delay': 60, 'target_in_flight_tokens': None, 'target_utilization_percentage': None}, 'promotion_settings': {'promotion_cleanup_strategy': None, 'ramp_up_duration_seconds': 600, 'ramp_up_while_promoting': True, 'redeploy_on_promotion': True, 'rolling_deploy': None, 'rolling_deploy_config': None}, 'autoscaling_schedule_settings': {'schedules': [{'autoscaling_settings': {'autoscaling_window': None, 'concurrency_target': None, 'max_replica': 8, 'max_scale_down_rate': None, 'min_replica': 2, 'scale_down_delay': None, 'target_in_flight_tokens': None, 'target_utilization_percentage': None}, 'cadence': 'DAILY', 'enabled': True, 'end_hour': 10, 'end_minute': 0, 'name': 'weekday-peak', 'start_hour': 8, 'start_minute': 0, 'weekdays': ['MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY']}], 'timezone': 'America/Los_Angeles'}, 'request_backpressure_settings': {'policy': 'REJECT_ON_FULL'}}\n)\n\nprint(response.text)" + "source": "import requests\nimport os\nAPI_KEY = os.environ.get(\"BASETEN_API_KEY\", \"\")\nurl = \"https://api.baseten.co/v1/models/{model_id}/environments/{env_name}\"\n\nheaders = {\"Authorization\": f\"Bearer {API_KEY}\"}\n\nresponse = requests.request(\n \"PATCH\",\n url,\n headers=headers,\n json={'autoscaling_settings': {'autoscaling_window': 800, 'concurrency_target': 3, 'max_replica': 2, 'max_scale_down_rate': None, 'min_replica': 1, 'scale_down_delay': 60, 'target_in_flight_tokens': None, 'target_utilization_percentage': None}, 'promotion_settings': {'promotion_cleanup_strategy': None, 'ramp_up_duration_seconds': None, 'ramp_up_while_promoting': None, 'redeploy_on_promotion': True, 'rolling_deploy': True, 'rolling_deploy_config': None}, 'autoscaling_schedule_settings': {'schedules': [{'autoscaling_settings': {'autoscaling_window': None, 'concurrency_target': None, 'max_replica': 8, 'max_scale_down_rate': None, 'min_replica': 2, 'scale_down_delay': None, 'target_in_flight_tokens': None, 'target_utilization_percentage': None}, 'cadence': 'DAILY', 'enabled': True, 'end_hour': 10, 'end_minute': 0, 'name': 'weekday-peak', 'start_hour': 8, 'start_minute': 0, 'weekdays': ['MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY']}], 'timezone': 'America/Los_Angeles'}, 'request_backpressure_settings': {'policy': 'REJECT_ON_FULL'}}\n)\n\nprint(response.text)" } ], "description": "Asynchronously updates an environment's settings. Poll the GET endpoint for the applied state.", @@ -23473,7 +23473,7 @@ "description": "Autoscaling settings for the environment" }, "promotion_settings": { - "$ref": "#/components/schemas/PromotionSettingsV1", + "$ref": "#/components/schemas/ModelPromotionSettingsV1", "description": "Promotion settings for the environment" }, "instance_type": { @@ -23569,60 +23569,8 @@ "title": "InProgressPromotionV1", "type": "object" }, - "OneTimeAutoscalingScheduleV1": { - "properties": { - "id": { - "description": "Stable unique identifier of the schedule", - "title": "Id", - "type": "string" - }, - "name": { - "description": "Name of the schedule", - "title": "Name", - "type": "string" - }, - "enabled": { - "description": "Whether the schedule is enabled", - "title": "Enabled", - "type": "boolean" - }, - "autoscaling_settings": { - "$ref": "#/components/schemas/AutoscalingScheduleSettingsV1", - "description": "Raw autoscaling overrides applied during the schedule window" - }, - "cadence": { - "const": "ONE_TIME", - "description": "One-time schedule cadence", - "title": "Cadence", - "type": "string" - }, - "start_at": { - "description": "Inclusive start of the schedule window", - "format": "date-time", - "title": "Start At", - "type": "string" - }, - "end_at": { - "description": "Exclusive end of the schedule window", - "format": "date-time", - "title": "End At", - "type": "string" - } - }, - "required": [ - "id", - "name", - "enabled", - "autoscaling_settings", - "cadence", - "start_at", - "end_at" - ], - "title": "OneTimeAutoscalingScheduleV1", - "type": "object" - }, - "PromotionSettingsV1": { - "description": "Promotion settings for promoting chains and oracles", + "ModelPromotionSettingsV1": { + "description": "Promotion settings for promoting models", "properties": { "redeploy_on_promotion": { "anyOf": [ @@ -23693,10 +23641,8 @@ } ], "default": false, - "description": "Whether to ramp up traffic while promoting", - "examples": [ - true - ], + "deprecated": true, + "description": "Deprecated: models don't support canary promotions. Use `rolling_deploy`.", "title": "Ramp Up While Promoting" }, "ramp_up_duration_seconds": { @@ -23709,14 +23655,64 @@ } ], "default": 600, - "description": "Duration of the ramp up in seconds", - "examples": [ - 600 - ], + "deprecated": true, + "description": "Deprecated: models don't support canary promotions.", "title": "Ramp Up Duration Seconds" } }, - "title": "PromotionSettingsV1", + "title": "ModelPromotionSettingsV1", + "type": "object" + }, + "OneTimeAutoscalingScheduleV1": { + "properties": { + "id": { + "description": "Stable unique identifier of the schedule", + "title": "Id", + "type": "string" + }, + "name": { + "description": "Name of the schedule", + "title": "Name", + "type": "string" + }, + "enabled": { + "description": "Whether the schedule is enabled", + "title": "Enabled", + "type": "boolean" + }, + "autoscaling_settings": { + "$ref": "#/components/schemas/AutoscalingScheduleSettingsV1", + "description": "Raw autoscaling overrides applied during the schedule window" + }, + "cadence": { + "const": "ONE_TIME", + "description": "One-time schedule cadence", + "title": "Cadence", + "type": "string" + }, + "start_at": { + "description": "Inclusive start of the schedule window", + "format": "date-time", + "title": "Start At", + "type": "string" + }, + "end_at": { + "description": "Exclusive end of the schedule window", + "format": "date-time", + "title": "End At", + "type": "string" + } + }, + "required": [ + "id", + "name", + "enabled", + "autoscaling_settings", + "cadence", + "start_at", + "end_at" + ], + "title": "OneTimeAutoscalingScheduleV1", "type": "object" }, "RollingDeployConfigV1": { @@ -23787,6 +23783,100 @@ "title": "EnvironmentsV1", "type": "object" }, + "UpdateModelPromotionSettingsV1": { + "description": "Promotion settings to update for a model environment", + "properties": { + "redeploy_on_promotion": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Whether to deploy on all promotions. Enabling this flag allows model code to safely handle environment-specific logic. When a deployment is promoted, a new deployment will be created with a copy of the image.", + "examples": [ + true + ], + "title": "Redeploy On Promotion" + }, + "rolling_deploy": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Whether the environment should rely on rolling deploy orchestration.", + "examples": [ + true + ], + "title": "Rolling Deploy" + }, + "promotion_cleanup_strategy": { + "anyOf": [ + { + "$ref": "#/components/schemas/PromotionCleanupStrategyV1" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The cleanup strategy to use after a promotion completes.", + "examples": [ + "SCALE_TO_ZERO" + ] + }, + "rolling_deploy_config": { + "anyOf": [ + { + "$ref": "#/components/schemas/UpdateRollingDeployConfigV1" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Rolling deploy configuration for promotions" + }, + "ramp_up_while_promoting": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "default": null, + "deprecated": true, + "description": "Deprecated: models don't support canary promotions, and `true` is rejected. Use `rolling_deploy`.", + "title": "Ramp Up While Promoting" + }, + "ramp_up_duration_seconds": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "deprecated": true, + "description": "Deprecated: models don't support canary promotions.", + "title": "Ramp Up Duration Seconds" + } + }, + "title": "UpdateModelPromotionSettingsV1", + "type": "object" + }, "CreateEnvironmentRequestV1": { "description": "A request to create an environment.", "properties": { @@ -23825,7 +23915,7 @@ "promotion_settings": { "anyOf": [ { - "$ref": "#/components/schemas/UpdatePromotionSettingsV1" + "$ref": "#/components/schemas/UpdateModelPromotionSettingsV1" }, { "type": "null" @@ -23836,8 +23926,8 @@ "examples": [ { "promotion_cleanup_strategy": null, - "ramp_up_duration_seconds": 600, - "ramp_up_while_promoting": true, + "ramp_up_duration_seconds": null, + "ramp_up_while_promoting": null, "redeploy_on_promotion": true, "rolling_deploy": false, "rolling_deploy_config": null @@ -23921,7 +24011,7 @@ "promotion_settings": { "anyOf": [ { - "$ref": "#/components/schemas/UpdatePromotionSettingsV1" + "$ref": "#/components/schemas/UpdateModelPromotionSettingsV1" }, { "type": "null" @@ -23932,10 +24022,10 @@ "examples": [ { "promotion_cleanup_strategy": null, - "ramp_up_duration_seconds": 600, - "ramp_up_while_promoting": true, + "ramp_up_duration_seconds": null, + "ramp_up_while_promoting": null, "redeploy_on_promotion": true, - "rolling_deploy": null, + "rolling_deploy": true, "rolling_deploy_config": null } ] @@ -24748,6 +24838,104 @@ "title": "ChainletEnvironmentSettingsV1", "type": "object" }, + "PromotionSettingsV1": { + "description": "Promotion settings for promoting chains and oracles", + "properties": { + "redeploy_on_promotion": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "default": false, + "description": "Whether to deploy on all promotions. Enabling this flag allows model code to safely handle environment-specific logic. When a deployment is promoted, a new deployment will be created with a copy of the image.", + "examples": [ + true + ], + "title": "Redeploy On Promotion" + }, + "rolling_deploy": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "default": false, + "description": "Whether the environment should rely on rolling deploy orchestration.", + "examples": [ + true + ], + "title": "Rolling Deploy" + }, + "promotion_cleanup_strategy": { + "anyOf": [ + { + "$ref": "#/components/schemas/PromotionCleanupStrategyV1" + }, + { + "type": "null" + } + ], + "default": "SCALE_TO_ZERO", + "description": "The cleanup strategy to use after a promotion completes.", + "examples": [ + "SCALE_TO_ZERO" + ] + }, + "rolling_deploy_config": { + "anyOf": [ + { + "$ref": "#/components/schemas/RollingDeployConfigV1" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Rolling deploy configuration for promotions" + }, + "ramp_up_while_promoting": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "default": false, + "description": "Whether to ramp up traffic while promoting", + "examples": [ + true + ], + "title": "Ramp Up While Promoting" + }, + "ramp_up_duration_seconds": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": 600, + "description": "Duration of the ramp up in seconds", + "examples": [ + 600 + ], + "title": "Ramp Up Duration Seconds" + } + }, + "title": "PromotionSettingsV1", + "type": "object" + }, "ChainEnvironmentV1": { "description": "Environment for oracles.", "properties": {