diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs similarity index 76% rename from src/libs/Baseten/Generated/Baseten.BasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs rename to src/libs/Baseten/Generated/Baseten.BasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs index 7ec4371..6c467a6 100644 --- a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs +++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs @@ -7,7 +7,7 @@ public partial class BasetenClient { - private static readonly global::Baseten.EndPointSecurityRequirement s_CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirement0 = + private static readonly global::Baseten.EndPointSecurityRequirement s_GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirement0 = new global::Baseten.EndPointSecurityRequirement { Authorizations = new global::Baseten.EndPointAuthorizationRequirement[] @@ -21,28 +21,34 @@ public partial class BasetenClient }, }, }; - private static readonly global::Baseten.EndPointSecurityRequirement[] s_CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirements = + private static readonly global::Baseten.EndPointSecurityRequirement[] s_GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirements = new global::Baseten.EndPointSecurityRequirement[] - { s_CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirement0, + { s_GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirement0, }; - partial void PrepareCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsArguments( + partial void PrepareGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsArguments( global::System.Net.Http.HttpClient httpClient, + int? startEpochMillis, + int? endEpochMillis, + global::Baseten.SortOrderV1? direction, + int? limit, ref string chainId, ref string chainDeploymentId, - ref string chainletId, - global::Baseten.GetDeploymentLogsRequestV1 request); - partial void PrepareCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsRequest( + ref string chainletId); + partial void PrepareGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? startEpochMillis, + int? endEpochMillis, + global::Baseten.SortOrderV1? direction, + int? limit, string chainId, string chainDeploymentId, - string chainletId, - global::Baseten.GetDeploymentLogsRequestV1 request); - partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponse( + string chainletId); + partial void ProcessGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponseContent( + partial void ProcessGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -51,39 +57,48 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets /// Gets the logs for a chainlet within a chain deployment.
/// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: 500 + /// /// /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- public async global::System.Threading.Tasks.Task CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync( + public async global::System.Threading.Tasks.Task GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync( string chainId, string chainDeploymentId, string chainletId, - - global::Baseten.GetDeploymentLogsRequestV1 request, + int? startEpochMillis = default, + int? endEpochMillis = default, + global::Baseten.SortOrderV1? direction = default, + int? limit = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync( + var __response = await GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync( chainId: chainId, chainDeploymentId: chainDeploymentId, chainletId: chainletId, - - request: request, + startEpochMillis: startEpochMillis, + endEpochMillis: endEpochMillis, + direction: direction, + limit: limit, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -94,49 +109,57 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets /// Gets the logs for a chainlet within a chain deployment.
/// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: 500 + /// /// /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- public async global::System.Threading.Tasks.Task> CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync( + public async global::System.Threading.Tasks.Task> GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync( string chainId, string chainDeploymentId, string chainletId, - - global::Baseten.GetDeploymentLogsRequestV1 request, + int? startEpochMillis = default, + int? endEpochMillis = default, + global::Baseten.SortOrderV1? direction = default, + int? limit = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: HttpClient); - PrepareCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsArguments( + PrepareGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsArguments( httpClient: HttpClient, + startEpochMillis: startEpochMillis, + endEpochMillis: endEpochMillis, + direction: direction, + limit: limit, chainId: ref chainId, chainDeploymentId: ref chainDeploymentId, - chainletId: ref chainletId, - request: request); + chainletId: ref chainletId); var __authorizations = global::Baseten.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirements, - operationName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync"); + securityRequirements: s_GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirements, + operationName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync"); using var __timeoutCancellationTokenSource = global::Baseten.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,13 +181,19 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets var __pathBuilder = new global::Baseten.PathBuilder( path: $"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("start_epoch_millis", startEpochMillis?.ToString()) + .AddOptionalParameter("end_epoch_millis", endEpochMillis?.ToString()) + .AddOptionalParameter("direction", direction?.ToString()) + .AddOptionalParameter("limit", limit?.ToString()) + ; var __path = __pathBuilder.ToString(); __path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, clientParameters: Options.QueryParameters, requestParameters: requestOptions?.QueryParameters); var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Post, + method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); #if NET6_0_OR_GREATER __httpRequest.Version = global::System.Net.HttpVersion.Version11; @@ -187,12 +216,6 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } - var __httpRequestContentBody = request.ToJson(JsonSerializerContext); - var __httpRequestContent = new global::System.Net.Http.StringContent( - content: __httpRequestContentBody, - encoding: global::System.Text.Encoding.UTF8, - mediaType: "application/json"); - __httpRequest.Content = __httpRequestContent; global::Baseten.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -201,13 +224,16 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsRequest( + PrepareGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, + startEpochMillis: startEpochMillis, + endEpochMillis: endEpochMillis, + direction: direction, + limit: limit, chainId: chainId!, chainDeploymentId: chainDeploymentId!, - chainletId: chainletId!, - request: request); + chainletId: chainletId!); return __httpRequest; } @@ -224,10 +250,10 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets await global::Baseten.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs", - methodName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync", + operationId: "getChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs", + methodName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync", pathTemplate: "$\"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: null, @@ -258,10 +284,10 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs", - methodName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync", + operationId: "getChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs", + methodName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync", pathTemplate: "$\"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: null, @@ -299,10 +325,10 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs", - methodName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync", + operationId: "getChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs", + methodName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync", pathTemplate: "$\"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -339,7 +365,7 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets ProcessResponse( client: HttpClient, response: __response); - ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponse( + ProcessGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -347,10 +373,10 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs", - methodName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync", + operationId: "getChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs", + methodName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync", pathTemplate: "$\"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -369,10 +395,10 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs", - methodName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync", + operationId: "getChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs", + methodName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync", pathTemplate: "$\"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -399,7 +425,7 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets client: HttpClient, response: __response, content: ref __content); - ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponseContent( + ProcessGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -486,58 +512,5 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets __httpRequest?.Dispose(); } } - /// - /// Gets the logs for a chainlet within a chain deployment.
- /// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range. - ///
- /// - /// - /// - /// - /// Epoch millis timestamp to start fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 - /// - /// - /// Epoch millis timestamp to end fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 - /// - /// - /// Sort order for logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 - /// - /// - /// Limit of logs to fetch in a single request
- /// Default Value: 500 - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync( - string chainId, - string chainDeploymentId, - string chainletId, - int? startEpochMillis = default, - int? endEpochMillis = default, - global::Baseten.SortOrderV1? direction = default, - int? limit = default, - global::Baseten.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __request = new global::Baseten.GetDeploymentLogsRequestV1 - { - StartEpochMillis = startEpochMillis, - EndEpochMillis = endEpochMillis, - Direction = direction, - Limit = limit, - }; - - return await CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync( - chainId: chainId, - chainDeploymentId: chainDeploymentId, - chainletId: chainletId, - request: __request, - requestOptions: requestOptions, - cancellationToken: cancellationToken).ConfigureAwait(false); - } } } \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs index e67ce4d..be61888 100644 --- a/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs +++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs @@ -27,11 +27,13 @@ public partial class BasetenClient }; partial void PrepareGetModelsByModelIdDeploymentsByDeploymentIdConfigArguments( global::System.Net.Http.HttpClient httpClient, + ref global::Baseten.DeploymentConfigOutputFormat? outputFormat, ref string modelId, ref string deploymentId); partial void PrepareGetModelsByModelIdDeploymentsByDeploymentIdConfigRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Baseten.DeploymentConfigOutputFormat? outputFormat, string modelId, string deploymentId); partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponse( @@ -47,6 +49,9 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon /// Gets a deployment's config
/// Returns the deployment's config. `output_format` query param picks the shape: 'raw' (config.yaml text), 'parsed' (dict with defaults), or 'both' (default). /// + /// + /// Default Value: both + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -60,12 +65,14 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon public async global::System.Threading.Tasks.Task GetModelsByModelIdDeploymentsByDeploymentIdConfigAsync( string modelId, string deploymentId, + global::Baseten.DeploymentConfigOutputFormat? outputFormat = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await GetModelsByModelIdDeploymentsByDeploymentIdConfigAsResponseAsync( modelId: modelId, deploymentId: deploymentId, + outputFormat: outputFormat, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -76,6 +83,9 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon /// Gets a deployment's config
/// Returns the deployment's config. `output_format` query param picks the shape: 'raw' (config.yaml text), 'parsed' (dict with defaults), or 'both' (default). /// + /// + /// Default Value: both + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -89,6 +99,7 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon public async global::System.Threading.Tasks.Task> GetModelsByModelIdDeploymentsByDeploymentIdConfigAsResponseAsync( string modelId, string deploymentId, + global::Baseten.DeploymentConfigOutputFormat? outputFormat = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -96,6 +107,7 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon client: HttpClient); PrepareGetModelsByModelIdDeploymentsByDeploymentIdConfigArguments( httpClient: HttpClient, + outputFormat: ref outputFormat, modelId: ref modelId, deploymentId: ref deploymentId); @@ -125,6 +137,9 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon var __pathBuilder = new global::Baseten.PathBuilder( path: $"/v1/models/{modelId}/deployments/{deploymentId}/config", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("output_format", outputFormat?.ToValueString()) + ; var __path = __pathBuilder.ToString(); __path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -165,6 +180,7 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon PrepareGetModelsByModelIdDeploymentsByDeploymentIdConfigRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, + outputFormat: outputFormat, modelId: modelId!, deploymentId: deploymentId!); diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs similarity index 78% rename from src/libs/Baseten/Generated/Baseten.BasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs rename to src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs index f3f7c14..3f41ada 100644 --- a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs +++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs @@ -7,7 +7,7 @@ public partial class BasetenClient { - private static readonly global::Baseten.EndPointSecurityRequirement s_CreateModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirement0 = + private static readonly global::Baseten.EndPointSecurityRequirement s_GetModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirement0 = new global::Baseten.EndPointSecurityRequirement { Authorizations = new global::Baseten.EndPointAuthorizationRequirement[] @@ -21,26 +21,32 @@ public partial class BasetenClient }, }, }; - private static readonly global::Baseten.EndPointSecurityRequirement[] s_CreateModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirements = + private static readonly global::Baseten.EndPointSecurityRequirement[] s_GetModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirements = new global::Baseten.EndPointSecurityRequirement[] - { s_CreateModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirement0, + { s_GetModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirement0, }; - partial void PrepareCreateModelsByModelIdDeploymentsByDeploymentIdLogsArguments( + partial void PrepareGetModelsByModelIdDeploymentsByDeploymentIdLogsArguments( global::System.Net.Http.HttpClient httpClient, + int? startEpochMillis, + int? endEpochMillis, + global::Baseten.SortOrderV1? direction, + int? limit, ref string modelId, - ref string deploymentId, - global::Baseten.GetDeploymentLogsRequestV1 request); - partial void PrepareCreateModelsByModelIdDeploymentsByDeploymentIdLogsRequest( + ref string deploymentId); + partial void PrepareGetModelsByModelIdDeploymentsByDeploymentIdLogsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? startEpochMillis, + int? endEpochMillis, + global::Baseten.SortOrderV1? direction, + int? limit, string modelId, - string deploymentId, - global::Baseten.GetDeploymentLogsRequestV1 request); - partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponse( + string deploymentId); + partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdLogsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseContent( + partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdLogsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -49,36 +55,45 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo /// Gets the logs for a model deployment.
/// Gets all the logs for a model deployment in the given time range. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: 500 + /// /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- public async global::System.Threading.Tasks.Task CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync( + public async global::System.Threading.Tasks.Task GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync( string modelId, string deploymentId, - - global::Baseten.GetDeploymentLogsRequestV1 request, + int? startEpochMillis = default, + int? endEpochMillis = default, + global::Baseten.SortOrderV1? direction = default, + int? limit = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync( + var __response = await GetModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync( modelId: modelId, deploymentId: deploymentId, - - request: request, + startEpochMillis: startEpochMillis, + endEpochMillis: endEpochMillis, + direction: direction, + limit: limit, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -89,46 +104,54 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo /// Gets the logs for a model deployment.
/// Gets all the logs for a model deployment in the given time range. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: 500 + /// /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- public async global::System.Threading.Tasks.Task> CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync( + public async global::System.Threading.Tasks.Task> GetModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync( string modelId, string deploymentId, - - global::Baseten.GetDeploymentLogsRequestV1 request, + int? startEpochMillis = default, + int? endEpochMillis = default, + global::Baseten.SortOrderV1? direction = default, + int? limit = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: HttpClient); - PrepareCreateModelsByModelIdDeploymentsByDeploymentIdLogsArguments( + PrepareGetModelsByModelIdDeploymentsByDeploymentIdLogsArguments( httpClient: HttpClient, + startEpochMillis: startEpochMillis, + endEpochMillis: endEpochMillis, + direction: direction, + limit: limit, modelId: ref modelId, - deploymentId: ref deploymentId, - request: request); + deploymentId: ref deploymentId); var __authorizations = global::Baseten.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirements, - operationName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync"); + securityRequirements: s_GetModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirements, + operationName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync"); using var __timeoutCancellationTokenSource = global::Baseten.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -150,13 +173,19 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo var __pathBuilder = new global::Baseten.PathBuilder( path: $"/v1/models/{modelId}/deployments/{deploymentId}/logs", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("start_epoch_millis", startEpochMillis?.ToString()) + .AddOptionalParameter("end_epoch_millis", endEpochMillis?.ToString()) + .AddOptionalParameter("direction", direction?.ToString()) + .AddOptionalParameter("limit", limit?.ToString()) + ; var __path = __pathBuilder.ToString(); __path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, clientParameters: Options.QueryParameters, requestParameters: requestOptions?.QueryParameters); var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Post, + method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); #if NET6_0_OR_GREATER __httpRequest.Version = global::System.Net.HttpVersion.Version11; @@ -179,12 +208,6 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } - var __httpRequestContentBody = request.ToJson(JsonSerializerContext); - var __httpRequestContent = new global::System.Net.Http.StringContent( - content: __httpRequestContentBody, - encoding: global::System.Text.Encoding.UTF8, - mediaType: "application/json"); - __httpRequest.Content = __httpRequestContent; global::Baseten.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -193,12 +216,15 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateModelsByModelIdDeploymentsByDeploymentIdLogsRequest( + PrepareGetModelsByModelIdDeploymentsByDeploymentIdLogsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, + startEpochMillis: startEpochMillis, + endEpochMillis: endEpochMillis, + direction: direction, + limit: limit, modelId: modelId!, - deploymentId: deploymentId!, - request: request); + deploymentId: deploymentId!); return __httpRequest; } @@ -215,10 +241,10 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo await global::Baseten.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createModelsByModelIdDeploymentsByDeploymentIdLogs", - methodName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync", + operationId: "getModelsByModelIdDeploymentsByDeploymentIdLogs", + methodName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync", pathTemplate: "$\"/v1/models/{modelId}/deployments/{deploymentId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: null, @@ -249,10 +275,10 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createModelsByModelIdDeploymentsByDeploymentIdLogs", - methodName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync", + operationId: "getModelsByModelIdDeploymentsByDeploymentIdLogs", + methodName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync", pathTemplate: "$\"/v1/models/{modelId}/deployments/{deploymentId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: null, @@ -290,10 +316,10 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createModelsByModelIdDeploymentsByDeploymentIdLogs", - methodName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync", + operationId: "getModelsByModelIdDeploymentsByDeploymentIdLogs", + methodName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync", pathTemplate: "$\"/v1/models/{modelId}/deployments/{deploymentId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -330,7 +356,7 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo ProcessResponse( client: HttpClient, response: __response); - ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponse( + ProcessGetModelsByModelIdDeploymentsByDeploymentIdLogsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -338,10 +364,10 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createModelsByModelIdDeploymentsByDeploymentIdLogs", - methodName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync", + operationId: "getModelsByModelIdDeploymentsByDeploymentIdLogs", + methodName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync", pathTemplate: "$\"/v1/models/{modelId}/deployments/{deploymentId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -360,10 +386,10 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createModelsByModelIdDeploymentsByDeploymentIdLogs", - methodName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync", + operationId: "getModelsByModelIdDeploymentsByDeploymentIdLogs", + methodName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync", pathTemplate: "$\"/v1/models/{modelId}/deployments/{deploymentId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -390,7 +416,7 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo client: HttpClient, response: __response, content: ref __content); - ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseContent( + ProcessGetModelsByModelIdDeploymentsByDeploymentIdLogsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -477,55 +503,5 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo __httpRequest?.Dispose(); } } - /// - /// Gets the logs for a model deployment.
- /// Gets all the logs for a model deployment in the given time range. - ///
- /// - /// - /// - /// Epoch millis timestamp to start fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 - /// - /// - /// Epoch millis timestamp to end fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 - /// - /// - /// Sort order for logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 - /// - /// - /// Limit of logs to fetch in a single request
- /// Default Value: 500 - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync( - string modelId, - string deploymentId, - int? startEpochMillis = default, - int? endEpochMillis = default, - global::Baseten.SortOrderV1? direction = default, - int? limit = default, - global::Baseten.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __request = new global::Baseten.GetDeploymentLogsRequestV1 - { - StartEpochMillis = startEpochMillis, - EndEpochMillis = endEpochMillis, - Direction = direction, - Limit = limit, - }; - - return await CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync( - modelId: modelId, - deploymentId: deploymentId, - request: __request, - requestOptions: requestOptions, - cancellationToken: cancellationToken).ConfigureAwait(false); - } } } \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs index 1696f3a..3bbec7d 100644 --- a/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs +++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs @@ -27,11 +27,15 @@ public partial class BasetenClient }; partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesArguments( global::System.Net.Http.HttpClient httpClient, + ref int? pageSize, + ref int? pageToken, ref string trainingProjectId, ref string trainingJobId); partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? pageSize, + int? pageToken, string trainingProjectId, string trainingJobId); partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesResponse( @@ -47,6 +51,12 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe /// Get training job checkpoint files.
/// Get presigned URLs for all checkpoint files for a training job. /// + /// + /// Default Value: 1000 + /// + /// + /// Default Value: 0 + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -60,12 +70,16 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe public async global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesAsync( string trainingProjectId, string trainingJobId, + int? pageSize = default, + int? pageToken = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesAsResponseAsync( trainingProjectId: trainingProjectId, trainingJobId: trainingJobId, + pageSize: pageSize, + pageToken: pageToken, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -76,6 +90,12 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe /// Get training job checkpoint files.
/// Get presigned URLs for all checkpoint files for a training job. /// + /// + /// Default Value: 1000 + /// + /// + /// Default Value: 0 + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -89,6 +109,8 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe public async global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesAsResponseAsync( string trainingProjectId, string trainingJobId, + int? pageSize = default, + int? pageToken = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -96,6 +118,8 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe client: HttpClient); PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesArguments( httpClient: HttpClient, + pageSize: ref pageSize, + pageToken: ref pageToken, trainingProjectId: ref trainingProjectId, trainingJobId: ref trainingJobId); @@ -125,6 +149,10 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe var __pathBuilder = new global::Baseten.PathBuilder( path: $"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/checkpoint_files", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("page_size", pageSize?.ToString()) + .AddOptionalParameter("page_token", pageToken?.ToString()) + ; var __path = __pathBuilder.ToString(); __path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -165,6 +193,8 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, + pageSize: pageSize, + pageToken: pageToken, trainingProjectId: trainingProjectId!, trainingJobId: trainingJobId!); diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs similarity index 77% rename from src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs rename to src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs index bd0eba9..33eac4c 100644 --- a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs +++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs @@ -7,7 +7,7 @@ public partial class BasetenClient { - private static readonly global::Baseten.EndPointSecurityRequirement s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirement0 = + private static readonly global::Baseten.EndPointSecurityRequirement s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirement0 = new global::Baseten.EndPointSecurityRequirement { Authorizations = new global::Baseten.EndPointAuthorizationRequirement[] @@ -21,26 +21,32 @@ public partial class BasetenClient }, }, }; - private static readonly global::Baseten.EndPointSecurityRequirement[] s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirements = + private static readonly global::Baseten.EndPointSecurityRequirement[] s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirements = new global::Baseten.EndPointSecurityRequirement[] - { s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirement0, + { s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirement0, }; - partial void PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsArguments( + partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsArguments( global::System.Net.Http.HttpClient httpClient, + int? startEpochMillis, + int? endEpochMillis, + global::Baseten.SortOrderV1? direction, + int? limit, ref string trainingProjectId, - ref string trainingJobId, - global::Baseten.GetTrainingJobLogsRequestV1 request); - partial void PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsRequest( + ref string trainingJobId); + partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? startEpochMillis, + int? endEpochMillis, + global::Baseten.SortOrderV1? direction, + int? limit, string trainingProjectId, - string trainingJobId, - global::Baseten.GetTrainingJobLogsRequestV1 request); - partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponse( + string trainingJobId); + partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponseContent( + partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -49,36 +55,45 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId /// Get the logs for a training job.
/// Get the logs for a training job with the provided filters. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: 500 + /// /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- public async global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync( + public async global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync( string trainingProjectId, string trainingJobId, - - global::Baseten.GetTrainingJobLogsRequestV1 request, + int? startEpochMillis = default, + int? endEpochMillis = default, + global::Baseten.SortOrderV1? direction = default, + int? limit = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync( + var __response = await GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync( trainingProjectId: trainingProjectId, trainingJobId: trainingJobId, - - request: request, + startEpochMillis: startEpochMillis, + endEpochMillis: endEpochMillis, + direction: direction, + limit: limit, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -89,46 +104,54 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId /// Get the logs for a training job.
/// Get the logs for a training job with the provided filters. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: 500 + /// /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- public async global::System.Threading.Tasks.Task> CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync( + public async global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync( string trainingProjectId, string trainingJobId, - - global::Baseten.GetTrainingJobLogsRequestV1 request, + int? startEpochMillis = default, + int? endEpochMillis = default, + global::Baseten.SortOrderV1? direction = default, + int? limit = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: HttpClient); - PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsArguments( + PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsArguments( httpClient: HttpClient, + startEpochMillis: startEpochMillis, + endEpochMillis: endEpochMillis, + direction: direction, + limit: limit, trainingProjectId: ref trainingProjectId, - trainingJobId: ref trainingJobId, - request: request); + trainingJobId: ref trainingJobId); var __authorizations = global::Baseten.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirements, - operationName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync"); + securityRequirements: s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirements, + operationName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync"); using var __timeoutCancellationTokenSource = global::Baseten.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -150,13 +173,19 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId var __pathBuilder = new global::Baseten.PathBuilder( path: $"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("start_epoch_millis", startEpochMillis?.ToString()) + .AddOptionalParameter("end_epoch_millis", endEpochMillis?.ToString()) + .AddOptionalParameter("direction", direction?.ToString()) + .AddOptionalParameter("limit", limit?.ToString()) + ; var __path = __pathBuilder.ToString(); __path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, clientParameters: Options.QueryParameters, requestParameters: requestOptions?.QueryParameters); var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Post, + method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); #if NET6_0_OR_GREATER __httpRequest.Version = global::System.Net.HttpVersion.Version11; @@ -179,12 +208,6 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } - var __httpRequestContentBody = request.ToJson(JsonSerializerContext); - var __httpRequestContent = new global::System.Net.Http.StringContent( - content: __httpRequestContentBody, - encoding: global::System.Text.Encoding.UTF8, - mediaType: "application/json"); - __httpRequest.Content = __httpRequestContent; global::Baseten.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -193,12 +216,15 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsRequest( + PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, + startEpochMillis: startEpochMillis, + endEpochMillis: endEpochMillis, + direction: direction, + limit: limit, trainingProjectId: trainingProjectId!, - trainingJobId: trainingJobId!, - request: request); + trainingJobId: trainingJobId!); return __httpRequest; } @@ -215,10 +241,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId await global::Baseten.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs", - methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync", + operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs", + methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync", pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: null, @@ -249,10 +275,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs", - methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync", + operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs", + methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync", pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: null, @@ -290,10 +316,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs", - methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync", + operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs", + methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync", pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -330,7 +356,7 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId ProcessResponse( client: HttpClient, response: __response); - ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponse( + ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -338,10 +364,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs", - methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync", + operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs", + methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync", pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -360,10 +386,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs", - methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync", + operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs", + methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync", pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -390,7 +416,7 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId client: HttpClient, response: __response, content: ref __content); - ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponseContent( + ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -477,55 +503,5 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId __httpRequest?.Dispose(); } } - /// - /// Get the logs for a training job.
- /// Get the logs for a training job with the provided filters. - ///
- /// - /// - /// - /// Epoch millis timestamp to start fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 - /// - /// - /// Epoch millis timestamp to end fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 - /// - /// - /// Sort order for logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 - /// - /// - /// Limit of logs to fetch in a single request
- /// Default Value: 500 - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync( - string trainingProjectId, - string trainingJobId, - int? startEpochMillis = default, - int? endEpochMillis = default, - global::Baseten.SortOrderV1? direction = default, - int? limit = default, - global::Baseten.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __request = new global::Baseten.GetTrainingJobLogsRequestV1 - { - StartEpochMillis = startEpochMillis, - EndEpochMillis = endEpochMillis, - Direction = direction, - Limit = limit, - }; - - return await CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync( - trainingProjectId: trainingProjectId, - trainingJobId: trainingJobId, - request: __request, - requestOptions: requestOptions, - cancellationToken: cancellationToken).ConfigureAwait(false); - } } } \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs similarity index 77% rename from src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs rename to src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs index 8e17e41..0d98a07 100644 --- a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs +++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs @@ -7,7 +7,7 @@ public partial class BasetenClient { - private static readonly global::Baseten.EndPointSecurityRequirement s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirement0 = + private static readonly global::Baseten.EndPointSecurityRequirement s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirement0 = new global::Baseten.EndPointSecurityRequirement { Authorizations = new global::Baseten.EndPointAuthorizationRequirement[] @@ -21,26 +21,28 @@ public partial class BasetenClient }, }, }; - private static readonly global::Baseten.EndPointSecurityRequirement[] s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirements = + private static readonly global::Baseten.EndPointSecurityRequirement[] s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirements = new global::Baseten.EndPointSecurityRequirement[] - { s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirement0, + { s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirement0, }; - partial void PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsArguments( + partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsArguments( global::System.Net.Http.HttpClient httpClient, + int? endEpochMillis, + int? startEpochMillis, ref string trainingProjectId, - ref string trainingJobId, - global::Baseten.GetTrainingJobMetricsRequestV1 request); - partial void PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsRequest( + ref string trainingJobId); + partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? endEpochMillis, + int? startEpochMillis, string trainingProjectId, - string trainingJobId, - global::Baseten.GetTrainingJobMetricsRequestV1 request); - partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponse( + string trainingJobId); + partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponseContent( + partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -49,34 +51,35 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId /// Get the metrics for a training job.
/// Get the metrics for a training job. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "end_epoch_millis": null,
- /// "start_epoch_millis": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- public async global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync( + public async global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync( string trainingProjectId, string trainingJobId, - - global::Baseten.GetTrainingJobMetricsRequestV1 request, + int? endEpochMillis = default, + int? startEpochMillis = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync( + var __response = await GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync( trainingProjectId: trainingProjectId, trainingJobId: trainingJobId, - - request: request, + endEpochMillis: endEpochMillis, + startEpochMillis: startEpochMillis, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -87,44 +90,44 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId /// Get the metrics for a training job.
/// Get the metrics for a training job. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "end_epoch_millis": null,
- /// "start_epoch_millis": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- public async global::System.Threading.Tasks.Task> CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync( + public async global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync( string trainingProjectId, string trainingJobId, - - global::Baseten.GetTrainingJobMetricsRequestV1 request, + int? endEpochMillis = default, + int? startEpochMillis = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: HttpClient); - PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsArguments( + PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsArguments( httpClient: HttpClient, + endEpochMillis: endEpochMillis, + startEpochMillis: startEpochMillis, trainingProjectId: ref trainingProjectId, - trainingJobId: ref trainingJobId, - request: request); + trainingJobId: ref trainingJobId); var __authorizations = global::Baseten.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirements, - operationName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync"); + securityRequirements: s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirements, + operationName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync"); using var __timeoutCancellationTokenSource = global::Baseten.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -146,13 +149,17 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId var __pathBuilder = new global::Baseten.PathBuilder( path: $"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("end_epoch_millis", endEpochMillis?.ToString()) + .AddOptionalParameter("start_epoch_millis", startEpochMillis?.ToString()) + ; var __path = __pathBuilder.ToString(); __path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, clientParameters: Options.QueryParameters, requestParameters: requestOptions?.QueryParameters); var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Post, + method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); #if NET6_0_OR_GREATER __httpRequest.Version = global::System.Net.HttpVersion.Version11; @@ -175,12 +182,6 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); } } - var __httpRequestContentBody = request.ToJson(JsonSerializerContext); - var __httpRequestContent = new global::System.Net.Http.StringContent( - content: __httpRequestContentBody, - encoding: global::System.Text.Encoding.UTF8, - mediaType: "application/json"); - __httpRequest.Content = __httpRequestContent; global::Baseten.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -189,12 +190,13 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsRequest( + PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, + endEpochMillis: endEpochMillis, + startEpochMillis: startEpochMillis, trainingProjectId: trainingProjectId!, - trainingJobId: trainingJobId!, - request: request); + trainingJobId: trainingJobId!); return __httpRequest; } @@ -211,10 +213,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId await global::Baseten.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics", - methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync", + operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics", + methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync", pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: null, @@ -245,10 +247,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics", - methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync", + operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics", + methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync", pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: null, @@ -286,10 +288,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics", - methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync", + operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics", + methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync", pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -326,7 +328,7 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId ProcessResponse( client: HttpClient, response: __response); - ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponse( + ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -334,10 +336,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics", - methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync", + operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics", + methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync", pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -356,10 +358,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics", - methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync", + operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics", + methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync", pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics\"", - httpMethod: "POST", + httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, response: __response, @@ -386,7 +388,7 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId client: HttpClient, response: __response, content: ref __content); - ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponseContent( + ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -473,43 +475,5 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId __httpRequest?.Dispose(); } } - /// - /// Get the metrics for a training job.
- /// Get the metrics for a training job. - ///
- /// - /// - /// - /// Epoch millis timestamp to end fetching metrics
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 - /// - /// - /// Epoch millis timestamp to start fetching metrics.
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync( - string trainingProjectId, - string trainingJobId, - int? endEpochMillis = default, - int? startEpochMillis = default, - global::Baseten.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __request = new global::Baseten.GetTrainingJobMetricsRequestV1 - { - EndEpochMillis = endEpochMillis, - StartEpochMillis = startEpochMillis, - }; - - return await CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync( - trainingProjectId: trainingProjectId, - trainingJobId: trainingJobId, - request: __request, - requestOptions: requestOptions, - cancellationToken: cancellationToken).ConfigureAwait(false); - } } } \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs similarity index 57% rename from src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs rename to src/libs/Baseten/Generated/Baseten.IBasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs index 77ee8e1..a4ee9e1 100644 --- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs +++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs @@ -8,89 +8,67 @@ public partial interface IBasetenClient /// Gets the logs for a chainlet within a chain deployment.
/// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: 500 + /// /// /// /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - /// - /// curl --request POST \
- /// --url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' - ///
- global::System.Threading.Tasks.Task CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync( - string chainId, - string chainDeploymentId, - string chainletId, - - global::Baseten.GetDeploymentLogsRequestV1 request, - global::Baseten.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Gets the logs for a chainlet within a chain deployment.
- /// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range. - ///
- /// - /// - /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- global::System.Threading.Tasks.Task> CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync( + global::System.Threading.Tasks.Task GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync( string chainId, string chainDeploymentId, string chainletId, - - global::Baseten.GetDeploymentLogsRequestV1 request, + int? startEpochMillis = default, + int? endEpochMillis = default, + global::Baseten.SortOrderV1? direction = default, + int? limit = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Gets the logs for a chainlet within a chain deployment.
/// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range. ///
- /// - /// - /// /// - /// Epoch millis timestamp to start fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// - /// Epoch millis timestamp to end fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// - /// Sort order for logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// - /// Limit of logs to fetch in a single request
/// Default Value: 500 /// + /// + /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync( + /// + /// + /// curl --request GET \
+ /// --url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY" + ///
+ global::System.Threading.Tasks.Task> GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync( string chainId, string chainDeploymentId, string chainletId, diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs index 8d7052f..c690242 100644 --- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs +++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs @@ -8,6 +8,9 @@ public partial interface IBasetenClient /// Gets a deployment's config
/// Returns the deployment's config. `output_format` query param picks the shape: 'raw' (config.yaml text), 'parsed' (dict with defaults), or 'both' (default). /// + /// + /// Default Value: both + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -21,12 +24,16 @@ public partial interface IBasetenClient global::System.Threading.Tasks.Task GetModelsByModelIdDeploymentsByDeploymentIdConfigAsync( string modelId, string deploymentId, + global::Baseten.DeploymentConfigOutputFormat? outputFormat = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Gets a deployment's config
/// Returns the deployment's config. `output_format` query param picks the shape: 'raw' (config.yaml text), 'parsed' (dict with defaults), or 'both' (default). ///
+ /// + /// Default Value: both + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -40,6 +47,7 @@ public partial interface IBasetenClient global::System.Threading.Tasks.Task> GetModelsByModelIdDeploymentsByDeploymentIdConfigAsResponseAsync( string modelId, string deploymentId, + global::Baseten.DeploymentConfigOutputFormat? outputFormat = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs similarity index 56% rename from src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs rename to src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs index 845a836..392b1e8 100644 --- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs +++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs @@ -8,84 +8,64 @@ public partial interface IBasetenClient /// Gets the logs for a model deployment.
/// Gets all the logs for a model deployment in the given time range. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: 500 + /// /// /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - /// - /// curl --request POST \
- /// --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' - ///
- global::System.Threading.Tasks.Task CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync( - string modelId, - string deploymentId, - - global::Baseten.GetDeploymentLogsRequestV1 request, - global::Baseten.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Gets the logs for a model deployment.
- /// Gets all the logs for a model deployment in the given time range. - ///
- /// - /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- global::System.Threading.Tasks.Task> CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync( + global::System.Threading.Tasks.Task GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync( string modelId, string deploymentId, - - global::Baseten.GetDeploymentLogsRequestV1 request, + int? startEpochMillis = default, + int? endEpochMillis = default, + global::Baseten.SortOrderV1? direction = default, + int? limit = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Gets the logs for a model deployment.
/// Gets all the logs for a model deployment in the given time range. ///
- /// - /// /// - /// Epoch millis timestamp to start fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// - /// Epoch millis timestamp to end fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// - /// Sort order for logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// - /// Limit of logs to fetch in a single request
/// Default Value: 500 /// + /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync( + /// + /// + /// curl --request GET \
+ /// --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs \
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY" + ///
+ global::System.Threading.Tasks.Task> GetModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync( string modelId, string deploymentId, int? startEpochMillis = default, diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs index a64fbed..a296ebb 100644 --- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs +++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs @@ -8,6 +8,12 @@ public partial interface IBasetenClient /// Get training job checkpoint files.
/// Get presigned URLs for all checkpoint files for a training job. /// + /// + /// Default Value: 1000 + /// + /// + /// Default Value: 0 + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -21,12 +27,20 @@ public partial interface IBasetenClient global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesAsync( string trainingProjectId, string trainingJobId, + int? pageSize = default, + int? pageToken = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Get training job checkpoint files.
/// Get presigned URLs for all checkpoint files for a training job. ///
+ /// + /// Default Value: 1000 + /// + /// + /// Default Value: 0 + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -40,6 +54,8 @@ public partial interface IBasetenClient global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesAsResponseAsync( string trainingProjectId, string trainingJobId, + int? pageSize = default, + int? pageToken = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs similarity index 56% rename from src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs rename to src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs index ac0a0dc..5d87d1a 100644 --- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs +++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs @@ -8,84 +8,64 @@ public partial interface IBasetenClient /// Get the logs for a training job.
/// Get the logs for a training job with the provided filters. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: 500 + /// /// /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - /// - /// curl --request POST \
- /// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' - ///
- global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync( - string trainingProjectId, - string trainingJobId, - - global::Baseten.GetTrainingJobLogsRequestV1 request, - global::Baseten.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Get the logs for a training job.
- /// Get the logs for a training job with the provided filters. - ///
- /// - /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- global::System.Threading.Tasks.Task> CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync( + global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync( string trainingProjectId, string trainingJobId, - - global::Baseten.GetTrainingJobLogsRequestV1 request, + int? startEpochMillis = default, + int? endEpochMillis = default, + global::Baseten.SortOrderV1? direction = default, + int? limit = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Get the logs for a training job.
/// Get the logs for a training job with the provided filters. ///
- /// - /// /// - /// Epoch millis timestamp to start fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// - /// Epoch millis timestamp to end fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// - /// Sort order for logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// - /// Limit of logs to fetch in a single request
/// Default Value: 500 /// + /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync( + /// + /// + /// curl --request GET \
+ /// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs \
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY" + ///
+ global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync( string trainingProjectId, string trainingJobId, int? startEpochMillis = default, diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs similarity index 56% rename from src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs rename to src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs index 664cc9e..f02d982 100644 --- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs +++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs @@ -8,72 +8,50 @@ public partial interface IBasetenClient /// Get the metrics for a training job.
/// Get the metrics for a training job. /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// /// /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - /// - /// curl --request POST \
- /// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "end_epoch_millis": null,
- /// "start_epoch_millis": null
- /// }' - ///
- global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync( - string trainingProjectId, - string trainingJobId, - - global::Baseten.GetTrainingJobMetricsRequestV1 request, - global::Baseten.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Get the metrics for a training job.
- /// Get the metrics for a training job. - ///
- /// - /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// /// - /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "end_epoch_millis": null,
- /// "start_epoch_millis": null
- /// }' + /// --header "Authorization: Api-Key $BASETEN_API_KEY" ///
- global::System.Threading.Tasks.Task> CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync( + global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync( string trainingProjectId, string trainingJobId, - - global::Baseten.GetTrainingJobMetricsRequestV1 request, + int? endEpochMillis = default, + int? startEpochMillis = default, global::Baseten.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Get the metrics for a training job.
/// Get the metrics for a training job. ///
- /// - /// /// - /// Epoch millis timestamp to end fetching metrics
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// /// - /// Epoch millis timestamp to start fetching metrics.
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 /// + /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync( + /// + /// + /// curl --request GET \
+ /// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics \
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY" + ///
+ global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync( string trainingProjectId, string trainingJobId, int? endEpochMillis = default, diff --git a/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormat.g.cs b/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormat.g.cs new file mode 100644 index 0000000..e2ecbfe --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormat.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Baseten.JsonConverters +{ + /// + public sealed class DeploymentConfigOutputFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Baseten.DeploymentConfigOutputFormat Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Baseten.DeploymentConfigOutputFormatExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Baseten.DeploymentConfigOutputFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Baseten.DeploymentConfigOutputFormat); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Baseten.DeploymentConfigOutputFormat value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Baseten.DeploymentConfigOutputFormatExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormatNullable.g.cs b/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormatNullable.g.cs new file mode 100644 index 0000000..a8ef755 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormatNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Baseten.JsonConverters +{ + /// + public sealed class DeploymentConfigOutputFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Baseten.DeploymentConfigOutputFormat? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Baseten.DeploymentConfigOutputFormatExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Baseten.DeploymentConfigOutputFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Baseten.DeploymentConfigOutputFormat?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Baseten.DeploymentConfigOutputFormat? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Baseten.DeploymentConfigOutputFormatExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs b/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs index b391343..33acc08 100644 --- a/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs +++ b/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs @@ -29,6 +29,10 @@ namespace Baseten typeof(global::Baseten.JsonConverters.UpdateAutoscalingSettingsStatusV1NullableJsonConverter), + typeof(global::Baseten.JsonConverters.DeploymentConfigOutputFormatJsonConverter), + + typeof(global::Baseten.JsonConverters.DeploymentConfigOutputFormatNullableJsonConverter), + typeof(global::Baseten.JsonConverters.SortOrderV1JsonConverter), typeof(global::Baseten.JsonConverters.SortOrderV1NullableJsonConverter), @@ -199,11 +203,13 @@ namespace Baseten [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.RetryDeploymentResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.DownloadDeploymentResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.DeploymentConfigResponseV1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.SortOrderV1), TypeInfoPropertyName = "SortOrderV12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetDeploymentLogsRequestV1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.DeploymentConfigOutputFormat), TypeInfoPropertyName = "DeploymentConfigOutputFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetDeploymentConfigRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.LogV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetLogsResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.SortOrderV1), TypeInfoPropertyName = "SortOrderV12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetDeploymentLogsRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.TerminateReplicaResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.SignSSHCertificateRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.SignSSHCertificateResponseV1))] @@ -303,7 +309,6 @@ namespace Baseten [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.DownloadTrainingJobResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.RecreateTrainingJobResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobLogsRequestV1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobMetricsRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.StorageMetricsV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.TrainingJobMetricV1))] @@ -312,6 +317,7 @@ namespace Baseten [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.TrainingJobNodeMetricsV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobMetricsResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobMetricsRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.StopTrainingJobRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.StopTrainingJobResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.TrainingJobCheckpointV1))] @@ -320,6 +326,7 @@ namespace Baseten [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.CheckpointFile))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobCheckpointFilesResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobCheckpointFilesRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.AuthCodeV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetAuthCodesResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -366,6 +373,7 @@ namespace Baseten [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.LoopsSamplerV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ListLoopsRunsResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ListLoopsRunsQueryParamsV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.CreateLoopsRunRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.CreateLoopsRunResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetLoopsRunResponseV1))] @@ -377,6 +385,7 @@ namespace Baseten [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.LoopsCheckpointV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ListLoopsCheckpointsResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ListLoopsCheckpointsQueryParamsV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ValidateLoopsCheckpointRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ValidateLoopsCheckpointResponseV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.LoopsCheckpointFilesResponseV1))] @@ -436,6 +445,7 @@ namespace Baseten [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.TrainingUsageV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.UsageSummaryV1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.UsageSummaryRequestV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.UserInfoV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.EffectiveModelConfigV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] diff --git a/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs b/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs index 9ccc910..ab1adf5 100644 --- a/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs +++ b/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs @@ -248,11 +248,11 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Baseten.SortOrderV1? Type55 { get; set; } + public global::Baseten.DeploymentConfigOutputFormat? Type55 { get; set; } /// /// /// - public global::Baseten.GetDeploymentLogsRequestV1? Type56 { get; set; } + public global::Baseten.GetDeploymentConfigRequestV1? Type56 { get; set; } /// /// /// @@ -268,1063 +268,1087 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Baseten.TerminateReplicaResponseV1? Type60 { get; set; } + public global::Baseten.SortOrderV1? Type60 { get; set; } /// /// /// - public global::Baseten.SignSSHCertificateRequestV1? Type61 { get; set; } + public global::Baseten.GetDeploymentLogsRequestV1? Type61 { get; set; } /// /// /// - public global::Baseten.SignSSHCertificateResponseV1? Type62 { get; set; } + public global::Baseten.TerminateReplicaResponseV1? Type62 { get; set; } /// /// /// - public global::Baseten.EnvironmentV1? Type63 { get; set; } + public global::Baseten.SignSSHCertificateRequestV1? Type63 { get; set; } /// /// /// - public global::Baseten.InProgressPromotionV1? Type64 { get; set; } + public global::Baseten.SignSSHCertificateResponseV1? Type64 { get; set; } /// /// /// - public global::Baseten.PromotionSettingsV1? Type65 { get; set; } + public global::Baseten.EnvironmentV1? Type65 { get; set; } /// /// /// - public global::Baseten.InProgressPromotionStatusV1? Type66 { get; set; } + public global::Baseten.InProgressPromotionV1? Type66 { get; set; } /// /// /// - public global::Baseten.PromotionCleanupStrategyV1? Type67 { get; set; } + public global::Baseten.PromotionSettingsV1? Type67 { get; set; } /// /// /// - public global::Baseten.RollingDeployConfigV1? Type68 { get; set; } + public global::Baseten.InProgressPromotionStatusV1? Type68 { get; set; } /// /// /// - public global::Baseten.RollingDeployStrategyV1? Type69 { get; set; } + public global::Baseten.PromotionCleanupStrategyV1? Type69 { get; set; } /// /// /// - public global::Baseten.EnvironmentsV1? Type70 { get; set; } + public global::Baseten.RollingDeployConfigV1? Type70 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type71 { get; set; } + public global::Baseten.RollingDeployStrategyV1? Type71 { get; set; } /// /// /// - public global::Baseten.UpdatePromotionSettingsV1? Type72 { get; set; } + public global::Baseten.EnvironmentsV1? Type72 { get; set; } /// /// /// - public global::Baseten.UpdateRollingDeployConfigV1? Type73 { get; set; } + public global::System.Collections.Generic.IList? Type73 { get; set; } /// /// /// - public global::Baseten.CreateEnvironmentRequestV1? Type74 { get; set; } + public global::Baseten.UpdatePromotionSettingsV1? Type74 { get; set; } /// /// /// - public global::Baseten.UpdateEnvironmentRequestV1? Type75 { get; set; } + public global::Baseten.UpdateRollingDeployConfigV1? Type75 { get; set; } /// /// /// - public global::Baseten.PromoteToEnvironmentRequestV1? Type76 { get; set; } + public global::Baseten.CreateEnvironmentRequestV1? Type76 { get; set; } /// /// /// - public global::Baseten.CancelPromotionStatusV1? Type77 { get; set; } + public global::Baseten.UpdateEnvironmentRequestV1? Type77 { get; set; } /// /// /// - public global::Baseten.CancelPromotionResponseV1? Type78 { get; set; } + public global::Baseten.PromoteToEnvironmentRequestV1? Type78 { get; set; } /// /// /// - public global::Baseten.SignalPromotionResponseV1? Type79 { get; set; } + public global::Baseten.CancelPromotionStatusV1? Type79 { get; set; } /// /// /// - public global::Baseten.ChainV1? Type80 { get; set; } + public global::Baseten.CancelPromotionResponseV1? Type80 { get; set; } /// /// /// - public global::Baseten.ChainsV1? Type81 { get; set; } + public global::Baseten.SignalPromotionResponseV1? Type81 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type82 { get; set; } + public global::Baseten.ChainV1? Type82 { get; set; } /// /// /// - public global::Baseten.ChainTombstoneV1? Type83 { get; set; } + public global::Baseten.ChainsV1? Type83 { get; set; } /// /// /// - public global::Baseten.ChainDeploymentV1? Type84 { get; set; } + public global::System.Collections.Generic.IList? Type84 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type85 { get; set; } + public global::Baseten.ChainTombstoneV1? Type85 { get; set; } /// /// /// - public global::Baseten.ChainletV1? Type86 { get; set; } + public global::Baseten.ChainDeploymentV1? Type86 { get; set; } /// /// /// - public global::Baseten.ChainDeploymentsV1? Type87 { get; set; } + public global::System.Collections.Generic.IList? Type87 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type88 { get; set; } + public global::Baseten.ChainletV1? Type88 { get; set; } /// /// /// - public global::Baseten.ChainDeploymentTombstoneV1? Type89 { get; set; } + public global::Baseten.ChainDeploymentsV1? Type89 { get; set; } /// /// /// - public global::Baseten.ChainletEnvironmentSettingsRequestV1? Type90 { get; set; } + public global::System.Collections.Generic.IList? Type90 { get; set; } /// /// /// - public global::Baseten.CreateChainEnvironmentRequestV1? Type91 { get; set; } + public global::Baseten.ChainDeploymentTombstoneV1? Type91 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type92 { get; set; } + public global::Baseten.ChainletEnvironmentSettingsRequestV1? Type92 { get; set; } /// /// /// - public global::Baseten.ChainletEnvironmentSettingsV1? Type93 { get; set; } + public global::Baseten.CreateChainEnvironmentRequestV1? Type93 { get; set; } /// /// /// - public global::Baseten.ChainEnvironmentV1? Type94 { get; set; } + public global::System.Collections.Generic.IList? Type94 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type95 { get; set; } + public global::Baseten.ChainletEnvironmentSettingsV1? Type95 { get; set; } /// /// /// - public global::Baseten.UpdateChainEnvironmentRequestV1? Type96 { get; set; } + public global::Baseten.ChainEnvironmentV1? Type96 { get; set; } /// /// /// - public global::Baseten.UpdateChainEnvironmentResponseV1? Type97 { get; set; } + public global::System.Collections.Generic.IList? Type97 { get; set; } /// /// /// - public global::Baseten.PromoteToChainEnvironmentRequestV1? Type98 { get; set; } + public global::Baseten.UpdateChainEnvironmentRequestV1? Type98 { get; set; } /// /// /// - public global::Baseten.ChainletEnvironmentAutoscalingSettingsUpdateV1? Type99 { get; set; } + public global::Baseten.UpdateChainEnvironmentResponseV1? Type99 { get; set; } /// /// /// - public global::Baseten.UpdateChainletEnvironmentAutoscalingSettingsRequestV1? Type100 { get; set; } + public global::Baseten.PromoteToChainEnvironmentRequestV1? Type100 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type101 { get; set; } + public global::Baseten.ChainletEnvironmentAutoscalingSettingsUpdateV1? Type101 { get; set; } /// /// /// - public global::Baseten.ChainletEnvironmentInstanceTypeUpdateV1? Type102 { get; set; } + public global::Baseten.UpdateChainletEnvironmentAutoscalingSettingsRequestV1? Type102 { get; set; } /// /// /// - public global::Baseten.UpdateChainletEnvironmentInstanceTypeRequestV1? Type103 { get; set; } + public global::System.Collections.Generic.IList? Type103 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type104 { get; set; } + public global::Baseten.ChainletEnvironmentInstanceTypeUpdateV1? Type104 { get; set; } /// /// /// - public global::Baseten.UpdateChainletEnvironmentInstanceTypeResponseV1? Type105 { get; set; } + public global::Baseten.UpdateChainletEnvironmentInstanceTypeRequestV1? Type105 { get; set; } /// /// /// - public global::Baseten.UpsertTrainingProjectV1? Type106 { get; set; } + public global::System.Collections.Generic.IList? Type106 { get; set; } /// /// /// - public global::Baseten.UpsertTrainingProjectRequestV1? Type107 { get; set; } + public global::Baseten.UpdateChainletEnvironmentInstanceTypeResponseV1? Type107 { get; set; } /// /// /// - public global::Baseten.CheckpointSyncStatus? Type108 { get; set; } + public global::Baseten.UpsertTrainingProjectV1? Type108 { get; set; } /// /// /// - public global::Baseten.TrainingJobV1? Type109 { get; set; } + public global::Baseten.UpsertTrainingProjectRequestV1? Type109 { get; set; } /// /// /// - public global::Baseten.TrainingProjectSummaryV1? Type110 { get; set; } + public global::Baseten.CheckpointSyncStatus? Type110 { get; set; } /// /// /// - public global::Baseten.UserV1? Type111 { get; set; } + public global::Baseten.TrainingJobV1? Type111 { get; set; } /// /// /// - public global::Baseten.TrainingProjectV1? Type112 { get; set; } + public global::Baseten.TrainingProjectSummaryV1? Type112 { get; set; } /// /// /// - public global::Baseten.UpsertTrainingProjectResponseV1? Type113 { get; set; } + public global::Baseten.UserV1? Type113 { get; set; } /// /// /// - public global::Baseten.ListTrainingProjectsResponseV1? Type114 { get; set; } + public global::Baseten.TrainingProjectV1? Type114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type115 { get; set; } + public global::Baseten.UpsertTrainingProjectResponseV1? Type115 { get; set; } /// /// /// - public global::Baseten.ListTrainingJobsResponseV1? Type116 { get; set; } + public global::Baseten.ListTrainingProjectsResponseV1? Type116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type117 { get; set; } + public global::System.Collections.Generic.IList? Type117 { get; set; } /// /// /// - public global::Baseten.AwsIamDockerAuthV1? Type118 { get; set; } + public global::Baseten.ListTrainingJobsResponseV1? Type118 { get; set; } /// /// /// - public global::Baseten.SecretReferenceV1? Type119 { get; set; } + public global::System.Collections.Generic.IList? Type119 { get; set; } /// /// /// - public global::Baseten.AwsOidcDockerAuthV1? Type120 { get; set; } + public global::Baseten.AwsIamDockerAuthV1? Type120 { get; set; } /// /// /// - public global::Baseten.BasetenLatestCheckpointConfig? Type121 { get; set; } + public global::Baseten.SecretReferenceV1? Type121 { get; set; } /// /// /// - public global::Baseten.BasetenNamedCheckpointConfig? Type122 { get; set; } + public global::Baseten.AwsOidcDockerAuthV1? Type122 { get; set; } /// /// /// - public global::Baseten.CreateJobWeightConfigV1? Type123 { get; set; } + public global::Baseten.BasetenLatestCheckpointConfig? Type123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type124 { get; set; } + public global::Baseten.BasetenNamedCheckpointConfig? Type124 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobAcceleratorV1? Type125 { get; set; } + public global::Baseten.CreateJobWeightConfigV1? Type125 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobCacheConfig? Type126 { get; set; } + public global::System.Collections.Generic.IList? Type126 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobCheckpointingConfig? Type127 { get; set; } + public global::Baseten.CreateTrainingJobAcceleratorV1? Type127 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobComputeV1? Type128 { get; set; } + public global::Baseten.CreateTrainingJobCacheConfig? Type128 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobImageV1? Type129 { get; set; } + public global::Baseten.CreateTrainingJobCheckpointingConfig? Type129 { get; set; } /// /// /// - public global::Baseten.DockerAuthV1? Type130 { get; set; } + public global::Baseten.CreateTrainingJobComputeV1? Type130 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobRuntimeV1? Type131 { get; set; } + public global::Baseten.CreateTrainingJobImageV1? Type131 { get; set; } /// /// /// - public global::Baseten.AnyOf? Type132 { get; set; } + public global::Baseten.DockerAuthV1? Type132 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type133 { get; set; } + public global::Baseten.CreateTrainingJobRuntimeV1? Type133 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobS3Artifact? Type134 { get; set; } + public global::Baseten.AnyOf? Type134 { get; set; } /// /// /// - public global::Baseten.LoadCheckpointConfig? Type135 { get; set; } + public global::System.Collections.Generic.IList? Type135 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobV1? Type136 { get; set; } + public global::Baseten.CreateTrainingJobS3Artifact? Type136 { get; set; } /// /// /// - public global::Baseten.TrussUserEnv? Type137 { get; set; } + public global::Baseten.LoadCheckpointConfig? Type137 { get; set; } /// /// /// - public global::Baseten.InteractiveSessionConfigV1? Type138 { get; set; } + public global::Baseten.CreateTrainingJobV1? Type138 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type139 { get; set; } + public global::Baseten.TrussUserEnv? Type139 { get; set; } /// /// /// - public global::Baseten.DockerAuthType? Type140 { get; set; } + public global::Baseten.InteractiveSessionConfigV1? Type140 { get; set; } /// /// /// - public global::Baseten.GcpServiceAccountJsonDockerAuthV1? Type141 { get; set; } + public global::System.Collections.Generic.IList? Type141 { get; set; } /// /// /// - public global::Baseten.GcpOidcDockerAuthV1? Type142 { get; set; } + public global::Baseten.DockerAuthType? Type142 { get; set; } /// /// /// - public global::Baseten.RegistrySecretDockerAuthV1? Type143 { get; set; } + public global::Baseten.GcpServiceAccountJsonDockerAuthV1? Type143 { get; set; } /// /// /// - public global::Baseten.GitInfo? Type144 { get; set; } + public global::Baseten.GcpOidcDockerAuthV1? Type144 { get; set; } /// /// /// - public global::Baseten.V1InteractiveSessionTrigger? Type145 { get; set; } + public global::Baseten.RegistrySecretDockerAuthV1? Type145 { get; set; } /// /// /// - public global::Baseten.V1InteractiveSessionProvider? Type146 { get; set; } + public global::Baseten.GitInfo? Type146 { get; set; } /// /// /// - public global::Baseten.V1InteractiveSessionAuthProvider? Type147 { get; set; } + public global::Baseten.V1InteractiveSessionTrigger? Type147 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type148 { get; set; } + public global::Baseten.V1InteractiveSessionProvider? Type148 { get; set; } /// /// /// - public global::Baseten.CheckpointsItem? Type149 { get; set; } + public global::Baseten.V1InteractiveSessionAuthProvider? Type149 { get; set; } /// /// /// - public global::Baseten.LoadCheckpointConfigCheckpointDiscriminator? Type150 { get; set; } + public global::System.Collections.Generic.IList? Type150 { get; set; } /// /// /// - public global::Baseten.LoadCheckpointConfigCheckpointDiscriminatorTyp? Type151 { get; set; } + public global::Baseten.CheckpointsItem? Type151 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobRequestV1? Type152 { get; set; } + public global::Baseten.LoadCheckpointConfigCheckpointDiscriminator? Type152 { get; set; } /// /// /// - public global::Baseten.CreateTrainingJobResponseV1? Type153 { get; set; } + public global::Baseten.LoadCheckpointConfigCheckpointDiscriminatorTyp? Type153 { get; set; } /// /// /// - public global::Baseten.TrainingJobTombstoneV1? Type154 { get; set; } + public global::Baseten.CreateTrainingJobRequestV1? Type154 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobResponseV1? Type155 { get; set; } + public global::Baseten.CreateTrainingJobResponseV1? Type155 { get; set; } /// /// /// - public global::Baseten.DownloadTrainingJobResponseV1? Type156 { get; set; } + public global::Baseten.TrainingJobTombstoneV1? Type156 { get; set; } /// /// /// - public global::Baseten.RecreateTrainingJobResponseV1? Type157 { get; set; } + public global::Baseten.GetTrainingJobResponseV1? Type157 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobLogsRequestV1? Type158 { get; set; } + public global::Baseten.DownloadTrainingJobResponseV1? Type158 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobMetricsRequestV1? Type159 { get; set; } + public global::Baseten.RecreateTrainingJobResponseV1? Type159 { get; set; } /// /// /// - public global::Baseten.StorageMetricsV1? Type160 { get; set; } + public global::Baseten.GetTrainingJobLogsRequestV1? Type160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type161 { get; set; } + public global::Baseten.StorageMetricsV1? Type161 { get; set; } /// /// /// - public global::Baseten.TrainingJobMetricV1? Type162 { get; set; } + public global::System.Collections.Generic.IList? Type162 { get; set; } /// /// /// - public global::Baseten.TrainingJobMetricsV1? Type163 { get; set; } + public global::Baseten.TrainingJobMetricV1? Type163 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type164 { get; set; } + public global::Baseten.TrainingJobMetricsV1? Type164 { get; set; } /// /// /// - public global::Baseten.TrainingJobNodeMetricsV1? Type165 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type165 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobMetricsResponseV1? Type166 { get; set; } + public global::Baseten.TrainingJobNodeMetricsV1? Type166 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type167 { get; set; } + public global::Baseten.GetTrainingJobMetricsResponseV1? Type167 { get; set; } /// /// /// - public global::Baseten.StopTrainingJobRequestV1? Type168 { get; set; } + public global::System.Collections.Generic.IList? Type168 { get; set; } /// /// /// - public global::Baseten.StopTrainingJobResponseV1? Type169 { get; set; } + public global::Baseten.GetTrainingJobMetricsRequestV1? Type169 { get; set; } /// /// /// - public global::Baseten.TrainingJobCheckpointV1? Type170 { get; set; } + public global::Baseten.StopTrainingJobRequestV1? Type170 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobCheckpointsResponseV1? Type171 { get; set; } + public global::Baseten.StopTrainingJobResponseV1? Type171 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type172 { get; set; } + public global::Baseten.TrainingJobCheckpointV1? Type172 { get; set; } /// /// /// - public global::Baseten.CheckpointFile? Type173 { get; set; } + public global::Baseten.GetTrainingJobCheckpointsResponseV1? Type173 { get; set; } /// /// /// - public global::Baseten.GetTrainingJobCheckpointFilesResponseV1? Type174 { get; set; } + public global::System.Collections.Generic.IList? Type174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type175 { get; set; } + public global::Baseten.CheckpointFile? Type175 { get; set; } /// /// /// - public global::Baseten.AuthCodeV1? Type176 { get; set; } + public global::Baseten.GetTrainingJobCheckpointFilesResponseV1? Type176 { get; set; } /// /// /// - public global::Baseten.GetAuthCodesResponseV1? Type177 { get; set; } + public global::System.Collections.Generic.IList? Type177 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type178 { get; set; } + public global::Baseten.GetTrainingJobCheckpointFilesRequestV1? Type178 { get; set; } /// /// /// - public global::Baseten.PatchInteractiveSessionRequestV1? Type179 { get; set; } + public global::Baseten.AuthCodeV1? Type179 { get; set; } /// /// /// - public global::Baseten.InteractiveSessionV1? Type180 { get; set; } + public global::Baseten.GetAuthCodesResponseV1? Type180 { get; set; } /// /// /// - public global::Baseten.PatchInteractiveSessionResponseV1? Type181 { get; set; } + public global::System.Collections.Generic.IList? Type181 { get; set; } /// /// /// - public global::Baseten.FileSummary? Type182 { get; set; } + public global::Baseten.PatchInteractiveSessionRequestV1? Type182 { get; set; } /// /// /// - public global::Baseten.GetCacheSummaryResponseV1? Type183 { get; set; } + public global::Baseten.InteractiveSessionV1? Type183 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type184 { get; set; } + public global::Baseten.PatchInteractiveSessionResponseV1? Type184 { get; set; } /// /// /// - public global::Baseten.TrainingProjectTombstoneV1? Type185 { get; set; } + public global::Baseten.FileSummary? Type185 { get; set; } /// /// /// - public global::Baseten.GetTrainingProjectResponseV1? Type186 { get; set; } + public global::Baseten.GetCacheSummaryResponseV1? Type186 { get; set; } /// /// /// - public global::Baseten.OrderByV1? Type187 { get; set; } + public global::System.Collections.Generic.IList? Type187 { get; set; } /// /// /// - public global::Baseten.SearchTrainingJobsRequestV1? Type188 { get; set; } + public global::Baseten.TrainingProjectTombstoneV1? Type188 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type189 { get; set; } + public global::Baseten.GetTrainingProjectResponseV1? Type189 { get; set; } /// /// /// - public global::Baseten.SearchTrainingJobsResponseV1? Type190 { get; set; } + public global::Baseten.OrderByV1? Type190 { get; set; } /// /// /// - public global::Baseten.SearchTrainersRequestV1? Type191 { get; set; } + public global::Baseten.SearchTrainingJobsRequestV1? Type191 { get; set; } /// /// /// - public global::Baseten.SearchedTrainerV1? Type192 { get; set; } + public global::System.Collections.Generic.IList? Type192 { get; set; } /// /// /// - public global::Baseten.SearchTrainersResponseV1? Type193 { get; set; } + public global::Baseten.SearchTrainingJobsResponseV1? Type193 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type194 { get; set; } + public global::Baseten.SearchTrainersRequestV1? Type194 { get; set; } /// /// /// - public global::Baseten.CheckpointSearchRequestV1? Type195 { get; set; } + public global::Baseten.SearchedTrainerV1? Type195 { get; set; } /// /// /// - public global::Baseten.TrainerCheckpointTarget? Type196 { get; set; } + public global::Baseten.SearchTrainersResponseV1? Type196 { get; set; } /// /// /// - public global::Baseten.TrainerServerCheckpointV1? Type197 { get; set; } + public global::System.Collections.Generic.IList? Type197 { get; set; } /// /// /// - public global::Baseten.CheckpointSearchResponseV1? Type198 { get; set; } + public global::Baseten.CheckpointSearchRequestV1? Type198 { get; set; } /// /// /// - public global::Baseten.CreateTrainerSessionRequestV1? Type199 { get; set; } + public global::Baseten.TrainerCheckpointTarget? Type199 { get; set; } /// /// /// - public global::Baseten.TrainerSessionV1? Type200 { get; set; } + public global::Baseten.TrainerServerCheckpointV1? Type200 { get; set; } /// /// /// - public global::Baseten.CreateTrainerSessionResponseV1? Type201 { get; set; } + public global::Baseten.CheckpointSearchResponseV1? Type201 { get; set; } /// /// /// - public global::Baseten.CreateTrainerServerRequestV1? Type202 { get; set; } + public global::Baseten.CreateTrainerSessionRequestV1? Type202 { get; set; } /// /// /// - public global::Baseten.SamplingServerV1? Type203 { get; set; } + public global::Baseten.TrainerSessionV1? Type203 { get; set; } /// /// /// - public global::Baseten.TrainerServerV1? Type204 { get; set; } + public global::Baseten.CreateTrainerSessionResponseV1? Type204 { get; set; } /// /// /// - public global::Baseten.CreateTrainerServerResponseV1? Type205 { get; set; } + public global::Baseten.CreateTrainerServerRequestV1? Type205 { get; set; } /// /// /// - public global::Baseten.CreateSamplingServerRequestV1? Type206 { get; set; } + public global::Baseten.SamplingServerV1? Type206 { get; set; } /// /// /// - public global::Baseten.CreateSamplingServerResponseV1? Type207 { get; set; } + public global::Baseten.TrainerServerV1? Type207 { get; set; } /// /// /// - public global::Baseten.GetTrainerServerCheckpointsResponseV1? Type208 { get; set; } + public global::Baseten.CreateTrainerServerResponseV1? Type208 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type209 { get; set; } + public global::Baseten.CreateSamplingServerRequestV1? Type209 { get; set; } /// /// /// - public global::Baseten.GetTrainerServerCheckpointFilesResponseV1? Type210 { get; set; } + public global::Baseten.CreateSamplingServerResponseV1? Type210 { get; set; } /// /// /// - public global::Baseten.SupportedModelV1? Type211 { get; set; } + public global::Baseten.GetTrainerServerCheckpointsResponseV1? Type211 { get; set; } /// /// /// - public global::Baseten.GetLoopsCapabilitiesResponseV1? Type212 { get; set; } + public global::System.Collections.Generic.IList? Type212 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type213 { get; set; } + public global::Baseten.GetTrainerServerCheckpointFilesResponseV1? Type213 { get; set; } /// /// /// - public global::Baseten.CreateLoopsSessionRequestV1? Type214 { get; set; } + public global::Baseten.SupportedModelV1? Type214 { get; set; } /// /// /// - public global::Baseten.LoopsSessionV1? Type215 { get; set; } + public global::Baseten.GetLoopsCapabilitiesResponseV1? Type215 { get; set; } /// /// /// - public global::Baseten.CreateLoopsSessionResponseV1? Type216 { get; set; } + public global::System.Collections.Generic.IList? Type216 { get; set; } /// /// /// - public global::Baseten.GetLoopsSessionResponseV1? Type217 { get; set; } + public global::Baseten.CreateLoopsSessionRequestV1? Type217 { get; set; } /// /// /// - public global::Baseten.LoopsRunV1? Type218 { get; set; } + public global::Baseten.LoopsSessionV1? Type218 { get; set; } /// /// /// - public global::Baseten.LoopsSamplerV1? Type219 { get; set; } + public global::Baseten.CreateLoopsSessionResponseV1? Type219 { get; set; } /// /// /// - public global::Baseten.ListLoopsRunsResponseV1? Type220 { get; set; } + public global::Baseten.GetLoopsSessionResponseV1? Type220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type221 { get; set; } + public global::Baseten.LoopsRunV1? Type221 { get; set; } /// /// /// - public global::Baseten.CreateLoopsRunRequestV1? Type222 { get; set; } + public global::Baseten.LoopsSamplerV1? Type222 { get; set; } /// /// /// - public global::Baseten.CreateLoopsRunResponseV1? Type223 { get; set; } + public global::Baseten.ListLoopsRunsResponseV1? Type223 { get; set; } /// /// /// - public global::Baseten.GetLoopsRunResponseV1? Type224 { get; set; } + public global::System.Collections.Generic.IList? Type224 { get; set; } /// /// /// - public global::Baseten.ListLoopsSamplersResponseV1? Type225 { get; set; } + public global::Baseten.ListLoopsRunsQueryParamsV1? Type225 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type226 { get; set; } + public global::Baseten.CreateLoopsRunRequestV1? Type226 { get; set; } /// /// /// - public global::Baseten.CreateLoopsSamplerRequestV1? Type227 { get; set; } + public global::Baseten.CreateLoopsRunResponseV1? Type227 { get; set; } /// /// /// - public global::Baseten.CreateLoopsSamplerResponseV1? Type228 { get; set; } + public global::Baseten.GetLoopsRunResponseV1? Type228 { get; set; } /// /// /// - public global::Baseten.GetLoopsSamplerResponseV1? Type229 { get; set; } + public global::Baseten.ListLoopsSamplersResponseV1? Type229 { get; set; } /// /// /// - public global::Baseten.LoopsCheckpointV1? Type230 { get; set; } + public global::System.Collections.Generic.IList? Type230 { get; set; } /// /// /// - public global::Baseten.ListLoopsCheckpointsResponseV1? Type231 { get; set; } + public global::Baseten.CreateLoopsSamplerRequestV1? Type231 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type232 { get; set; } + public global::Baseten.CreateLoopsSamplerResponseV1? Type232 { get; set; } /// /// /// - public global::Baseten.ValidateLoopsCheckpointRequestV1? Type233 { get; set; } + public global::Baseten.GetLoopsSamplerResponseV1? Type233 { get; set; } /// /// /// - public global::Baseten.ValidateLoopsCheckpointResponseV1? Type234 { get; set; } + public global::Baseten.LoopsCheckpointV1? Type234 { get; set; } /// /// /// - public global::Baseten.LoopsCheckpointFilesResponseV1? Type235 { get; set; } + public global::Baseten.ListLoopsCheckpointsResponseV1? Type235 { get; set; } /// /// /// - public global::Baseten.LoopsDeploymentStatusV1? Type236 { get; set; } + public global::System.Collections.Generic.IList? Type236 { get; set; } /// /// /// - public global::Baseten.Name? Type237 { get; set; } + public global::Baseten.ListLoopsCheckpointsQueryParamsV1? Type237 { get; set; } /// /// /// - public global::Baseten.LoopsDeploymentV1? Type238 { get; set; } + public global::Baseten.ValidateLoopsCheckpointRequestV1? Type238 { get; set; } /// /// /// - public global::Baseten.ListLoopsDeploymentsResponseV1? Type239 { get; set; } + public global::Baseten.ValidateLoopsCheckpointResponseV1? Type239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type240 { get; set; } + public global::Baseten.LoopsCheckpointFilesResponseV1? Type240 { get; set; } /// /// /// - public global::Baseten.DeactivateLoopsDeploymentResponseV1? Type241 { get; set; } + public global::Baseten.LoopsDeploymentStatusV1? Type241 { get; set; } /// /// /// - public global::Baseten.GetLoopsDeploymentResponseV1? Type242 { get; set; } + public global::Baseten.Name? Type242 { get; set; } /// /// /// - public global::Baseten.TrainingGpuCapacityItemV1? Type243 { get; set; } + public global::Baseten.LoopsDeploymentV1? Type243 { get; set; } /// /// /// - public global::Baseten.GetTrainingGpuCapacityResponseV1? Type244 { get; set; } + public global::Baseten.ListLoopsDeploymentsResponseV1? Type244 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type245 { get; set; } + public global::System.Collections.Generic.IList? Type245 { get; set; } /// /// /// - public global::Baseten.GetBlobCredentialsResponseV1? Type246 { get; set; } + public global::Baseten.DeactivateLoopsDeploymentResponseV1? Type246 { get; set; } /// /// /// - public global::Baseten.APIKeyCategory? Type247 { get; set; } + public global::Baseten.GetLoopsDeploymentResponseV1? Type247 { get; set; } /// /// /// - public global::Baseten.CreateAPIKeyRequestV1? Type248 { get; set; } + public global::Baseten.TrainingGpuCapacityItemV1? Type248 { get; set; } /// /// /// - public global::Baseten.APIKeyV1? Type249 { get; set; } + public global::Baseten.GetTrainingGpuCapacityResponseV1? Type249 { get; set; } /// /// /// - public global::Baseten.APIKeyInfoV1? Type250 { get; set; } + public global::System.Collections.Generic.IList? Type250 { get; set; } /// /// /// - public global::Baseten.APIKeysV1? Type251 { get; set; } + public global::Baseten.GetBlobCredentialsResponseV1? Type251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type252 { get; set; } + public global::Baseten.APIKeyCategory? Type252 { get; set; } /// /// /// - public global::Baseten.APIKeyTombstoneV1? Type253 { get; set; } + public global::Baseten.CreateAPIKeyRequestV1? Type253 { get; set; } /// /// /// - public global::Baseten.ModelWeightSnapshotV1? Type254 { get; set; } + public global::Baseten.APIKeyV1? Type254 { get; set; } /// /// /// - public global::Baseten.CreateModelWeightSnapshotRequestV1? Type255 { get; set; } + public global::Baseten.APIKeyInfoV1? Type255 { get; set; } /// /// /// - public global::Baseten.CreateLLMModelRequestV1? Type256 { get; set; } + public global::Baseten.APIKeysV1? Type256 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type257 { get; set; } + public global::System.Collections.Generic.IList? Type257 { get; set; } /// /// /// - public global::Baseten.LLMModelHandleV1? Type258 { get; set; } + public global::Baseten.APIKeyTombstoneV1? Type258 { get; set; } /// /// /// - public global::Baseten.CreateLLMModelVersionRequestV1? Type259 { get; set; } + public global::Baseten.ModelWeightSnapshotV1? Type259 { get; set; } /// /// /// - public global::Baseten.LibraryListingV1? Type260 { get; set; } + public global::Baseten.CreateModelWeightSnapshotRequestV1? Type260 { get; set; } /// /// /// - public global::Baseten.LibraryListingsV1? Type261 { get; set; } + public global::Baseten.CreateLLMModelRequestV1? Type261 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type262 { get; set; } + public global::System.Collections.Generic.IList? Type262 { get; set; } /// /// /// - public global::Baseten.CreateLibraryListingRequestV1? Type263 { get; set; } + public global::Baseten.LLMModelHandleV1? Type263 { get; set; } /// /// /// - public global::Baseten.LibraryListingTombstoneV1? Type264 { get; set; } + public global::Baseten.CreateLLMModelVersionRequestV1? Type264 { get; set; } /// /// /// - public global::Baseten.UpdateLibraryListingRequestV1? Type265 { get; set; } + public global::Baseten.LibraryListingV1? Type265 { get; set; } /// /// /// - public global::Baseten.LibraryListingVersionV1? Type266 { get; set; } + public global::Baseten.LibraryListingsV1? Type266 { get; set; } /// /// /// - public global::Baseten.LibraryListingVersionsV1? Type267 { get; set; } + public global::System.Collections.Generic.IList? Type267 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type268 { get; set; } + public global::Baseten.CreateLibraryListingRequestV1? Type268 { get; set; } /// /// /// - public global::Baseten.CreateLibraryListingVersionRequestV1? Type269 { get; set; } + public global::Baseten.LibraryListingTombstoneV1? Type269 { get; set; } /// /// /// - public global::Baseten.LibraryListingVersionTombstoneV1? Type270 { get; set; } + public global::Baseten.UpdateLibraryListingRequestV1? Type270 { get; set; } /// /// /// - public global::Baseten.UpdateLibraryListingVersionRequestV1? Type271 { get; set; } + public global::Baseten.LibraryListingVersionV1? Type271 { get; set; } /// /// /// - public global::Baseten.BillableResourceV1? Type272 { get; set; } + public global::Baseten.LibraryListingVersionsV1? Type272 { get; set; } /// /// /// - public global::Baseten.ResourceKind? Type273 { get; set; } + public global::System.Collections.Generic.IList? Type273 { get; set; } /// /// /// - public global::Baseten.ChainMetadataV1? Type274 { get; set; } + public global::Baseten.CreateLibraryListingVersionRequestV1? Type274 { get; set; } /// /// /// - public global::Baseten.DailyDedicatedUsageV1? Type275 { get; set; } + public global::Baseten.LibraryListingVersionTombstoneV1? Type275 { get; set; } /// /// /// - public global::Baseten.AnyOf? Type276 { get; set; } + public global::Baseten.UpdateLibraryListingVersionRequestV1? Type276 { get; set; } /// /// /// - public global::Baseten.DailyModelApiUsageV1? Type277 { get; set; } + public global::Baseten.BillableResourceV1? Type277 { get; set; } /// /// /// - public global::Baseten.DailyTrainingUsageV1? Type278 { get; set; } + public global::Baseten.ResourceKind? Type278 { get; set; } /// /// /// - public global::Baseten.DedicatedItemV1? Type279 { get; set; } + public global::Baseten.ChainMetadataV1? Type279 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type280 { get; set; } + public global::Baseten.DailyDedicatedUsageV1? Type280 { get; set; } /// /// /// - public global::Baseten.DedicatedUsageV1? Type281 { get; set; } + public global::Baseten.AnyOf? Type281 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type282 { get; set; } + public global::Baseten.DailyModelApiUsageV1? Type282 { get; set; } /// /// /// - public global::Baseten.ModelApiItemV1? Type283 { get; set; } + public global::Baseten.DailyTrainingUsageV1? Type283 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type284 { get; set; } + public global::Baseten.DedicatedItemV1? Type284 { get; set; } /// /// /// - public global::Baseten.ModelApisUsageV1? Type285 { get; set; } + public global::System.Collections.Generic.IList? Type285 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type286 { get; set; } + public global::Baseten.DedicatedUsageV1? Type286 { get; set; } /// /// /// - public global::Baseten.TrainingItemV1? Type287 { get; set; } + public global::System.Collections.Generic.IList? Type287 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type288 { get; set; } + public global::Baseten.ModelApiItemV1? Type288 { get; set; } /// /// /// - public global::Baseten.TrainingUsageV1? Type289 { get; set; } + public global::System.Collections.Generic.IList? Type289 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type290 { get; set; } + public global::Baseten.ModelApisUsageV1? Type290 { get; set; } /// /// /// - public global::Baseten.UsageSummaryV1? Type291 { get; set; } + public global::System.Collections.Generic.IList? Type291 { get; set; } /// /// /// - public global::Baseten.UserInfoV1? Type292 { get; set; } + public global::Baseten.TrainingItemV1? Type292 { get; set; } /// /// /// - public global::Baseten.EffectiveModelConfigV1? Type293 { get; set; } + public global::System.Collections.Generic.IList? Type293 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type294 { get; set; } + public global::Baseten.TrainingUsageV1? Type294 { get; set; } /// /// /// - public global::Baseten.EffectiveRateLimitV1? Type295 { get; set; } + public global::System.Collections.Generic.IList? Type295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type296 { get; set; } + public global::Baseten.UsageSummaryV1? Type296 { get; set; } /// /// /// - public global::Baseten.EffectiveUsageLimitV1? Type297 { get; set; } + public global::Baseten.UsageSummaryRequestV1? Type297 { get; set; } /// /// /// - public global::Baseten.LimitTypeV1? Type298 { get; set; } + public global::Baseten.UserInfoV1? Type298 { get; set; } /// /// /// - public global::Baseten.RateLimitUnitV1? Type299 { get; set; } + public global::Baseten.EffectiveModelConfigV1? Type299 { get; set; } /// /// /// - public global::Baseten.UsageLimitUnitV1? Type300 { get; set; } + public global::System.Collections.Generic.IList? Type300 { get; set; } /// /// /// - public global::Baseten.GroupHierarchyV1? Type301 { get; set; } + public global::Baseten.EffectiveRateLimitV1? Type301 { get; set; } /// /// /// - public global::Baseten.LimitEnforcementV1? Type302 { get; set; } + public global::System.Collections.Generic.IList? Type302 { get; set; } /// /// /// - public global::Baseten.GroupMetadataV1? Type303 { get; set; } + public global::Baseten.EffectiveUsageLimitV1? Type303 { get; set; } /// /// /// - public global::Baseten.GroupV1? Type304 { get; set; } + public global::Baseten.LimitTypeV1? Type304 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type305 { get; set; } + public global::Baseten.RateLimitUnitV1? Type305 { get; set; } /// /// /// - public global::Baseten.ModelConfigV1? Type306 { get; set; } + public global::Baseten.UsageLimitUnitV1? Type306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type307 { get; set; } + public global::Baseten.GroupHierarchyV1? Type307 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type308 { get; set; } + public global::Baseten.LimitEnforcementV1? Type308 { get; set; } /// /// /// - public global::Baseten.RateLimitV1? Type309 { get; set; } + public global::Baseten.GroupMetadataV1? Type309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type310 { get; set; } + public global::Baseten.GroupV1? Type310 { get; set; } /// /// /// - public global::Baseten.UsageLimitV1? Type311 { get; set; } + public global::System.Collections.Generic.IList? Type311 { get; set; } /// /// /// - public global::Baseten.PaginationResponseV1? Type312 { get; set; } + public global::Baseten.ModelConfigV1? Type312 { get; set; } /// /// /// - public global::Baseten.GroupsResponseV1? Type313 { get; set; } + public global::System.Collections.Generic.IList? Type313 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type314 { get; set; } + public global::System.Collections.Generic.IList? Type314 { get; set; } /// /// /// - public global::Baseten.CreateGroupRequestV1? Type315 { get; set; } + public global::Baseten.RateLimitV1? Type315 { get; set; } /// /// /// - public global::Baseten.UpdateGroupMetadataV1? Type316 { get; set; } + public global::System.Collections.Generic.IList? Type316 { get; set; } /// /// /// - public global::Baseten.UpdateGroupRequestV1? Type317 { get; set; } + public global::Baseten.UsageLimitV1? Type317 { get; set; } /// /// /// - public global::Baseten.GatewayKeyInfoV1? Type318 { get; set; } + public global::Baseten.PaginationResponseV1? Type318 { get; set; } /// /// /// - public global::Baseten.KeysForGroupResponseV1? Type319 { get; set; } + public global::Baseten.GroupsResponseV1? Type319 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type320 { get; set; } + public global::System.Collections.Generic.IList? Type320 { get; set; } /// /// /// - public global::Baseten.CreateApiKeyForGroupRequestV1? Type321 { get; set; } + public global::Baseten.CreateGroupRequestV1? Type321 { get; set; } /// /// /// - public global::Baseten.CreateApiKeyForGroupResponseV1? Type322 { get; set; } + public global::Baseten.UpdateGroupMetadataV1? Type322 { get; set; } /// /// /// - public global::Baseten.RegisterAPIKeyRequestV1? Type323 { get; set; } + public global::Baseten.UpdateGroupRequestV1? Type323 { get; set; } /// /// /// - public global::Baseten.RegisterAPIKeyResponseV1? Type324 { get; set; } + public global::Baseten.GatewayKeyInfoV1? Type324 { get; set; } + /// + /// + /// + public global::Baseten.KeysForGroupResponseV1? Type325 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type326 { get; set; } + /// + /// + /// + public global::Baseten.CreateApiKeyForGroupRequestV1? Type327 { get; set; } + /// + /// + /// + public global::Baseten.CreateApiKeyForGroupResponseV1? Type328 { get; set; } + /// + /// + /// + public global::Baseten.RegisterAPIKeyRequestV1? Type329 { get; set; } + /// + /// + /// + public global::Baseten.RegisterAPIKeyResponseV1? Type330 { get; set; } /// /// diff --git a/src/libs/Baseten/Generated/Baseten.Models.DeploymentConfigOutputFormat.g.cs b/src/libs/Baseten/Generated/Baseten.Models.DeploymentConfigOutputFormat.g.cs new file mode 100644 index 0000000..2fb2be1 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.DeploymentConfigOutputFormat.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// + /// + public enum DeploymentConfigOutputFormat + { + /// + /// + /// + Both, + /// + /// + /// + Parsed, + /// + /// + /// + Raw, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DeploymentConfigOutputFormatExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DeploymentConfigOutputFormat value) + { + return value switch + { + DeploymentConfigOutputFormat.Both => "both", + DeploymentConfigOutputFormat.Parsed => "parsed", + DeploymentConfigOutputFormat.Raw => "raw", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DeploymentConfigOutputFormat? ToEnum(string value) + { + return value switch + { + "both" => DeploymentConfigOutputFormat.Both, + "parsed" => DeploymentConfigOutputFormat.Parsed, + "raw" => DeploymentConfigOutputFormat.Raw, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsDirection.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsDirection.Json.g.cs new file mode 100644 index 0000000..e88c7f7 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsDirection.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetChainsDeploymentsChainletsLogsDirection + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetChainsDeploymentsChainletsLogsDirection? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetChainsDeploymentsChainletsLogsDirection), + jsonSerializerContext) as global::Baseten.GetChainsDeploymentsChainletsLogsDirection; + } + + /// + /// 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.GetChainsDeploymentsChainletsLogsDirection? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetChainsDeploymentsChainletsLogsDirection), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetChainsDeploymentsChainletsLogsDirection; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsDirection.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsDirection.g.cs new file mode 100644 index 0000000..1c73a77 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsDirection.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + public sealed partial class GetChainsDeploymentsChainletsLogsDirection + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsEndEpochMillis.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsEndEpochMillis.Json.g.cs new file mode 100644 index 0000000..51a2c3c --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsEndEpochMillis.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetChainsDeploymentsChainletsLogsEndEpochMillis + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetChainsDeploymentsChainletsLogsEndEpochMillis? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetChainsDeploymentsChainletsLogsEndEpochMillis), + jsonSerializerContext) as global::Baseten.GetChainsDeploymentsChainletsLogsEndEpochMillis; + } + + /// + /// 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.GetChainsDeploymentsChainletsLogsEndEpochMillis? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetChainsDeploymentsChainletsLogsEndEpochMillis), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetChainsDeploymentsChainletsLogsEndEpochMillis; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsEndEpochMillis.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsEndEpochMillis.g.cs new file mode 100644 index 0000000..16de669 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsEndEpochMillis.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + public sealed partial class GetChainsDeploymentsChainletsLogsEndEpochMillis + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsLimit.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsLimit.Json.g.cs new file mode 100644 index 0000000..63c1bc6 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsLimit.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetChainsDeploymentsChainletsLogsLimit + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetChainsDeploymentsChainletsLogsLimit? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetChainsDeploymentsChainletsLogsLimit), + jsonSerializerContext) as global::Baseten.GetChainsDeploymentsChainletsLogsLimit; + } + + /// + /// 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.GetChainsDeploymentsChainletsLogsLimit? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetChainsDeploymentsChainletsLogsLimit), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetChainsDeploymentsChainletsLogsLimit; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsLimit.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsLimit.g.cs new file mode 100644 index 0000000..1d6fa0d --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsLimit.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: 500 + /// + public sealed partial class GetChainsDeploymentsChainletsLogsLimit + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsStartEpochMillis.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsStartEpochMillis.Json.g.cs new file mode 100644 index 0000000..b3ab632 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsStartEpochMillis.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetChainsDeploymentsChainletsLogsStartEpochMillis + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetChainsDeploymentsChainletsLogsStartEpochMillis? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetChainsDeploymentsChainletsLogsStartEpochMillis), + jsonSerializerContext) as global::Baseten.GetChainsDeploymentsChainletsLogsStartEpochMillis; + } + + /// + /// 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.GetChainsDeploymentsChainletsLogsStartEpochMillis? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetChainsDeploymentsChainletsLogsStartEpochMillis), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetChainsDeploymentsChainletsLogsStartEpochMillis; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsStartEpochMillis.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsStartEpochMillis.g.cs new file mode 100644 index 0000000..2aafd54 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetChainsDeploymentsChainletsLogsStartEpochMillis.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + public sealed partial class GetChainsDeploymentsChainletsLogsStartEpochMillis + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetDeploymentConfigRequestV1.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetDeploymentConfigRequestV1.Json.g.cs new file mode 100644 index 0000000..2ec95a6 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetDeploymentConfigRequestV1.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetDeploymentConfigRequestV1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetDeploymentConfigRequestV1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetDeploymentConfigRequestV1), + jsonSerializerContext) as global::Baseten.GetDeploymentConfigRequestV1; + } + + /// + /// 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.GetDeploymentConfigRequestV1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetDeploymentConfigRequestV1), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetDeploymentConfigRequestV1; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetDeploymentConfigRequestV1.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetDeploymentConfigRequestV1.g.cs new file mode 100644 index 0000000..f8194c0 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetDeploymentConfigRequestV1.g.cs @@ -0,0 +1,49 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Query params for ``GET /v1/models/.../deployments/.../config``. + /// + public sealed partial class GetDeploymentConfigRequestV1 + { + /// + /// 'raw': verbatim config.yaml with comments — not available for deployments created before 2026-04-30. 'parsed': dict with server-side defaults applied — always available. 'both': both fields populated.
+ /// Default Value: both + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("output_format")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Baseten.JsonConverters.DeploymentConfigOutputFormatJsonConverter))] + public global::Baseten.DeploymentConfigOutputFormat? OutputFormat { 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. + /// + /// + /// 'raw': verbatim config.yaml with comments — not available for deployments created before 2026-04-30. 'parsed': dict with server-side defaults applied — always available. 'both': both fields populated.
+ /// Default Value: both + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetDeploymentConfigRequestV1( + global::Baseten.DeploymentConfigOutputFormat? outputFormat) + { + this.OutputFormat = outputFormat; + } + + /// + /// Initializes a new instance of the class. + /// + public GetDeploymentConfigRequestV1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsDirection.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsDirection.Json.g.cs new file mode 100644 index 0000000..78e7bb4 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsDirection.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetModelsDeploymentsLogsDirection + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetModelsDeploymentsLogsDirection? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetModelsDeploymentsLogsDirection), + jsonSerializerContext) as global::Baseten.GetModelsDeploymentsLogsDirection; + } + + /// + /// 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.GetModelsDeploymentsLogsDirection? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetModelsDeploymentsLogsDirection), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetModelsDeploymentsLogsDirection; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsDirection.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsDirection.g.cs new file mode 100644 index 0000000..614d583 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsDirection.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + public sealed partial class GetModelsDeploymentsLogsDirection + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsEndEpochMillis.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsEndEpochMillis.Json.g.cs new file mode 100644 index 0000000..48fec03 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsEndEpochMillis.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetModelsDeploymentsLogsEndEpochMillis + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetModelsDeploymentsLogsEndEpochMillis? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetModelsDeploymentsLogsEndEpochMillis), + jsonSerializerContext) as global::Baseten.GetModelsDeploymentsLogsEndEpochMillis; + } + + /// + /// 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.GetModelsDeploymentsLogsEndEpochMillis? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetModelsDeploymentsLogsEndEpochMillis), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetModelsDeploymentsLogsEndEpochMillis; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsEndEpochMillis.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsEndEpochMillis.g.cs new file mode 100644 index 0000000..dc0d3dd --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsEndEpochMillis.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + public sealed partial class GetModelsDeploymentsLogsEndEpochMillis + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsLimit.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsLimit.Json.g.cs new file mode 100644 index 0000000..cd8fec8 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsLimit.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetModelsDeploymentsLogsLimit + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetModelsDeploymentsLogsLimit? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetModelsDeploymentsLogsLimit), + jsonSerializerContext) as global::Baseten.GetModelsDeploymentsLogsLimit; + } + + /// + /// 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.GetModelsDeploymentsLogsLimit? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetModelsDeploymentsLogsLimit), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetModelsDeploymentsLogsLimit; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsLimit.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsLimit.g.cs new file mode 100644 index 0000000..5e55eff --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsLimit.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: 500 + /// + public sealed partial class GetModelsDeploymentsLogsLimit + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsStartEpochMillis.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsStartEpochMillis.Json.g.cs new file mode 100644 index 0000000..1d651c3 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsStartEpochMillis.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetModelsDeploymentsLogsStartEpochMillis + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetModelsDeploymentsLogsStartEpochMillis? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetModelsDeploymentsLogsStartEpochMillis), + jsonSerializerContext) as global::Baseten.GetModelsDeploymentsLogsStartEpochMillis; + } + + /// + /// 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.GetModelsDeploymentsLogsStartEpochMillis? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetModelsDeploymentsLogsStartEpochMillis), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetModelsDeploymentsLogsStartEpochMillis; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsStartEpochMillis.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsStartEpochMillis.g.cs new file mode 100644 index 0000000..318a973 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetModelsDeploymentsLogsStartEpochMillis.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + public sealed partial class GetModelsDeploymentsLogsStartEpochMillis + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingJobCheckpointFilesRequestV1.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingJobCheckpointFilesRequestV1.Json.g.cs new file mode 100644 index 0000000..6a811cf --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingJobCheckpointFilesRequestV1.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetTrainingJobCheckpointFilesRequestV1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetTrainingJobCheckpointFilesRequestV1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetTrainingJobCheckpointFilesRequestV1), + jsonSerializerContext) as global::Baseten.GetTrainingJobCheckpointFilesRequestV1; + } + + /// + /// 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.GetTrainingJobCheckpointFilesRequestV1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetTrainingJobCheckpointFilesRequestV1), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetTrainingJobCheckpointFilesRequestV1; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingJobCheckpointFilesRequestV1.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingJobCheckpointFilesRequestV1.g.cs new file mode 100644 index 0000000..b707414 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingJobCheckpointFilesRequestV1.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Pagination params for ``GET /v1/training_projects/.../checkpoint_files``. + /// + public sealed partial class GetTrainingJobCheckpointFilesRequestV1 + { + /// + /// Max files per page (default 1000).
+ /// Default Value: 1000 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("page_size")] + public int? PageSize { get; set; } + + /// + /// Offset into the file list (default 0).
+ /// Default Value: 0 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("page_token")] + public int? PageToken { 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. + /// + /// + /// Max files per page (default 1000).
+ /// Default Value: 1000 + /// + /// + /// Offset into the file list (default 0).
+ /// Default Value: 0 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetTrainingJobCheckpointFilesRequestV1( + int? pageSize, + int? pageToken) + { + this.PageSize = pageSize; + this.PageToken = pageToken; + } + + /// + /// Initializes a new instance of the class. + /// + public GetTrainingJobCheckpointFilesRequestV1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsDirection.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsDirection.Json.g.cs new file mode 100644 index 0000000..797cbe1 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsDirection.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetTrainingProjectsJobsLogsDirection + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetTrainingProjectsJobsLogsDirection? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetTrainingProjectsJobsLogsDirection), + jsonSerializerContext) as global::Baseten.GetTrainingProjectsJobsLogsDirection; + } + + /// + /// 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.GetTrainingProjectsJobsLogsDirection? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetTrainingProjectsJobsLogsDirection), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetTrainingProjectsJobsLogsDirection; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsDirection.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsDirection.g.cs new file mode 100644 index 0000000..35b1216 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsDirection.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + public sealed partial class GetTrainingProjectsJobsLogsDirection + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsEndEpochMillis.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsEndEpochMillis.Json.g.cs new file mode 100644 index 0000000..5600bff --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsEndEpochMillis.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetTrainingProjectsJobsLogsEndEpochMillis + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetTrainingProjectsJobsLogsEndEpochMillis? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetTrainingProjectsJobsLogsEndEpochMillis), + jsonSerializerContext) as global::Baseten.GetTrainingProjectsJobsLogsEndEpochMillis; + } + + /// + /// 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.GetTrainingProjectsJobsLogsEndEpochMillis? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetTrainingProjectsJobsLogsEndEpochMillis), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetTrainingProjectsJobsLogsEndEpochMillis; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsEndEpochMillis.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsEndEpochMillis.g.cs new file mode 100644 index 0000000..2725473 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsEndEpochMillis.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + public sealed partial class GetTrainingProjectsJobsLogsEndEpochMillis + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsLimit.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsLimit.Json.g.cs new file mode 100644 index 0000000..b170527 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsLimit.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetTrainingProjectsJobsLogsLimit + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetTrainingProjectsJobsLogsLimit? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetTrainingProjectsJobsLogsLimit), + jsonSerializerContext) as global::Baseten.GetTrainingProjectsJobsLogsLimit; + } + + /// + /// 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.GetTrainingProjectsJobsLogsLimit? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetTrainingProjectsJobsLogsLimit), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetTrainingProjectsJobsLogsLimit; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsLimit.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsLimit.g.cs new file mode 100644 index 0000000..7e9c2ec --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsLimit.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: 500 + /// + public sealed partial class GetTrainingProjectsJobsLogsLimit + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsStartEpochMillis.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsStartEpochMillis.Json.g.cs new file mode 100644 index 0000000..250a4b8 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsStartEpochMillis.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetTrainingProjectsJobsLogsStartEpochMillis + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetTrainingProjectsJobsLogsStartEpochMillis? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetTrainingProjectsJobsLogsStartEpochMillis), + jsonSerializerContext) as global::Baseten.GetTrainingProjectsJobsLogsStartEpochMillis; + } + + /// + /// 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.GetTrainingProjectsJobsLogsStartEpochMillis? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetTrainingProjectsJobsLogsStartEpochMillis), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetTrainingProjectsJobsLogsStartEpochMillis; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsStartEpochMillis.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsStartEpochMillis.g.cs new file mode 100644 index 0000000..5267488 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsLogsStartEpochMillis.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + public sealed partial class GetTrainingProjectsJobsLogsStartEpochMillis + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsEndEpochMillis.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsEndEpochMillis.Json.g.cs new file mode 100644 index 0000000..5307410 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsEndEpochMillis.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetTrainingProjectsJobsMetricsEndEpochMillis + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetTrainingProjectsJobsMetricsEndEpochMillis? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetTrainingProjectsJobsMetricsEndEpochMillis), + jsonSerializerContext) as global::Baseten.GetTrainingProjectsJobsMetricsEndEpochMillis; + } + + /// + /// 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.GetTrainingProjectsJobsMetricsEndEpochMillis? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetTrainingProjectsJobsMetricsEndEpochMillis), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetTrainingProjectsJobsMetricsEndEpochMillis; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsEndEpochMillis.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsEndEpochMillis.g.cs new file mode 100644 index 0000000..3a64bc6 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsEndEpochMillis.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + public sealed partial class GetTrainingProjectsJobsMetricsEndEpochMillis + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsStartEpochMillis.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsStartEpochMillis.Json.g.cs new file mode 100644 index 0000000..c122f6d --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsStartEpochMillis.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class GetTrainingProjectsJobsMetricsStartEpochMillis + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.GetTrainingProjectsJobsMetricsStartEpochMillis? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.GetTrainingProjectsJobsMetricsStartEpochMillis), + jsonSerializerContext) as global::Baseten.GetTrainingProjectsJobsMetricsStartEpochMillis; + } + + /// + /// 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.GetTrainingProjectsJobsMetricsStartEpochMillis? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.GetTrainingProjectsJobsMetricsStartEpochMillis), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.GetTrainingProjectsJobsMetricsStartEpochMillis; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsStartEpochMillis.g.cs b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsStartEpochMillis.g.cs new file mode 100644 index 0000000..031fb53 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.GetTrainingProjectsJobsMetricsStartEpochMillis.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + public sealed partial class GetTrainingProjectsJobsMetricsStartEpochMillis + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1.Json.g.cs new file mode 100644 index 0000000..5a534a7 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class ListLoopsCheckpointsQueryParamsV1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.ListLoopsCheckpointsQueryParamsV1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.ListLoopsCheckpointsQueryParamsV1), + jsonSerializerContext) as global::Baseten.ListLoopsCheckpointsQueryParamsV1; + } + + /// + /// 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.ListLoopsCheckpointsQueryParamsV1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.ListLoopsCheckpointsQueryParamsV1), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.ListLoopsCheckpointsQueryParamsV1; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1.g.cs new file mode 100644 index 0000000..09f6415 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1.g.cs @@ -0,0 +1,77 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Query-string filters for ``GET /v1/loops/checkpoints``.
+ /// Provide exactly one of ``run_id`` (all checkpoints for the run),
+ /// ``base_model`` (all checkpoints across the caller's runs of that
+ /// base model), or ``checkpoint_path`` (the single matching checkpoint). + ///
+ public sealed partial class ListLoopsCheckpointsQueryParamsV1 + { + /// + /// Filter by run ID. Returns all checkpoints saved by the run.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("run_id")] + public string? RunId { get; set; } + + /// + /// Filter by base model. Returns checkpoints across the caller's runs of this base model.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("base_model")] + public string? BaseModel { get; set; } + + /// + /// bt:// URI of a Loops checkpoint. Form: bt://loops:<run_id>/(weights|sampler_weights)/<checkpoint_name>.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("checkpoint_path")] + public string? CheckpointPath { 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. + /// + /// + /// Filter by run ID. Returns all checkpoints saved by the run.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Filter by base model. Returns checkpoints across the caller's runs of this base model.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// bt:// URI of a Loops checkpoint. Form: bt://loops:<run_id>/(weights|sampler_weights)/<checkpoint_name>.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ListLoopsCheckpointsQueryParamsV1( + string? runId, + string? baseModel, + string? checkpointPath) + { + this.RunId = runId; + this.BaseModel = baseModel; + this.CheckpointPath = checkpointPath; + } + + /// + /// Initializes a new instance of the class. + /// + public ListLoopsCheckpointsQueryParamsV1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1BaseModel.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1BaseModel.Json.g.cs new file mode 100644 index 0000000..157ad93 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1BaseModel.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class ListLoopsCheckpointsQueryParamsV1BaseModel + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.ListLoopsCheckpointsQueryParamsV1BaseModel? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.ListLoopsCheckpointsQueryParamsV1BaseModel), + jsonSerializerContext) as global::Baseten.ListLoopsCheckpointsQueryParamsV1BaseModel; + } + + /// + /// 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.ListLoopsCheckpointsQueryParamsV1BaseModel? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.ListLoopsCheckpointsQueryParamsV1BaseModel), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.ListLoopsCheckpointsQueryParamsV1BaseModel; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1BaseModel.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1BaseModel.g.cs new file mode 100644 index 0000000..731122e --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1BaseModel.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Filter by base model. Returns checkpoints across the caller's runs of this base model.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ public sealed partial class ListLoopsCheckpointsQueryParamsV1BaseModel + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1CheckpointPath.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1CheckpointPath.Json.g.cs new file mode 100644 index 0000000..ac32565 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1CheckpointPath.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class ListLoopsCheckpointsQueryParamsV1CheckpointPath + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.ListLoopsCheckpointsQueryParamsV1CheckpointPath? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.ListLoopsCheckpointsQueryParamsV1CheckpointPath), + jsonSerializerContext) as global::Baseten.ListLoopsCheckpointsQueryParamsV1CheckpointPath; + } + + /// + /// 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.ListLoopsCheckpointsQueryParamsV1CheckpointPath? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.ListLoopsCheckpointsQueryParamsV1CheckpointPath), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.ListLoopsCheckpointsQueryParamsV1CheckpointPath; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1CheckpointPath.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1CheckpointPath.g.cs new file mode 100644 index 0000000..1776399 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1CheckpointPath.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// bt:// URI of a Loops checkpoint. Form: bt://loops:<run_id>/(weights|sampler_weights)/<checkpoint_name>.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ public sealed partial class ListLoopsCheckpointsQueryParamsV1CheckpointPath + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1RunId.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1RunId.Json.g.cs new file mode 100644 index 0000000..98e56b1 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1RunId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class ListLoopsCheckpointsQueryParamsV1RunId + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.ListLoopsCheckpointsQueryParamsV1RunId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.ListLoopsCheckpointsQueryParamsV1RunId), + jsonSerializerContext) as global::Baseten.ListLoopsCheckpointsQueryParamsV1RunId; + } + + /// + /// 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.ListLoopsCheckpointsQueryParamsV1RunId? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.ListLoopsCheckpointsQueryParamsV1RunId), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.ListLoopsCheckpointsQueryParamsV1RunId; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1RunId.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1RunId.g.cs new file mode 100644 index 0000000..2743892 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsCheckpointsQueryParamsV1RunId.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Filter by run ID. Returns all checkpoints saved by the run.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ public sealed partial class ListLoopsCheckpointsQueryParamsV1RunId + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1.Json.g.cs new file mode 100644 index 0000000..a760ed4 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class ListLoopsRunsQueryParamsV1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.ListLoopsRunsQueryParamsV1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.ListLoopsRunsQueryParamsV1), + jsonSerializerContext) as global::Baseten.ListLoopsRunsQueryParamsV1; + } + + /// + /// 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.ListLoopsRunsQueryParamsV1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.ListLoopsRunsQueryParamsV1), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.ListLoopsRunsQueryParamsV1; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1.g.cs new file mode 100644 index 0000000..65ee338 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Query-string filters for ``GET /v1/loops/runs``.
+ /// Both filters are optional and can be combined; omit both to list all
+ /// runs visible to the caller. + ///
+ public sealed partial class ListLoopsRunsQueryParamsV1 + { + /// + /// Filter by run ID.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("run_id")] + public string? RunId { get; set; } + + /// + /// Filter runs by base model name.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("base_model")] + public string? BaseModel { 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. + /// + /// + /// Filter by run ID.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Filter runs by base model name.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ListLoopsRunsQueryParamsV1( + string? runId, + string? baseModel) + { + this.RunId = runId; + this.BaseModel = baseModel; + } + + /// + /// Initializes a new instance of the class. + /// + public ListLoopsRunsQueryParamsV1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1BaseModel.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1BaseModel.Json.g.cs new file mode 100644 index 0000000..e7dbc74 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1BaseModel.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class ListLoopsRunsQueryParamsV1BaseModel + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.ListLoopsRunsQueryParamsV1BaseModel? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.ListLoopsRunsQueryParamsV1BaseModel), + jsonSerializerContext) as global::Baseten.ListLoopsRunsQueryParamsV1BaseModel; + } + + /// + /// 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.ListLoopsRunsQueryParamsV1BaseModel? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.ListLoopsRunsQueryParamsV1BaseModel), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.ListLoopsRunsQueryParamsV1BaseModel; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1BaseModel.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1BaseModel.g.cs new file mode 100644 index 0000000..8dac8fb --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1BaseModel.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Filter runs by base model name.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ public sealed partial class ListLoopsRunsQueryParamsV1BaseModel + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1RunId.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1RunId.Json.g.cs new file mode 100644 index 0000000..05d5767 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1RunId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class ListLoopsRunsQueryParamsV1RunId + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.ListLoopsRunsQueryParamsV1RunId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.ListLoopsRunsQueryParamsV1RunId), + jsonSerializerContext) as global::Baseten.ListLoopsRunsQueryParamsV1RunId; + } + + /// + /// 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.ListLoopsRunsQueryParamsV1RunId? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.ListLoopsRunsQueryParamsV1RunId), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.ListLoopsRunsQueryParamsV1RunId; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1RunId.g.cs b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1RunId.g.cs new file mode 100644 index 0000000..ca8d822 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.ListLoopsRunsQueryParamsV1RunId.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// Filter by run ID.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ public sealed partial class ListLoopsRunsQueryParamsV1RunId + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/Generated/Baseten.Models.UsageSummaryRequestV1.Json.g.cs b/src/libs/Baseten/Generated/Baseten.Models.UsageSummaryRequestV1.Json.g.cs new file mode 100644 index 0000000..de3addc --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.UsageSummaryRequestV1.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Baseten +{ + public sealed partial class UsageSummaryRequestV1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Baseten.UsageSummaryRequestV1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Baseten.UsageSummaryRequestV1), + jsonSerializerContext) as global::Baseten.UsageSummaryRequestV1; + } + + /// + /// 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.UsageSummaryRequestV1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Baseten.UsageSummaryRequestV1), + jsonSerializerContext).ConfigureAwait(false)) as global::Baseten.UsageSummaryRequestV1; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Baseten/Generated/Baseten.Models.UsageSummaryRequestV1.g.cs b/src/libs/Baseten/Generated/Baseten.Models.UsageSummaryRequestV1.g.cs new file mode 100644 index 0000000..d09ad82 --- /dev/null +++ b/src/libs/Baseten/Generated/Baseten.Models.UsageSummaryRequestV1.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace Baseten +{ + /// + /// + /// + public sealed partial class UsageSummaryRequestV1 + { + /// + /// Start date (ISO 8601, UTC). Earliest queryable: 2026-01-01. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_date")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime StartDate { get; set; } + + /// + /// End date in ISO 8601 format (UTC). Date range cannot exceed 31 days. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("end_date")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime EndDate { 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. + /// + /// + /// Start date (ISO 8601, UTC). Earliest queryable: 2026-01-01. + /// + /// + /// End date in ISO 8601 format (UTC). Date range cannot exceed 31 days. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UsageSummaryRequestV1( + global::System.DateTime startDate, + global::System.DateTime endDate) + { + this.StartDate = startDate; + this.EndDate = endDate; + } + + /// + /// Initializes a new instance of the class. + /// + public UsageSummaryRequestV1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Baseten/openapi.yaml b/src/libs/Baseten/openapi.yaml index e76a4ff..5807b3c 100644 --- a/src/libs/Baseten/openapi.yaml +++ b/src/libs/Baseten/openapi.yaml @@ -1294,6 +1294,18 @@ } ], "description": "Returns the deployment's config. `output_format` query param picks the shape: 'raw' (config.yaml text), 'parsed' (dict with defaults), or 'both' (default).", + "parameters": [ + { + "name": "output_format", + "in": "query", + "required": false, + "description": "'raw': verbatim config.yaml with comments \u2014 not available for deployments created before 2026-04-30. 'parsed': dict with server-side defaults applied \u2014 always available. 'both': both fields populated.", + "schema": { + "$ref": "#/components/schemas/DeploymentConfigOutputFormat", + "default": "both" + } + } + ], "responses": { "200": { "description": "", @@ -1317,8 +1329,117 @@ ] }, "/v1/models/{model_id}/deployments/{deployment_id}/logs": { - "post": { + "get": { "summary": "Gets the logs for a model deployment.", + "x-codeSamples": [ + { + "lang": "bash", + "source": "curl --request GET \\\n--url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs \\\n--header \"Authorization: Api-Key $BASETEN_API_KEY\"\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}/deployments/{deployment_id}/logs\"\n\nheaders = {\"Authorization\": f\"Api-Key {API_KEY}\"}\n\nresponse = requests.request(\n \"GET\",\n url,\n headers=headers,\n json={}\n)\n\nprint(response.text)" + } + ], + "description": "Gets all the logs for a model deployment in the given time range.", + "parameters": [ + { + "name": "start_epoch_millis", + "in": "query", + "required": false, + "description": "Epoch millis timestamp to start fetching logs", + "schema": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Start Epoch Millis" + } + }, + { + "name": "end_epoch_millis", + "in": "query", + "required": false, + "description": "Epoch millis timestamp to end fetching logs", + "schema": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "title": "End Epoch Millis" + } + }, + { + "name": "direction", + "in": "query", + "required": false, + "description": "Sort order for logs", + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/SortOrderV1" + }, + { + "type": "null" + } + ], + "default": null + } + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "Limit of logs to fetch in a single request", + "schema": { + "anyOf": [ + { + "maximum": 1000, + "minimum": 1, + "type": "integer" + }, + { + "type": "null" + } + ], + "default": 500, + "title": "Limit" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetLogsResponseV1" + } + } + } + } + } + }, + "parameters": [ + { + "$ref": "#/components/parameters/model_id" + }, + { + "$ref": "#/components/parameters/deployment_id" + } + ], + "post": { + "summary": "Gets the logs for a model deployment (deprecated; use GET).", "x-codeSamples": [ { "lang": "bash", @@ -1329,7 +1450,7 @@ "source": "import requests\nimport os\nAPI_KEY = os.environ.get(\"BASETEN_API_KEY\", \"\")\nurl = \"https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs\"\n\nheaders = {\"Authorization\": f\"Api-Key {API_KEY}\"}\n\nresponse = requests.request(\n \"POST\",\n url,\n headers=headers,\n json={'start_epoch_millis': None, 'end_epoch_millis': None, 'direction': None, 'limit': None}\n)\n\nprint(response.text)" } ], - "description": "Gets all the logs for a model deployment in the given time range.", + "description": "Use the GET form on this path instead.", "requestBody": { "content": { "application/json": { @@ -1351,16 +1472,10 @@ } } } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/model_id" }, - { - "$ref": "#/components/parameters/deployment_id" - } - ] + "x-stability": "deprecated", + "deprecated": true + } }, "/v1/models/{model_id}/deployments/{deployment_id}/replicas/{replica_id}": { "delete": { @@ -2099,29 +2214,94 @@ ] }, "/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs": { - "post": { + "get": { "summary": "Gets the logs for a chainlet within a chain deployment.", "x-codeSamples": [ { "lang": "bash", - "source": "curl --request POST \\\n--url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \\\n--header \"Authorization: Api-Key $BASETEN_API_KEY\" \\\n--data '{\n \"start_epoch_millis\": null,\n \"end_epoch_millis\": null,\n \"direction\": null,\n \"limit\": null\n}'" + "source": "curl --request GET \\\n--url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \\\n--header \"Authorization: Api-Key $BASETEN_API_KEY\"\n" }, { "lang": "python", - "source": "import requests\nimport os\nAPI_KEY = os.environ.get(\"BASETEN_API_KEY\", \"\")\nurl = \"https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs\"\n\nheaders = {\"Authorization\": f\"Api-Key {API_KEY}\"}\n\nresponse = requests.request(\n \"POST\",\n url,\n headers=headers,\n json={'start_epoch_millis': None, 'end_epoch_millis': None, 'direction': None, 'limit': 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/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs\"\n\nheaders = {\"Authorization\": f\"Api-Key {API_KEY}\"}\n\nresponse = requests.request(\n \"GET\",\n url,\n headers=headers,\n json={}\n)\n\nprint(response.text)" } ], "description": "Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range.", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GetDeploymentLogsRequestV1" - } + "parameters": [ + { + "name": "start_epoch_millis", + "in": "query", + "required": false, + "description": "Epoch millis timestamp to start fetching logs", + "schema": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Start Epoch Millis" } }, - "required": true - }, + { + "name": "end_epoch_millis", + "in": "query", + "required": false, + "description": "Epoch millis timestamp to end fetching logs", + "schema": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "title": "End Epoch Millis" + } + }, + { + "name": "direction", + "in": "query", + "required": false, + "description": "Sort order for logs", + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/SortOrderV1" + }, + { + "type": "null" + } + ], + "default": null + } + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "Limit of logs to fetch in a single request", + "schema": { + "anyOf": [ + { + "maximum": 1000, + "minimum": 1, + "type": "integer" + }, + { + "type": "null" + } + ], + "default": 500, + "title": "Limit" + } + } + ], "responses": { "200": { "description": "", @@ -2737,8 +2917,117 @@ ] }, "/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs": { - "post": { + "get": { "summary": "Get the logs for a training job.", + "x-codeSamples": [ + { + "lang": "bash", + "source": "curl --request GET \\\n--url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs \\\n--header \"Authorization: Api-Key $BASETEN_API_KEY\"\n" + }, + { + "lang": "python", + "source": "import requests\nimport os\nAPI_KEY = os.environ.get(\"BASETEN_API_KEY\", \"\")\nurl = \"https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs\"\n\nheaders = {\"Authorization\": f\"Api-Key {API_KEY}\"}\n\nresponse = requests.request(\n \"GET\",\n url,\n headers=headers,\n json={}\n)\n\nprint(response.text)" + } + ], + "description": "Get the logs for a training job with the provided filters.", + "parameters": [ + { + "name": "start_epoch_millis", + "in": "query", + "required": false, + "description": "Epoch millis timestamp to start fetching logs", + "schema": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Start Epoch Millis" + } + }, + { + "name": "end_epoch_millis", + "in": "query", + "required": false, + "description": "Epoch millis timestamp to end fetching logs", + "schema": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "title": "End Epoch Millis" + } + }, + { + "name": "direction", + "in": "query", + "required": false, + "description": "Sort order for logs", + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/SortOrderV1" + }, + { + "type": "null" + } + ], + "default": null + } + }, + { + "name": "limit", + "in": "query", + "required": false, + "description": "Limit of logs to fetch in a single request", + "schema": { + "anyOf": [ + { + "maximum": 1000, + "minimum": 1, + "type": "integer" + }, + { + "type": "null" + } + ], + "default": 500, + "title": "Limit" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetLogsResponseV1" + } + } + } + } + } + }, + "parameters": [ + { + "$ref": "#/components/parameters/training_project_id" + }, + { + "$ref": "#/components/parameters/training_job_id" + } + ], + "post": { + "summary": "Get the logs for a training job (deprecated; use GET).", "x-codeSamples": [ { "lang": "bash", @@ -2749,7 +3038,7 @@ "source": "import requests\nimport os\nAPI_KEY = os.environ.get(\"BASETEN_API_KEY\", \"\")\nurl = \"https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs\"\n\nheaders = {\"Authorization\": f\"Api-Key {API_KEY}\"}\n\nresponse = requests.request(\n \"POST\",\n url,\n headers=headers,\n json={'start_epoch_millis': None, 'end_epoch_millis': None, 'direction': None, 'limit': None}\n)\n\nprint(response.text)" } ], - "description": "Get the logs for a training job with the provided filters.", + "description": "Use the GET form on this path instead.", "requestBody": { "content": { "application/json": { @@ -2771,6 +3060,74 @@ } } } + }, + "x-stability": "deprecated", + "deprecated": true + } + }, + "/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics": { + "get": { + "summary": "Get the metrics for a training job.", + "x-codeSamples": [ + { + "lang": "bash", + "source": "curl --request GET \\\n--url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics \\\n--header \"Authorization: Api-Key $BASETEN_API_KEY\"\n" + }, + { + "lang": "python", + "source": "import requests\nimport os\nAPI_KEY = os.environ.get(\"BASETEN_API_KEY\", \"\")\nurl = \"https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics\"\n\nheaders = {\"Authorization\": f\"Api-Key {API_KEY}\"}\n\nresponse = requests.request(\n \"GET\",\n url,\n headers=headers,\n json={}\n)\n\nprint(response.text)" + } + ], + "description": "Get the metrics for a training job.", + "parameters": [ + { + "name": "end_epoch_millis", + "in": "query", + "required": false, + "description": "Epoch millis timestamp to end fetching metrics", + "schema": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "title": "End Epoch Millis" + } + }, + { + "name": "start_epoch_millis", + "in": "query", + "required": false, + "description": "Epoch millis timestamp to start fetching metrics.", + "schema": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Start Epoch Millis" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetTrainingJobMetricsResponseV1" + } + } + } + } } }, "parameters": [ @@ -2780,11 +3137,9 @@ { "$ref": "#/components/parameters/training_job_id" } - ] - }, - "/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics": { + ], "post": { - "summary": "Get the metrics for a training job.", + "summary": "Get the metrics for a training job (deprecated; use GET).", "x-codeSamples": [ { "lang": "bash", @@ -2795,7 +3150,7 @@ "source": "import requests\nimport os\nAPI_KEY = os.environ.get(\"BASETEN_API_KEY\", \"\")\nurl = \"https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics\"\n\nheaders = {\"Authorization\": f\"Api-Key {API_KEY}\"}\n\nresponse = requests.request(\n \"POST\",\n url,\n headers=headers,\n json={'end_epoch_millis': None, 'start_epoch_millis': None}\n)\n\nprint(response.text)" } ], - "description": "Get the metrics for a training job.", + "description": "Use the GET form on this path instead.", "requestBody": { "content": { "application/json": { @@ -2817,16 +3172,10 @@ } } } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/training_project_id" }, - { - "$ref": "#/components/parameters/training_job_id" - } - ] + "x-stability": "deprecated", + "deprecated": true + } }, "/v1/training_projects/{training_project_id}/jobs/{training_job_id}/stop": { "post": { @@ -2924,6 +3273,32 @@ } ], "description": "Get presigned URLs for all checkpoint files for a training job.", + "parameters": [ + { + "name": "page_size", + "in": "query", + "required": false, + "description": "Max files per page (default 1000).", + "schema": { + "default": 1000, + "minimum": 1, + "title": "Page Size", + "type": "integer" + } + }, + { + "name": "page_token", + "in": "query", + "required": false, + "description": "Offset into the file list (default 0).", + "schema": { + "default": 0, + "minimum": 0, + "title": "Page Token", + "type": "integer" + } + } + ], "responses": { "200": { "description": "", @@ -6580,7 +6955,92 @@ "title": "Raw Config" } }, - "title": "DeploymentConfigResponseV1", + "title": "DeploymentConfigResponseV1", + "type": "object" + }, + "DeploymentConfigOutputFormat": { + "enum": [ + "raw", + "parsed", + "both" + ], + "title": "DeploymentConfigOutputFormat", + "type": "string" + }, + "GetDeploymentConfigRequestV1": { + "description": "Query params for ``GET /v1/models/.../deployments/.../config``.", + "properties": { + "output_format": { + "$ref": "#/components/schemas/DeploymentConfigOutputFormat", + "default": "both", + "description": "'raw': verbatim config.yaml with comments \u2014 not available for deployments created before 2026-04-30. 'parsed': dict with server-side defaults applied \u2014 always available. 'both': both fields populated." + } + }, + "title": "GetDeploymentConfigRequestV1", + "type": "object" + }, + "LogV1": { + "properties": { + "timestamp": { + "description": "Epoch nanosecond timestamp of the log message.", + "title": "Timestamp", + "type": "string" + }, + "message": { + "description": "The contents of the log message.", + "title": "Message", + "type": "string" + }, + "replica": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "The replica the log line was emitted from.", + "title": "Replica" + }, + "request_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The request ID associated with an inference request.", + "title": "Request Id" + } + }, + "required": [ + "timestamp", + "message", + "replica" + ], + "title": "LogV1", + "type": "object" + }, + "GetLogsResponseV1": { + "description": "A response to querying logs.", + "properties": { + "logs": { + "description": "Logs for a specific entity.", + "items": { + "$ref": "#/components/schemas/LogV1" + }, + "title": "Logs", + "type": "array" + } + }, + "required": [ + "logs" + ], + "title": "GetLogsResponseV1", "type": "object" }, "SortOrderV1": { @@ -6651,70 +7111,6 @@ "title": "GetDeploymentLogsRequestV1", "type": "object" }, - "LogV1": { - "properties": { - "timestamp": { - "description": "Epoch nanosecond timestamp of the log message.", - "title": "Timestamp", - "type": "string" - }, - "message": { - "description": "The contents of the log message.", - "title": "Message", - "type": "string" - }, - "replica": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "The replica the log line was emitted from.", - "title": "Replica" - }, - "request_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "description": "The request ID associated with an inference request.", - "title": "Request Id" - } - }, - "required": [ - "timestamp", - "message", - "replica" - ], - "title": "LogV1", - "type": "object" - }, - "GetLogsResponseV1": { - "description": "A response to querying logs.", - "properties": { - "logs": { - "description": "Logs for a specific entity.", - "items": { - "$ref": "#/components/schemas/LogV1" - }, - "title": "Logs", - "type": "array" - } - }, - "required": [ - "logs" - ], - "title": "GetLogsResponseV1", - "type": "object" - }, "TerminateReplicaResponseV1": { "description": "The response to a request to terminate a replica in a deployment.", "properties": { @@ -9777,39 +10173,6 @@ "title": "GetTrainingJobLogsRequestV1", "type": "object" }, - "GetTrainingJobMetricsRequestV1": { - "description": "A request to fetch metrics. Allows the user to request metrics over a period of time.", - "properties": { - "end_epoch_millis": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Epoch millis timestamp to end fetching metrics", - "title": "End Epoch Millis" - }, - "start_epoch_millis": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null, - "description": "Epoch millis timestamp to start fetching metrics.", - "title": "Start Epoch Millis" - } - }, - "title": "GetTrainingJobMetricsRequestV1", - "type": "object" - }, "StorageMetricsV1": { "description": "A metric for a training job.", "properties": { @@ -10016,6 +10379,39 @@ "title": "GetTrainingJobMetricsResponseV1", "type": "object" }, + "GetTrainingJobMetricsRequestV1": { + "description": "A request to fetch metrics. Allows the user to request metrics over a period of time.", + "properties": { + "end_epoch_millis": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Epoch millis timestamp to end fetching metrics", + "title": "End Epoch Millis" + }, + "start_epoch_millis": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Epoch millis timestamp to start fetching metrics.", + "title": "Start Epoch Millis" + } + }, + "title": "GetTrainingJobMetricsRequestV1", + "type": "object" + }, "StopTrainingJobRequestV1": { "description": "A request to stop a training job.", "properties": {}, @@ -10209,6 +10605,27 @@ "title": "GetTrainingJobCheckpointFilesResponseV1", "type": "object" }, + "GetTrainingJobCheckpointFilesRequestV1": { + "description": "Pagination params for ``GET /v1/training_projects/.../checkpoint_files``.", + "properties": { + "page_size": { + "default": 1000, + "description": "Max files per page (default 1000).", + "minimum": 1, + "title": "Page Size", + "type": "integer" + }, + "page_token": { + "default": 0, + "description": "Offset into the file list (default 0).", + "minimum": 0, + "title": "Page Token", + "type": "integer" + } + }, + "title": "GetTrainingJobCheckpointFilesRequestV1", + "type": "object" + }, "AuthCodeV1": { "description": "Authentication code for a training job interactive session node.", "properties": { @@ -11401,6 +11818,45 @@ "title": "ListLoopsRunsResponseV1", "type": "object" }, + "ListLoopsRunsQueryParamsV1": { + "description": "Query-string filters for ``GET /v1/loops/runs``.\n\nBoth filters are optional and can be combined; omit both to list all\nruns visible to the caller.", + "properties": { + "run_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by run ID.", + "examples": [ + "k4q95w5" + ], + "title": "Run Id" + }, + "base_model": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter runs by base model name.", + "examples": [ + "Qwen/Qwen3-8B" + ], + "title": "Base Model" + } + }, + "title": "ListLoopsRunsQueryParamsV1", + "type": "object" + }, "CreateLoopsRunRequestV1": { "properties": { "session_id": { @@ -11704,6 +12160,61 @@ "title": "ListLoopsCheckpointsResponseV1", "type": "object" }, + "ListLoopsCheckpointsQueryParamsV1": { + "description": "Query-string filters for ``GET /v1/loops/checkpoints``.\n\nProvide exactly one of ``run_id`` (all checkpoints for the run),\n``base_model`` (all checkpoints across the caller's runs of that\nbase model), or ``checkpoint_path`` (the single matching checkpoint).", + "properties": { + "run_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by run ID. Returns all checkpoints saved by the run.", + "examples": [ + "k4q95w5" + ], + "title": "Run Id" + }, + "base_model": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "Filter by base model. Returns checkpoints across the caller's runs of this base model.", + "examples": [ + "Qwen/Qwen3-8B" + ], + "title": "Base Model" + }, + "checkpoint_path": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "bt:// URI of a Loops checkpoint. Form: bt://loops:/(weights|sampler_weights)/.", + "examples": [ + "bt://loops:k4q95w5/sampler_weights/step-100" + ], + "title": "Checkpoint Path" + } + }, + "title": "ListLoopsCheckpointsQueryParamsV1", + "type": "object" + }, "ValidateLoopsCheckpointRequestV1": { "description": "Request body for ``POST /v1/loops/checkpoints/validate``.", "properties": { @@ -13470,6 +13981,28 @@ "title": "UsageSummaryV1", "type": "object" }, + "UsageSummaryRequestV1": { + "properties": { + "start_date": { + "description": "Start date (ISO 8601, UTC). Earliest queryable: 2026-01-01.", + "format": "date-time", + "title": "Start Date", + "type": "string" + }, + "end_date": { + "description": "End date in ISO 8601 format (UTC). Date range cannot exceed 31 days.", + "format": "date-time", + "title": "End Date", + "type": "string" + } + }, + "required": [ + "start_date", + "end_date" + ], + "title": "UsageSummaryRequestV1", + "type": "object" + }, "UserInfoV1": { "description": "A Baseten user.", "properties": {