diff --git a/core/src/main/java/com/sap/ai/sdk/core/Core.java b/core/src/main/java/com/sap/ai/sdk/core/Core.java index 5d05230e2..0ccf5cc5a 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/Core.java +++ b/core/src/main/java/com/sap/ai/sdk/core/Core.java @@ -47,9 +47,8 @@ public class Core { */ @Nonnull public static ApiClient getOrchestrationClient(@Nonnull final String resourceGroup) { - return getClient( - getDestinationForDeployment(getOrchestrationDeployment(resourceGroup), resourceGroup)); - + return getClient( + getDestinationForDeployment(getOrchestrationDeployment(resourceGroup), resourceGroup)); } /** @@ -62,8 +61,7 @@ public static ApiClient getOrchestrationClient(@Nonnull final String resourceGro */ private static String getOrchestrationDeployment(@Nonnull final String resourceGroup) throws NoSuchElementException { - final var deployments = - new DeploymentApi(getClient(getDestination())).deploymentQuery(resourceGroup); + final var deployments = new DeploymentApi(getClient(getDestination())).deploymentQuery(resourceGroup); Objects.requireNonNull(deployments, "Deployment get request failed"); return deployments.getResources().stream() diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ApplicationApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ApplicationApi.java index 787e0d7fb..69102a743 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/ApplicationApi.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/ApplicationApi.java @@ -7,16 +7,16 @@ import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService; import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient; -import com.sap.ai.sdk.core.client.model.BckndAllArgoCDApplicationData ; //NOPMD -import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationBaseData ; //NOPMD -import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationCreationResponse ; //NOPMD -import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationData ; //NOPMD -import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationDeletionResponse ; //NOPMD -import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationModificationResponse ; //NOPMD -import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationRefreshResponse ; //NOPMD -import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationStatus ; //NOPMD -import com.sap.ai.sdk.core.client.model.BckndErrorResponse ; //NOPMD -import com.sap.ai.sdk.core.client.model.KubesubmitV4ApplicationsCreateRequest ; //NOPMD +import com.sap.ai.sdk.core.client.model.BckndAllArgoCDApplicationData; +import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationBaseData; +import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationCreationResponse; +import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationData; +import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationDeletionResponse; +import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationModificationResponse; +import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationRefreshResponse; +import com.sap.ai.sdk.core.client.model.BckndArgoCDApplicationStatus; +import com.sap.ai.sdk.core.client.model.BckndErrorResponse; +import com.sap.ai.sdk.core.client.model.KubesubmitV4ApplicationsCreateRequest; import java.util.HashMap; import java.util.List; @@ -39,28 +39,27 @@ import com.sap.cloud.sdk.cloudplatform.connectivity.Destination; /** -* AI Core in version 2.33.0. -* -* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models. -*/ - + * AI Core in version 2.33.0. + * + * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models. + */ public class ApplicationApi extends AbstractOpenApiService { /** - * Instantiates this API class to invoke operations on the AI Core. - * - * @param httpDestination The destination that API should be used with - */ + * Instantiates this API class to invoke operations on the AI Core. + * + * @param httpDestination The destination that API should be used with + */ public ApplicationApi( @Nonnull final Destination httpDestination ) { super(httpDestination); } /** - * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}. - * - * @param apiClient - * ApiClient to invoke the API on - */ + * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}. + * + * @param apiClient + * ApiClient to invoke the API on + */ @Beta public ApplicationApi( @Nonnull final ApiClient apiClient ) { @@ -68,66 +67,6 @@ public ApplicationApi( @Nonnull final ApiClient apiClient ) } - /** - *
Return all applications
- *Return all Argo CD application data objects.
- *200 - All applications have been found and returned. - *
400 - The request was malformed and could thus not be processed. - *
0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @param $top (optional)
- Number of results to display
- * @param $skip (optional)
- Number of results to be skipped from the ordered list of results
- * @param $count (optional)
- When the $count field is set to false, the response contains a count of the items present in the response. When the $count field is set to true, the response contains a count of all the items present on the server, and not just the ones in the response. When the $count field is not passed, it is false by default.
- * @return BckndAllArgoCDApplicationData
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nullable public BckndAllArgoCDApplicationData all( @Nullable final String authorization, @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count) throws OpenApiRequestException {
- final Object localVarPostBody = null;
-
- final String localVarPath = UriComponentsBuilder.fromPath("/admin/applications").build().toUriString();
-
- final MultiValueMap Return all applications Return all Argo CD application data objects. 200 - All applications have been found and returned.
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndAllArgoCDApplicationData
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nullable public BckndAllArgoCDApplicationData all() throws OpenApiRequestException {
- return all(null, null, null, null);
- }
-
/**
* Create an application Create an ArgoCD application to synchronise a repository. Create an application Create an ArgoCD application to synchronise a repository. Create an application Create an ArgoCD application to synchronise a repository. 200 - The ArgoCD application has been created and will be eventually synchronised with the repository.
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param kubesubmitV4ApplicationsCreateRequest
- The value for the parameter kubesubmitV4ApplicationsCreateRequest
-* @return BckndArgoCDApplicationCreationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param kubesubmitV4ApplicationsCreateRequest
+ * The value for the parameter kubesubmitV4ApplicationsCreateRequest
+ * @return BckndArgoCDApplicationCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDApplicationCreationResponse kubesubmitV4ApplicationsCreate( @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDApplicationCreationResponse kubesubmitV4ApplicationsCreate( @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest) throws OpenApiRequestException {
return kubesubmitV4ApplicationsCreate(kubesubmitV4ApplicationsCreateRequest, null);
}
@@ -202,7 +143,8 @@ public ApplicationApi( @Nonnull final ApiClient apiClient )
* @return BckndArgoCDApplicationDeletionResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDApplicationDeletionResponse kubesubmitV4ApplicationsDelete( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDApplicationDeletionResponse kubesubmitV4ApplicationsDelete( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'applicationName' is set
@@ -236,18 +178,19 @@ public ApplicationApi( @Nonnull final ApiClient apiClient )
}
/**
- * Delete application Delete an ArgoCD application Delete application Delete an ArgoCD application 200 - The argoCD application has been deleted successfully.
* 404 - The specified resource was not found
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param applicationName
- Name of the ArgoCD application
-* @return BckndArgoCDApplicationDeletionResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param applicationName
+ * Name of the ArgoCD application
+ * @return BckndArgoCDApplicationDeletionResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDApplicationDeletionResponse kubesubmitV4ApplicationsDelete( @Nonnull final String applicationName) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDApplicationDeletionResponse kubesubmitV4ApplicationsDelete( @Nonnull final String applicationName) throws OpenApiRequestException {
return kubesubmitV4ApplicationsDelete(applicationName, null);
}
@@ -265,7 +208,8 @@ public ApplicationApi( @Nonnull final ApiClient apiClient )
* @return BckndArgoCDApplicationData
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDApplicationData kubesubmitV4ApplicationsGet( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDApplicationData kubesubmitV4ApplicationsGet( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'applicationName' is set
@@ -299,25 +243,88 @@ public ApplicationApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get ArgoCD application Retrieve the ArgoCD application details. Get ArgoCD application Retrieve the ArgoCD application details. 200 - The application has been found and returned.
* 400 - The request was malformed and could thus not be processed.
* 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param applicationName
- Name of the ArgoCD application
-* @return BckndArgoCDApplicationData
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param applicationName
+ * Name of the ArgoCD application
+ * @return BckndArgoCDApplicationData
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDApplicationData kubesubmitV4ApplicationsGet( @Nonnull final String applicationName) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDApplicationData kubesubmitV4ApplicationsGet( @Nonnull final String applicationName) throws OpenApiRequestException {
return kubesubmitV4ApplicationsGet(applicationName, null);
}
/**
- * Makes ArgoDC refresh the specified application Schedules a refresh of the specified application that will be picked up by ArgoCD asynchronously 202 - A refresh of the application has been scheduled
+ * Return all applications Return all Argo CD application data objects. 200 - All applications have been found and returned.
+ * 400 - The request was malformed and could thus not be processed.
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ * @param authorization (optional)
+ Authorization bearer token containing a JWT token.
+ * @param $top (optional)
+ Number of results to display
+ * @param $skip (optional)
+ Number of results to be skipped from the ordered list of results
+ * @param $count (optional)
+ When the $count field is set to false, the response contains a count of the items present in the response. When the $count field is set to true, the response contains a count of all the items present on the server, and not just the ones in the response. When the $count field is not passed, it is false by default.
+ * @return BckndAllArgoCDApplicationData
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndAllArgoCDApplicationData kubesubmitV4ApplicationsGetAll( @Nullable final String authorization, @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count) throws OpenApiRequestException {
+ final Object localVarPostBody = null;
+
+ final String localVarPath = UriComponentsBuilder.fromPath("/admin/applications").build().toUriString();
+
+ final MultiValueMap Return all applications Return all Argo CD application data objects. 200 - All applications have been found and returned.
+ * 400 - The request was malformed and could thus not be processed.
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ * @return BckndAllArgoCDApplicationData
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndAllArgoCDApplicationData kubesubmitV4ApplicationsGetAll() throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsGetAll(null, null, null, null);
+ }
+
+ /**
+ * Returns the ArgoCD application status Returns the ArgoCD application health and sync status. 200 - The application status has been found and returned.
* 400 - The request was malformed and could thus not be processed.
* 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
@@ -325,21 +332,22 @@ public ApplicationApi( @Nonnull final ApiClient apiClient )
Name of the ArgoCD application
* @param authorization (optional)
Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationRefreshResponse
+ * @return BckndArgoCDApplicationStatus
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDApplicationRefreshResponse kubesubmitV4ApplicationsRefresh( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDApplicationStatus kubesubmitV4ApplicationsGetStatus( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'applicationName' is set
if (applicationName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsRefresh");
+ throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsGetStatus");
}
// create path and map variables
final Map Makes ArgoDC refresh the specified application Schedules a refresh of the specified application that will be picked up by ArgoCD asynchronously 202 - A refresh of the application has been scheduled
+ * Returns the ArgoCD application status Returns the ArgoCD application health and sync status. 200 - The application status has been found and returned.
* 400 - The request was malformed and could thus not be processed.
* 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param applicationName
- Name of the ArgoCD application
-* @return BckndArgoCDApplicationRefreshResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param applicationName
+ * Name of the ArgoCD application
+ * @return BckndArgoCDApplicationStatus
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDApplicationRefreshResponse kubesubmitV4ApplicationsRefresh( @Nonnull final String applicationName) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsRefresh(applicationName, null);
+ @Nonnull
+ public BckndArgoCDApplicationStatus kubesubmitV4ApplicationsGetStatus( @Nonnull final String applicationName) throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsGetStatus(applicationName, null);
}
/**
- * Update the ArgoCD application. Update the referenced ArgoCD application to synchronize the repository. 200 - The ArgoCD application has been created and will be eventually synchronised with the repository.
- * 404 - The specified resource was not found
+ * Makes ArgoDC refresh the specified application Schedules a refresh of the specified application that will be picked up by ArgoCD asynchronously 202 - A refresh of the application has been scheduled
* 400 - The request was malformed and could thus not be processed.
+ * 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
* @param applicationName (required)
Name of the ArgoCD application
- * @param bckndArgoCDApplicationBaseData (required)
- The value for the parameter bckndArgoCDApplicationBaseData
* @param authorization (optional)
Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationModificationResponse
+ * @return BckndArgoCDApplicationRefreshResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDApplicationModificationResponse kubesubmitV4ApplicationsUpdate( @Nonnull final String applicationName, @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData, @Nullable final String authorization) throws OpenApiRequestException {
- final Object localVarPostBody = bckndArgoCDApplicationBaseData;
+ @Nonnull
+ public BckndArgoCDApplicationRefreshResponse kubesubmitV4ApplicationsRefresh( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
+ final Object localVarPostBody = null;
// verify the required parameter 'applicationName' is set
if (applicationName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsUpdate");
- }
-
- // verify the required parameter 'bckndArgoCDApplicationBaseData' is set
- if (bckndArgoCDApplicationBaseData == null) {
- throw new OpenApiRequestException("Missing the required parameter 'bckndArgoCDApplicationBaseData' when calling kubesubmitV4ApplicationsUpdate");
+ throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsRefresh");
}
// create path and map variables
final Map Update the ArgoCD application. Update the referenced ArgoCD application to synchronize the repository. 200 - The ArgoCD application has been created and will be eventually synchronised with the repository.
- * 404 - The specified resource was not found
+ * Makes ArgoDC refresh the specified application Schedules a refresh of the specified application that will be picked up by ArgoCD asynchronously 202 - A refresh of the application has been scheduled
* 400 - The request was malformed and could thus not be processed.
+ * 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param applicationName
- Name of the ArgoCD application
-* @param bckndArgoCDApplicationBaseData
- The value for the parameter bckndArgoCDApplicationBaseData
-* @return BckndArgoCDApplicationModificationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param applicationName
+ * Name of the ArgoCD application
+ * @return BckndArgoCDApplicationRefreshResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDApplicationModificationResponse kubesubmitV4ApplicationsUpdate( @Nonnull final String applicationName, @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsUpdate(applicationName, bckndArgoCDApplicationBaseData, null);
+ @Nonnull
+ public BckndArgoCDApplicationRefreshResponse kubesubmitV4ApplicationsRefresh( @Nonnull final String applicationName) throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsRefresh(applicationName, null);
}
/**
- * Returns the ArgoCD application status Returns the ArgoCD application health and sync status. 200 - The application status has been found and returned.
- * 400 - The request was malformed and could thus not be processed.
+ * Update the ArgoCD application. Update the referenced ArgoCD application to synchronize the repository. 200 - The ArgoCD application has been created and will be eventually synchronised with the repository.
* 404 - The specified resource was not found
+ * 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
* @param applicationName (required)
Name of the ArgoCD application
+ * @param bckndArgoCDApplicationBaseData (required)
+ The value for the parameter bckndArgoCDApplicationBaseData
* @param authorization (optional)
Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationStatus
+ * @return BckndArgoCDApplicationModificationResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDApplicationStatus status( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
- final Object localVarPostBody = null;
+ @Nonnull
+ public BckndArgoCDApplicationModificationResponse kubesubmitV4ApplicationsUpdate( @Nonnull final String applicationName, @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData, @Nullable final String authorization) throws OpenApiRequestException {
+ final Object localVarPostBody = bckndArgoCDApplicationBaseData;
// verify the required parameter 'applicationName' is set
if (applicationName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling status");
+ throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsUpdate");
+ }
+
+ // verify the required parameter 'bckndArgoCDApplicationBaseData' is set
+ if (bckndArgoCDApplicationBaseData == null) {
+ throw new OpenApiRequestException("Missing the required parameter 'bckndArgoCDApplicationBaseData' when calling kubesubmitV4ApplicationsUpdate");
}
// create path and map variables
final Map Returns the ArgoCD application status Returns the ArgoCD application health and sync status. 200 - The application status has been found and returned.
- * 400 - The request was malformed and could thus not be processed.
+ * Update the ArgoCD application. Update the referenced ArgoCD application to synchronize the repository. 200 - The ArgoCD application has been created and will be eventually synchronised with the repository.
* 404 - The specified resource was not found
+ * 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param applicationName
- Name of the ArgoCD application
-* @return BckndArgoCDApplicationStatus
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param applicationName
+ * Name of the ArgoCD application
+ * @param bckndArgoCDApplicationBaseData
+ * The value for the parameter bckndArgoCDApplicationBaseData
+ * @return BckndArgoCDApplicationModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDApplicationStatus status( @Nonnull final String applicationName) throws OpenApiRequestException {
- return status(applicationName, null);
+ @Nonnull
+ public BckndArgoCDApplicationModificationResponse kubesubmitV4ApplicationsUpdate( @Nonnull final String applicationName, @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData) throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsUpdate(applicationName, bckndArgoCDApplicationBaseData, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ArtifactApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ArtifactApi.java
index cbdd55f96..6082bdc7c 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ArtifactApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ArtifactApi.java
@@ -7,11 +7,11 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.AiArtifact ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiArtifactCreationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiArtifactList ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiArtifactPostData ; //NOPMD
-import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response ; //NOPMD
+import com.sap.ai.sdk.core.client.model.AiArtifact;
+import com.sap.ai.sdk.core.client.model.AiArtifactCreationResponse;
+import com.sap.ai.sdk.core.client.model.AiArtifactList;
+import com.sap.ai.sdk.core.client.model.AiArtifactPostData;
+import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response;
import java.util.HashMap;
import java.util.List;
@@ -34,28 +34,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class ArtifactApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public ArtifactApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public ArtifactApi( @Nonnull final ApiClient apiClient )
{
@@ -87,7 +86,8 @@ public ArtifactApi( @Nonnull final ApiClient apiClient )
* @return Integer
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public Integer artifactCount( @Nonnull final String aiResourceGroup, @Nullable final String scenarioId, @Nullable final String executionId, @Nullable final String name, @Nullable final String kind, @Nullable final String $search, @Nullable final Boolean searchCaseInsensitive, @Nullable final List Get number of artifacts Retrieve the number of available artifacts that match the specified filter criteria. Filter criteria include a scenarioId, executionId, an artifact name, artifact kind, or artifact labels. Search by substring of artifact name or description is also possible. Get number of artifacts Retrieve the number of available artifacts that match the specified filter criteria. Filter criteria include a scenarioId, executionId, an artifact name, artifact kind, or artifact labels. Search by substring of artifact name or description is also possible. 200 - Number of artifacts
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @return Integer
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return Integer
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public Integer artifactCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public Integer artifactCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
return artifactCount(aiResourceGroup, null, null, null, null, null, null, null);
}
/**
- * Register artifact Register an artifact for use in a configuration, for example a model or a dataset. Register artifact Register an artifact for use in a configuration, for example a model or a dataset. 201 - The artifact has been registered successfully
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @param aiArtifactPostData
- The value for the parameter aiArtifactPostData
-* @return AiArtifactCreationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param aiArtifactPostData
+ * The value for the parameter aiArtifactPostData
+ * @return AiArtifactCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiArtifactCreationResponse artifactCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiArtifactPostData aiArtifactPostData) throws OpenApiRequestException {
+ @Nonnull
+ public AiArtifactCreationResponse artifactCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiArtifactPostData aiArtifactPostData) throws OpenApiRequestException {
final Object localVarPostBody = aiArtifactPostData;
// verify the required parameter 'aiResourceGroup' is set
@@ -203,7 +205,8 @@ public ArtifactApi( @Nonnull final ApiClient apiClient )
* @return AiArtifact
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiArtifact artifactGet( @Nonnull final String aiResourceGroup, @Nonnull final String artifactId, @Nullable final String $expand) throws OpenApiRequestException {
+ @Nonnull
+ public AiArtifact artifactGet( @Nonnull final String aiResourceGroup, @Nonnull final String artifactId, @Nullable final String $expand) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
@@ -245,19 +248,20 @@ public ArtifactApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get artifact by ID Retrieve details for artifact with artifactId. Get artifact by ID Retrieve details for artifact with artifactId. 200 - An artifact
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
-* @param aiResourceGroup
- Specify a resource group id
-* @param artifactId
- Artifact identifier
-* @return AiArtifact
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param artifactId
+ * Artifact identifier
+ * @return AiArtifact
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiArtifact artifactGet( @Nonnull final String aiResourceGroup, @Nonnull final String artifactId) throws OpenApiRequestException {
+ @Nonnull
+ public AiArtifact artifactGet( @Nonnull final String aiResourceGroup, @Nonnull final String artifactId) throws OpenApiRequestException {
return artifactGet(aiResourceGroup, artifactId, null);
}
@@ -291,7 +295,8 @@ public ArtifactApi( @Nonnull final ApiClient apiClient )
* @return AiArtifactList
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiArtifactList artifactQuery( @Nonnull final String aiResourceGroup, @Nullable final String scenarioId, @Nullable final String executionId, @Nullable final String name, @Nullable final String kind, @Nullable final List Get list of artifacts Retrieve a list of artifacts that matches the specified filter criteria. Filter criteria include scenario ID, execution ID, an artifact name, artifact kind, or artifact labels. Use top/skip parameters to paginate the result list. Search by substring of artifact name or description, if required. Get list of artifacts Retrieve a list of artifacts that matches the specified filter criteria. Filter criteria include scenario ID, execution ID, an artifact name, artifact kind, or artifact labels. Use top/skip parameters to paginate the result list. Search by substring of artifact name or description, if required. 200 - A list of artifacts
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @return AiArtifactList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return AiArtifactList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiArtifactList artifactQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public AiArtifactList artifactQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
return artifactQuery(aiResourceGroup, null, null, null, null, null, null, null, null, null, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ConfigurationApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ConfigurationApi.java
index 3ab3ca9c0..3a5ba88fa 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ConfigurationApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ConfigurationApi.java
@@ -7,11 +7,11 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.AiConfiguration ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiConfigurationBaseData ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiConfigurationCreationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiConfigurationList ; //NOPMD
-import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response ; //NOPMD
+import com.sap.ai.sdk.core.client.model.AiConfiguration;
+import com.sap.ai.sdk.core.client.model.AiConfigurationBaseData;
+import com.sap.ai.sdk.core.client.model.AiConfigurationCreationResponse;
+import com.sap.ai.sdk.core.client.model.AiConfigurationList;
+import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response;
import java.util.HashMap;
import java.util.List;
@@ -34,28 +34,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class ConfigurationApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public ConfigurationApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public ConfigurationApi( @Nonnull final ApiClient apiClient )
{
@@ -81,7 +80,8 @@ public ConfigurationApi( @Nonnull final ApiClient apiClient )
* @return Integer
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public Integer configurationCount( @Nonnull final String aiResourceGroup, @Nullable final String scenarioId, @Nullable final String $search, @Nullable final Boolean searchCaseInsensitive, @Nullable final List Get number of configurations Retrieve the number of available configurations that match the specified filter criteria. Filter criteria include a scenarioId or executableIdsList. Search by substring of configuration name is also possible. Get number of configurations Retrieve the number of available configurations that match the specified filter criteria. Filter criteria include a scenarioId or executableIdsList. Search by substring of configuration name is also possible. 200 - Number of configurations
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @return Integer
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return Integer
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public Integer configurationCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public Integer configurationCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
return configurationCount(aiResourceGroup, null, null, null, null);
}
/**
- * Create configuration Create a new configuration linked to a specific scenario and executable for use in an execution or deployment. Create configuration Create a new configuration linked to a specific scenario and executable for use in an execution or deployment. 201 - The created configuration
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @param aiConfigurationBaseData
- The value for the parameter aiConfigurationBaseData
-* @return AiConfigurationCreationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param aiConfigurationBaseData
+ * The value for the parameter aiConfigurationBaseData
+ * @return AiConfigurationCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiConfigurationCreationResponse configurationCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiConfigurationBaseData aiConfigurationBaseData) throws OpenApiRequestException {
+ @Nonnull
+ public AiConfigurationCreationResponse configurationCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiConfigurationBaseData aiConfigurationBaseData) throws OpenApiRequestException {
final Object localVarPostBody = aiConfigurationBaseData;
// verify the required parameter 'aiResourceGroup' is set
@@ -194,7 +196,8 @@ public ConfigurationApi( @Nonnull final ApiClient apiClient )
* @return AiConfiguration
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiConfiguration configurationGet( @Nonnull final String aiResourceGroup, @Nonnull final String configurationId, @Nullable final String $expand) throws OpenApiRequestException {
+ @Nonnull
+ public AiConfiguration configurationGet( @Nonnull final String aiResourceGroup, @Nonnull final String configurationId, @Nullable final String $expand) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
@@ -236,19 +239,20 @@ public ConfigurationApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get configuration by ID Retrieve details for configuration with configurationId. Get configuration by ID Retrieve details for configuration with configurationId. 200 - A configuration
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
-* @param aiResourceGroup
- Specify a resource group id
-* @param configurationId
- Configuration identifier
-* @return AiConfiguration
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param configurationId
+ * Configuration identifier
+ * @return AiConfiguration
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiConfiguration configurationGet( @Nonnull final String aiResourceGroup, @Nonnull final String configurationId) throws OpenApiRequestException {
+ @Nonnull
+ public AiConfiguration configurationGet( @Nonnull final String aiResourceGroup, @Nonnull final String configurationId) throws OpenApiRequestException {
return configurationGet(aiResourceGroup, configurationId, null);
}
@@ -276,7 +280,8 @@ public ConfigurationApi( @Nonnull final ApiClient apiClient )
* @return AiConfigurationList
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiConfigurationList configurationQuery( @Nonnull final String aiResourceGroup, @Nullable final String scenarioId, @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final List Get list of configurations Retrieve a list of configurations. Filter results by scenario ID or a list of executable IDs. Search for configurations containing the search string as substring in the configuration name. Get list of configurations Retrieve a list of configurations. Filter results by scenario ID or a list of executable IDs. Search for configurations containing the search string as substring in the configuration name. 200 - A list of configurations
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @return AiConfigurationList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return AiConfigurationList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiConfigurationList configurationQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public AiConfigurationList configurationQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
return configurationQuery(aiResourceGroup, null, null, null, null, null, null, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/DeploymentApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/DeploymentApi.java
index 11032d381..7a83b9ffe 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/DeploymentApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/DeploymentApi.java
@@ -7,19 +7,19 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.AiDeploymentBulkModificationRequest ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiDeploymentBulkModificationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiDeploymentCreationRequest ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiDeploymentCreationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiDeploymentDeletionResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiDeploymentList ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiDeploymentModificationRequest ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiDeploymentModificationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiDeploymentResponseWithDetails ; //NOPMD
-import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response ; //NOPMD
-import java.time.OffsetDateTime ; //NOPMD
-import com.sap.ai.sdk.core.client.model.RTAErrorResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.RTALogCommonResponse ; //NOPMD
+import com.sap.ai.sdk.core.client.model.AiDeploymentBulkModificationRequest;
+import com.sap.ai.sdk.core.client.model.AiDeploymentBulkModificationResponse;
+import com.sap.ai.sdk.core.client.model.AiDeploymentCreationRequest;
+import com.sap.ai.sdk.core.client.model.AiDeploymentCreationResponse;
+import com.sap.ai.sdk.core.client.model.AiDeploymentDeletionResponse;
+import com.sap.ai.sdk.core.client.model.AiDeploymentList;
+import com.sap.ai.sdk.core.client.model.AiDeploymentModificationRequest;
+import com.sap.ai.sdk.core.client.model.AiDeploymentModificationResponse;
+import com.sap.ai.sdk.core.client.model.AiDeploymentResponseWithDetails;
+import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response;
+import java.time.OffsetDateTime;
+import com.sap.ai.sdk.core.client.model.RTAErrorResponse;
+import com.sap.ai.sdk.core.client.model.RTALogCommonResponse;
import java.util.HashMap;
import java.util.List;
@@ -42,35 +42,83 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class DeploymentApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public DeploymentApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public DeploymentApi( @Nonnull final ApiClient apiClient )
{
super(apiClient);
}
-
+ /**
+ * Patch multiple deployments Update status of multiple deployments. stop or delete multiple deployments. 202 - The modification of the deployments have been scheduled successfully
+ * 400 - The specification of the resource was incorrect
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param aiDeploymentBulkModificationRequest
+ * The value for the parameter aiDeploymentBulkModificationRequest
+ * @return AiDeploymentBulkModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public AiDeploymentBulkModificationResponse deploymentBatchModify( @Nonnull final String aiResourceGroup, @Nonnull final AiDeploymentBulkModificationRequest aiDeploymentBulkModificationRequest) throws OpenApiRequestException {
+ final Object localVarPostBody = aiDeploymentBulkModificationRequest;
+
+ // verify the required parameter 'aiResourceGroup' is set
+ if (aiResourceGroup == null) {
+ throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling deploymentBatchModify");
+ }
+
+ // verify the required parameter 'aiDeploymentBulkModificationRequest' is set
+ if (aiDeploymentBulkModificationRequest == null) {
+ throw new OpenApiRequestException("Missing the required parameter 'aiDeploymentBulkModificationRequest' when calling deploymentBatchModify");
+ }
+
+ final String localVarPath = UriComponentsBuilder.fromPath("/lm/deployments").build().toUriString();
+
+ final MultiValueMap Get number of deployments Retrieve the number of available deployments. The number can be filtered by scenarioId, configurationId, executableIdsList or by deployment status. Get number of deployments Retrieve the number of available deployments. The number can be filtered by scenarioId, configurationId, executableIdsList or by deployment status. Get number of deployments Retrieve the number of available deployments. The number can be filtered by scenarioId, configurationId, executableIdsList or by deployment status. 200 - Number of deployments
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @return Integer
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return Integer
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public Integer deploymentCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public Integer deploymentCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
return deploymentCount(aiResourceGroup, null, null, null, null);
}
/**
- * Create deployment Create a deployment using the configuration specified by configurationId after synchronously checking the correctness of the configuration. Create deployment Create a deployment using the configuration specified by configurationId after synchronously checking the correctness of the configuration. 202 - The deployment has been scheduled successfully
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @param aiDeploymentCreationRequest
- The value for the parameter aiDeploymentCreationRequest
-* @return AiDeploymentCreationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param aiDeploymentCreationRequest
+ * The value for the parameter aiDeploymentCreationRequest
+ * @return AiDeploymentCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiDeploymentCreationResponse deploymentCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiDeploymentCreationRequest aiDeploymentCreationRequest) throws OpenApiRequestException {
+ @Nonnull
+ public AiDeploymentCreationResponse deploymentCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiDeploymentCreationRequest aiDeploymentCreationRequest) throws OpenApiRequestException {
final Object localVarPostBody = aiDeploymentCreationRequest;
// verify the required parameter 'aiResourceGroup' is set
@@ -187,20 +238,21 @@ public DeploymentApi( @Nonnull final ApiClient apiClient )
return apiClient.invokeAPI(localVarPath, HttpMethod.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
- * Mark deployment as deleted Mark deployment with deploymentId as deleted. Mark deployment as deleted Mark deployment with deploymentId as deleted. 202 - The deletion of the deployment has been scheduled successfully
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
* 412 - The service didn't meet the precondition needed to execute this operation
-* @param aiResourceGroup
- Specify a resource group id
-* @param deploymentId
- Deployment identifier
-* @return AiDeploymentDeletionResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param deploymentId
+ * Deployment identifier
+ * @return AiDeploymentDeletionResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiDeploymentDeletionResponse deploymentDelete( @Nonnull final String aiResourceGroup, @Nonnull final String deploymentId) throws OpenApiRequestException {
+ @Nonnull
+ public AiDeploymentDeletionResponse deploymentDelete( @Nonnull final String aiResourceGroup, @Nonnull final String deploymentId) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
@@ -253,7 +305,8 @@ public DeploymentApi( @Nonnull final ApiClient apiClient )
* @return AiDeploymentResponseWithDetails
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiDeploymentResponseWithDetails deploymentGet( @Nonnull final String aiResourceGroup, @Nonnull final String deploymentId, @Nullable final String $select) throws OpenApiRequestException {
+ @Nonnull
+ public AiDeploymentResponseWithDetails deploymentGet( @Nonnull final String aiResourceGroup, @Nonnull final String deploymentId, @Nullable final String $select) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
@@ -295,38 +348,40 @@ public DeploymentApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get information about specific deployment Retrieve details for execution with deploymentId. Get information about specific deployment Retrieve details for execution with deploymentId. 200 - Information about the deployment
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
-* @param aiResourceGroup
- Specify a resource group id
-* @param deploymentId
- Deployment identifier
-* @return AiDeploymentResponseWithDetails
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param deploymentId
+ * Deployment identifier
+ * @return AiDeploymentResponseWithDetails
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiDeploymentResponseWithDetails deploymentGet( @Nonnull final String aiResourceGroup, @Nonnull final String deploymentId) throws OpenApiRequestException {
+ @Nonnull
+ public AiDeploymentResponseWithDetails deploymentGet( @Nonnull final String aiResourceGroup, @Nonnull final String deploymentId) throws OpenApiRequestException {
return deploymentGet(aiResourceGroup, deploymentId, null);
}
/**
- * Update target status or configuration of a deployment Update target status of a deployment to stop a deployment or change the configuration to be used by the deployment after synchronously checking the correctness of the configuration. A change of configuration is only allowed for RUNNING and PENDING deployments. Update target status or configuration of a deployment Update target status of a deployment to stop a deployment or change the configuration to be used by the deployment after synchronously checking the correctness of the configuration. A change of configuration is only allowed for RUNNING and PENDING deployments. 202 - The modification of the deployment has been scheduled successfully
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
* 412 - The service didn't meet the precondition needed to execute this operation
-* @param aiResourceGroup
- Specify a resource group id
-* @param deploymentId
- Deployment identifier
-* @param aiDeploymentModificationRequest
- The value for the parameter aiDeploymentModificationRequest
-* @return AiDeploymentModificationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param deploymentId
+ * Deployment identifier
+ * @param aiDeploymentModificationRequest
+ * The value for the parameter aiDeploymentModificationRequest
+ * @return AiDeploymentModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiDeploymentModificationResponse deploymentModify( @Nonnull final String aiResourceGroup, @Nonnull final String deploymentId, @Nonnull final AiDeploymentModificationRequest aiDeploymentModificationRequest) throws OpenApiRequestException {
+ @Nonnull
+ public AiDeploymentModificationResponse deploymentModify( @Nonnull final String aiResourceGroup, @Nonnull final String deploymentId, @Nonnull final AiDeploymentModificationRequest aiDeploymentModificationRequest) throws OpenApiRequestException {
final Object localVarPostBody = aiDeploymentModificationRequest;
// verify the required parameter 'aiResourceGroup' is set
@@ -395,7 +450,8 @@ public DeploymentApi( @Nonnull final ApiClient apiClient )
* @return AiDeploymentList
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiDeploymentList deploymentQuery( @Nonnull final String aiResourceGroup, @Nullable final List Get list of deployments Retrieve a list of deployments that match the specified filter criteria. Filter criteria include a list of executableIds, a scenarioId, a configurationId, or a deployment status. With top/skip parameters it is possible to paginate the result list. With select parameter it is possible to select only status. Get list of deployments Retrieve a list of deployments that match the specified filter criteria. Filter criteria include a list of executableIds, a scenarioId, a configurationId, or a deployment status. With top/skip parameters it is possible to paginate the result list. With select parameter it is possible to select only status. 200 - A list of deployments
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @return AiDeploymentList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return AiDeploymentList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiDeploymentList deploymentQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public AiDeploymentList deploymentQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
return deploymentQuery(aiResourceGroup, null, null, null, null, null, null, null);
}
@@ -471,12 +528,13 @@ public DeploymentApi( @Nonnull final ApiClient apiClient )
* @return RTALogCommonResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public RTALogCommonResponse logs( @Nonnull final String deploymentId, @Nullable final String authorization, @Nullable final Integer $top, @Nullable final OffsetDateTime start, @Nullable final OffsetDateTime end, @Nullable final String $order) throws OpenApiRequestException {
+ @Nonnull
+ public RTALogCommonResponse kubesubmitV4DeploymentsGetLogs( @Nonnull final String deploymentId, @Nullable final String authorization, @Nullable final Integer $top, @Nullable final OffsetDateTime start, @Nullable final OffsetDateTime end, @Nullable final String $order) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'deploymentId' is set
if (deploymentId == null) {
- throw new OpenApiRequestException("Missing the required parameter 'deploymentId' when calling logs");
+ throw new OpenApiRequestException("Missing the required parameter 'deploymentId' when calling kubesubmitV4DeploymentsGetLogs");
}
// create path and map variables
@@ -511,67 +569,20 @@ public DeploymentApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get logs of specific deployment Retrieve logs of a deployment for getting insight into the deployment results or failures. Get logs of specific deployment Retrieve logs of a deployment for getting insight into the deployment results or failures. 200 - The query was processed successfully and logs of the requested deployment will be returned.
* 400 - The request was malformed and could thus not be processed.
* 401 - Lacks valid authentication credentials for the target resource.
* 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param deploymentId
- Deployment identifier
-* @return RTALogCommonResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nullable public RTALogCommonResponse logs( @Nonnull final String deploymentId) throws OpenApiRequestException {
- return logs(deploymentId, null, null, null, null, null);
- }
- /**
- * Patch multiple deployments Update status of multiple deployments. stop or delete multiple deployments. 202 - The modification of the deployments have been scheduled successfully
- * 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @param aiDeploymentBulkModificationRequest
- The value for the parameter aiDeploymentBulkModificationRequest
-* @return AiDeploymentBulkModificationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param deploymentId
+ * Deployment identifier
+ * @return RTALogCommonResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiDeploymentBulkModificationResponse modify( @Nonnull final String aiResourceGroup, @Nonnull final AiDeploymentBulkModificationRequest aiDeploymentBulkModificationRequest) throws OpenApiRequestException {
- final Object localVarPostBody = aiDeploymentBulkModificationRequest;
-
- // verify the required parameter 'aiResourceGroup' is set
- if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling modify");
- }
-
- // verify the required parameter 'aiDeploymentBulkModificationRequest' is set
- if (aiDeploymentBulkModificationRequest == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiDeploymentBulkModificationRequest' when calling modify");
- }
-
- final String localVarPath = UriComponentsBuilder.fromPath("/lm/deployments").build().toUriString();
-
- final MultiValueMap Create a secret Create a secret based on the configuration in the request body. Create a secret Create a secret based on the configuration in the request body. 202 - The request to create a k8s secret based on the given configuration has been accepted.
* 400 - One of the following failure cases has occurred: <ul> <li> Neither JSON nor YAML was able to be parsed. <li> The request was invalidly formatted
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param kubesubmitV4DockerRegistrySecretsCreateRequest
- The value for the parameter kubesubmitV4DockerRegistrySecretsCreateRequest
-* @return BcknddockerRegistrySecretCreationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param kubesubmitV4DockerRegistrySecretsCreateRequest
+ * The value for the parameter kubesubmitV4DockerRegistrySecretsCreateRequest
+ * @return BcknddockerRegistrySecretCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BcknddockerRegistrySecretCreationResponse registrySecretsCreate( @Nonnull final KubesubmitV4DockerRegistrySecretsCreateRequest kubesubmitV4DockerRegistrySecretsCreateRequest) throws OpenApiRequestException {
- return registrySecretsCreate(kubesubmitV4DockerRegistrySecretsCreateRequest, null);
+ @Nonnull
+ public BcknddockerRegistrySecretCreationResponse kubesubmitV4DockerRegistrySecretsCreate( @Nonnull final KubesubmitV4DockerRegistrySecretsCreateRequest kubesubmitV4DockerRegistrySecretsCreateRequest) throws OpenApiRequestException {
+ return kubesubmitV4DockerRegistrySecretsCreate(kubesubmitV4DockerRegistrySecretsCreateRequest, null);
}
/**
@@ -140,12 +141,13 @@ public DockerRegistrySecretApi( @Nonnull final ApiClient apiClient )
* @return BcknddockerRegistrySecretDeletionResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BcknddockerRegistrySecretDeletionResponse registrySecretsDelete( @Nonnull final String dockerRegistryName, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BcknddockerRegistrySecretDeletionResponse kubesubmitV4DockerRegistrySecretsDelete( @Nonnull final String dockerRegistryName, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'dockerRegistryName' is set
if (dockerRegistryName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'dockerRegistryName' when calling registrySecretsDelete");
+ throw new OpenApiRequestException("Missing the required parameter 'dockerRegistryName' when calling kubesubmitV4DockerRegistrySecretsDelete");
}
// create path and map variables
@@ -174,19 +176,20 @@ public DockerRegistrySecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Delete docker registry secret Delete a secret with the name of dockerRegistryName if it exists. Delete docker registry secret Delete a secret with the name of dockerRegistryName if it exists. 202 - The request to delete the secret has been accepted.
* 404 - The specified resource was not found
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param dockerRegistryName
- Name of the docker Registry store for the secret.
-* @return BcknddockerRegistrySecretDeletionResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param dockerRegistryName
+ * Name of the docker Registry store for the secret.
+ * @return BcknddockerRegistrySecretDeletionResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BcknddockerRegistrySecretDeletionResponse registrySecretsDelete( @Nonnull final String dockerRegistryName) throws OpenApiRequestException {
- return registrySecretsDelete(dockerRegistryName, null);
+ @Nonnull
+ public BcknddockerRegistrySecretDeletionResponse kubesubmitV4DockerRegistrySecretsDelete( @Nonnull final String dockerRegistryName) throws OpenApiRequestException {
+ return kubesubmitV4DockerRegistrySecretsDelete(dockerRegistryName, null);
}
/**
@@ -203,12 +206,13 @@ public DockerRegistrySecretApi( @Nonnull final ApiClient apiClient )
* @return BcknddockerRegistrySecretStatus
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BcknddockerRegistrySecretStatus registrySecretsGet( @Nonnull final String dockerRegistryName, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BcknddockerRegistrySecretStatus kubesubmitV4DockerRegistrySecretsGet( @Nonnull final String dockerRegistryName, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'dockerRegistryName' is set
if (dockerRegistryName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'dockerRegistryName' when calling registrySecretsGet");
+ throw new OpenApiRequestException("Missing the required parameter 'dockerRegistryName' when calling kubesubmitV4DockerRegistrySecretsGet");
}
// create path and map variables
@@ -237,19 +241,20 @@ public DockerRegistrySecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Returns the of metadata of secrets which match the query parameter. Retrieve the stored secret metadata which matches the parameter dockerRegistryName. The base64 encoded field for the stored secret is not returned. Returns the of metadata of secrets which match the query parameter. Retrieve the stored secret metadata which matches the parameter dockerRegistryName. The base64 encoded field for the stored secret is not returned. 200 - The request was processed successfully and the metadata of the of stored secrets wil be returned.
* 400 - The request was malformed and could thus not be processed.
* 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param dockerRegistryName
- Name of the docker Registry store for the secret.
-* @return BcknddockerRegistrySecretStatus
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param dockerRegistryName
+ * Name of the docker Registry store for the secret.
+ * @return BcknddockerRegistrySecretStatus
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BcknddockerRegistrySecretStatus registrySecretsGet( @Nonnull final String dockerRegistryName) throws OpenApiRequestException {
- return registrySecretsGet(dockerRegistryName, null);
+ @Nonnull
+ public BcknddockerRegistrySecretStatus kubesubmitV4DockerRegistrySecretsGet( @Nonnull final String dockerRegistryName) throws OpenApiRequestException {
+ return kubesubmitV4DockerRegistrySecretsGet(dockerRegistryName, null);
}
/**
@@ -268,17 +273,18 @@ public DockerRegistrySecretApi( @Nonnull final ApiClient apiClient )
* @return BcknddockerRegistrySecretModificationResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BcknddockerRegistrySecretModificationResponse registrySecretsPatch( @Nonnull final String dockerRegistryName, @Nonnull final BcknddockerRegistrySecretWithSensitiveDataRequest bcknddockerRegistrySecretWithSensitiveDataRequest, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BcknddockerRegistrySecretModificationResponse kubesubmitV4DockerRegistrySecretsPatch( @Nonnull final String dockerRegistryName, @Nonnull final BcknddockerRegistrySecretWithSensitiveDataRequest bcknddockerRegistrySecretWithSensitiveDataRequest, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = bcknddockerRegistrySecretWithSensitiveDataRequest;
// verify the required parameter 'dockerRegistryName' is set
if (dockerRegistryName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'dockerRegistryName' when calling registrySecretsPatch");
+ throw new OpenApiRequestException("Missing the required parameter 'dockerRegistryName' when calling kubesubmitV4DockerRegistrySecretsPatch");
}
// verify the required parameter 'bcknddockerRegistrySecretWithSensitiveDataRequest' is set
if (bcknddockerRegistrySecretWithSensitiveDataRequest == null) {
- throw new OpenApiRequestException("Missing the required parameter 'bcknddockerRegistrySecretWithSensitiveDataRequest' when calling registrySecretsPatch");
+ throw new OpenApiRequestException("Missing the required parameter 'bcknddockerRegistrySecretWithSensitiveDataRequest' when calling kubesubmitV4DockerRegistrySecretsPatch");
}
// create path and map variables
@@ -309,21 +315,22 @@ public DockerRegistrySecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Update a secret Update a secret with name of dockerRegistryName if it exists. Update a secret Update a secret with name of dockerRegistryName if it exists. 202 - The request to update the secret based on the the given configuration has been accepted.
* 404 - The specified resource was not found
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param dockerRegistryName
- Name of the docker Registry store for the secret.
-* @param bcknddockerRegistrySecretWithSensitiveDataRequest
- The value for the parameter bcknddockerRegistrySecretWithSensitiveDataRequest
-* @return BcknddockerRegistrySecretModificationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param dockerRegistryName
+ * Name of the docker Registry store for the secret.
+ * @param bcknddockerRegistrySecretWithSensitiveDataRequest
+ * The value for the parameter bcknddockerRegistrySecretWithSensitiveDataRequest
+ * @return BcknddockerRegistrySecretModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BcknddockerRegistrySecretModificationResponse registrySecretsPatch( @Nonnull final String dockerRegistryName, @Nonnull final BcknddockerRegistrySecretWithSensitiveDataRequest bcknddockerRegistrySecretWithSensitiveDataRequest) throws OpenApiRequestException {
- return registrySecretsPatch(dockerRegistryName, bcknddockerRegistrySecretWithSensitiveDataRequest, null);
+ @Nonnull
+ public BcknddockerRegistrySecretModificationResponse kubesubmitV4DockerRegistrySecretsPatch( @Nonnull final String dockerRegistryName, @Nonnull final BcknddockerRegistrySecretWithSensitiveDataRequest bcknddockerRegistrySecretWithSensitiveDataRequest) throws OpenApiRequestException {
+ return kubesubmitV4DockerRegistrySecretsPatch(dockerRegistryName, bcknddockerRegistrySecretWithSensitiveDataRequest, null);
}
/**
@@ -343,7 +350,8 @@ public DockerRegistrySecretApi( @Nonnull final ApiClient apiClient )
* @return BcknddockerRegistrySecretStatusResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BcknddockerRegistrySecretStatusResponse registrySecretsQuery( @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BcknddockerRegistrySecretStatusResponse kubesubmitV4DockerRegistrySecretsQuery( @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/admin/dockerRegistrySecrets").build().toUriString();
@@ -374,15 +382,16 @@ public DockerRegistrySecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get a list of metadata of secrets. Retrieve a list of metadata of the stored secrets Get a list of metadata of secrets. Retrieve a list of metadata of the stored secrets 200 - The request was successful and the requested metadata for the secret will be returned. This includes a list of attributes of the stored secret like - creationTimestamp, namespace etc. The secret's data field is not returned.
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BcknddockerRegistrySecretStatusResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BcknddockerRegistrySecretStatusResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BcknddockerRegistrySecretStatusResponse registrySecretsQuery() throws OpenApiRequestException {
- return registrySecretsQuery(null, null, null, null);
+ @Nonnull
+ public BcknddockerRegistrySecretStatusResponse kubesubmitV4DockerRegistrySecretsQuery() throws OpenApiRequestException {
+ return kubesubmitV4DockerRegistrySecretsQuery(null, null, null, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ExecutableApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ExecutableApi.java
index 130d506f2..5a9629f74 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ExecutableApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ExecutableApi.java
@@ -7,9 +7,9 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.AiExecutable ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiExecutableList ; //NOPMD
-import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response ; //NOPMD
+import com.sap.ai.sdk.core.client.model.AiExecutable;
+import com.sap.ai.sdk.core.client.model.AiExecutableList;
+import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response;
import java.util.HashMap;
import java.util.List;
@@ -32,28 +32,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class ExecutableApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public ExecutableApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public ExecutableApi( @Nonnull final ApiClient apiClient )
{
@@ -61,21 +60,22 @@ public ExecutableApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get details about specific executable Retrieve details about an executable identified by executableId belonging to a scenario identified by scenarioId. Get details about specific executable Retrieve details about an executable identified by executableId belonging to a scenario identified by scenarioId. 200 - An Executable
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
-* @param scenarioId
- Scenario identifier
-* @param executableId
- Executable identifier
-* @param aiResourceGroup
- Specify a resource group id
-* @return AiExecutable
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param scenarioId
+ * Scenario identifier
+ * @param executableId
+ * Executable identifier
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return AiExecutable
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutable executableGet( @Nonnull final String scenarioId, @Nonnull final String executableId, @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutable executableGet( @Nonnull final String scenarioId, @Nonnull final String executableId, @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'scenarioId' is set
@@ -133,7 +133,8 @@ public ExecutableApi( @Nonnull final ApiClient apiClient )
* @return AiExecutableList
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutableList executableQuery( @Nonnull final String scenarioId, @Nonnull final String aiResourceGroup, @Nullable final String versionId) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutableList executableQuery( @Nonnull final String scenarioId, @Nonnull final String aiResourceGroup, @Nullable final String versionId) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'scenarioId' is set
@@ -175,18 +176,19 @@ public ExecutableApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get list of executables Retrieve a list of executables for a scenario. Filter by version ID, if required. Get list of executables Retrieve a list of executables for a scenario. Filter by version ID, if required. 200 - A list of executables
* 400 - The specification of the resource was incorrect
-* @param scenarioId
- Scenario identifier
-* @param aiResourceGroup
- Specify a resource group id
-* @return AiExecutableList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param scenarioId
+ * Scenario identifier
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return AiExecutableList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutableList executableQuery( @Nonnull final String scenarioId, @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutableList executableQuery( @Nonnull final String scenarioId, @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
return executableQuery(scenarioId, aiResourceGroup, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ExecutionApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ExecutionApi.java
index 6f1d3b5f4..13fa2e931 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ExecutionApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ExecutionApi.java
@@ -7,19 +7,19 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.AiEnactmentCreationRequest ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiExecutionBulkModificationRequest ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiExecutionBulkModificationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiExecutionCreationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiExecutionDeletionResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiExecutionList ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiExecutionModificationRequest ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiExecutionModificationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiExecutionResponseWithDetails ; //NOPMD
-import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response ; //NOPMD
-import java.time.OffsetDateTime ; //NOPMD
-import com.sap.ai.sdk.core.client.model.RTAErrorResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.RTALogCommonResponse ; //NOPMD
+import com.sap.ai.sdk.core.client.model.AiEnactmentCreationRequest;
+import com.sap.ai.sdk.core.client.model.AiExecutionBulkModificationRequest;
+import com.sap.ai.sdk.core.client.model.AiExecutionBulkModificationResponse;
+import com.sap.ai.sdk.core.client.model.AiExecutionCreationResponse;
+import com.sap.ai.sdk.core.client.model.AiExecutionDeletionResponse;
+import com.sap.ai.sdk.core.client.model.AiExecutionList;
+import com.sap.ai.sdk.core.client.model.AiExecutionModificationRequest;
+import com.sap.ai.sdk.core.client.model.AiExecutionModificationResponse;
+import com.sap.ai.sdk.core.client.model.AiExecutionResponseWithDetails;
+import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response;
+import java.time.OffsetDateTime;
+import com.sap.ai.sdk.core.client.model.RTAErrorResponse;
+import com.sap.ai.sdk.core.client.model.RTALogCommonResponse;
import java.util.HashMap;
import java.util.List;
@@ -42,35 +42,83 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class ExecutionApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public ExecutionApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public ExecutionApi( @Nonnull final ApiClient apiClient )
{
super(apiClient);
}
-
+ /**
+ * Patch multiple executions Patch multiple executions' status to stopped or deleted. 202 - The modification of the executions have been scheduled successfully
+ * 400 - The specification of the resource was incorrect
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param aiExecutionBulkModificationRequest
+ * The value for the parameter aiExecutionBulkModificationRequest
+ * @return AiExecutionBulkModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public AiExecutionBulkModificationResponse executionBatchModify( @Nonnull final String aiResourceGroup, @Nonnull final AiExecutionBulkModificationRequest aiExecutionBulkModificationRequest) throws OpenApiRequestException {
+ final Object localVarPostBody = aiExecutionBulkModificationRequest;
+
+ // verify the required parameter 'aiResourceGroup' is set
+ if (aiResourceGroup == null) {
+ throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling executionBatchModify");
+ }
+
+ // verify the required parameter 'aiExecutionBulkModificationRequest' is set
+ if (aiExecutionBulkModificationRequest == null) {
+ throw new OpenApiRequestException("Missing the required parameter 'aiExecutionBulkModificationRequest' when calling executionBatchModify");
+ }
+
+ final String localVarPath = UriComponentsBuilder.fromPath("/lm/executions").build().toUriString();
+
+ final MultiValueMap Get number of executions Retrieve the number of available executions. The number can be filtered by scenarioId, configurationId, executableIdsList or by execution status. Get number of executions Retrieve the number of available executions. The number can be filtered by scenarioId, configurationId, executableIdsList or by execution status. Get number of executions Retrieve the number of available executions. The number can be filtered by scenarioId, configurationId, executableIdsList or by execution status. 200 - Number of executions
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @return Integer
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return Integer
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public Integer executionCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public Integer executionCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
return executionCount(aiResourceGroup, null, null, null, null, null);
}
/**
- * Create execution Create an execution using the configuration specified by configurationId. Create execution Create an execution using the configuration specified by configurationId. 202 - The execution has been scheduled successfully
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @param aiEnactmentCreationRequest
- The value for the parameter aiEnactmentCreationRequest
-* @return AiExecutionCreationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param aiEnactmentCreationRequest
+ * The value for the parameter aiEnactmentCreationRequest
+ * @return AiExecutionCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionCreationResponse executionCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiEnactmentCreationRequest aiEnactmentCreationRequest) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutionCreationResponse executionCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiEnactmentCreationRequest aiEnactmentCreationRequest) throws OpenApiRequestException {
final Object localVarPostBody = aiEnactmentCreationRequest;
// verify the required parameter 'aiResourceGroup' is set
@@ -190,20 +241,21 @@ public ExecutionApi( @Nonnull final ApiClient apiClient )
return apiClient.invokeAPI(localVarPath, HttpMethod.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
- * Mark execution as deleted Mark the execution with executionId as deleted. Mark execution as deleted Mark the execution with executionId as deleted. 202 - The deletion of the execution has been scheduled successfully
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
* 412 - The service didn't meet the precondition needed to execute this operation
-* @param aiResourceGroup
- Specify a resource group id
-* @param executionId
- Execution identifier
-* @return AiExecutionDeletionResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param executionId
+ * Execution identifier
+ * @return AiExecutionDeletionResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionDeletionResponse executionDelete( @Nonnull final String aiResourceGroup, @Nonnull final String executionId) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutionDeletionResponse executionDelete( @Nonnull final String aiResourceGroup, @Nonnull final String executionId) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
@@ -256,7 +308,8 @@ public ExecutionApi( @Nonnull final ApiClient apiClient )
* @return AiExecutionResponseWithDetails
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionResponseWithDetails executionGet( @Nonnull final String aiResourceGroup, @Nonnull final String executionId, @Nullable final String $select) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutionResponseWithDetails executionGet( @Nonnull final String aiResourceGroup, @Nonnull final String executionId, @Nullable final String $select) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
@@ -298,38 +351,40 @@ public ExecutionApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get information about a specific execution Retrieve details for execution with executionId. Get information about a specific execution Retrieve details for execution with executionId. 200 - Information about the execution
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
-* @param aiResourceGroup
- Specify a resource group id
-* @param executionId
- Execution identifier
-* @return AiExecutionResponseWithDetails
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param executionId
+ * Execution identifier
+ * @return AiExecutionResponseWithDetails
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionResponseWithDetails executionGet( @Nonnull final String aiResourceGroup, @Nonnull final String executionId) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutionResponseWithDetails executionGet( @Nonnull final String aiResourceGroup, @Nonnull final String executionId) throws OpenApiRequestException {
return executionGet(aiResourceGroup, executionId, null);
}
/**
- * Update target status of an execution Update target status of the execution to stop an execution. Update target status of an execution Update target status of the execution to stop an execution. 202 - The modification of the execution has been scheduled successfully
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
* 412 - The service didn't meet the precondition needed to execute this operation
-* @param aiResourceGroup
- Specify a resource group id
-* @param executionId
- Execution identifier
-* @param aiExecutionModificationRequest
- The value for the parameter aiExecutionModificationRequest
-* @return AiExecutionModificationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param executionId
+ * Execution identifier
+ * @param aiExecutionModificationRequest
+ * The value for the parameter aiExecutionModificationRequest
+ * @return AiExecutionModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionModificationResponse executionModify( @Nonnull final String aiResourceGroup, @Nonnull final String executionId, @Nonnull final AiExecutionModificationRequest aiExecutionModificationRequest) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutionModificationResponse executionModify( @Nonnull final String aiResourceGroup, @Nonnull final String executionId, @Nonnull final AiExecutionModificationRequest aiExecutionModificationRequest) throws OpenApiRequestException {
final Object localVarPostBody = aiExecutionModificationRequest;
// verify the required parameter 'aiResourceGroup' is set
@@ -400,7 +455,8 @@ public ExecutionApi( @Nonnull final ApiClient apiClient )
* @return AiExecutionList
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionList executionQuery( @Nonnull final String aiResourceGroup, @Nullable final List Get list of executions Retrieve a list of executions that match the specified filter criteria. Filter criteria include a list of executableIds, a scenarioId, a configurationId, or a execution status. With top/skip parameters it is possible to paginate the result list. With select parameter it is possible to select only status. Get list of executions Retrieve a list of executions that match the specified filter criteria. Filter criteria include a list of executableIds, a scenarioId, a configurationId, or a execution status. With top/skip parameters it is possible to paginate the result list. With select parameter it is possible to select only status. 200 - A list of executions
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @return AiExecutionList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return AiExecutionList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionList executionQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutionList executionQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
return executionQuery(aiResourceGroup, null, null, null, null, null, null, null, null);
}
@@ -477,12 +534,13 @@ public ExecutionApi( @Nonnull final ApiClient apiClient )
* @return RTALogCommonResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public RTALogCommonResponse logs( @Nonnull final String executionId, @Nullable final String authorization, @Nullable final Integer $top, @Nullable final OffsetDateTime start, @Nullable final OffsetDateTime end, @Nullable final String $order) throws OpenApiRequestException {
+ @Nonnull
+ public RTALogCommonResponse kubesubmitV4ExecutionsGetLogs( @Nonnull final String executionId, @Nullable final String authorization, @Nullable final Integer $top, @Nullable final OffsetDateTime start, @Nullable final OffsetDateTime end, @Nullable final String $order) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'executionId' is set
if (executionId == null) {
- throw new OpenApiRequestException("Missing the required parameter 'executionId' when calling logs");
+ throw new OpenApiRequestException("Missing the required parameter 'executionId' when calling kubesubmitV4ExecutionsGetLogs");
}
// create path and map variables
@@ -517,67 +575,20 @@ public ExecutionApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get logs of specific execution Retrieve logs of an execution for getting insight into the execution results or failures. Get logs of specific execution Retrieve logs of an execution for getting insight into the execution results or failures. 200 - The query was processed successfully and logs of the requested execution will be returned.
* 400 - The request was malformed and could thus not be processed.
* 401 - Lacks valid authentication credentials for the target resource.
* 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param executionId
- Execution identifier
-* @return RTALogCommonResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nullable public RTALogCommonResponse logs( @Nonnull final String executionId) throws OpenApiRequestException {
- return logs(executionId, null, null, null, null, null);
- }
- /**
- * Patch multiple executions Patch multiple executions' status to stopped or deleted. 202 - The modification of the executions have been scheduled successfully
- * 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @param aiExecutionBulkModificationRequest
- The value for the parameter aiExecutionBulkModificationRequest
-* @return AiExecutionBulkModificationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param executionId
+ * Execution identifier
+ * @return RTALogCommonResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionBulkModificationResponse modify( @Nonnull final String aiResourceGroup, @Nonnull final AiExecutionBulkModificationRequest aiExecutionBulkModificationRequest) throws OpenApiRequestException {
- final Object localVarPostBody = aiExecutionBulkModificationRequest;
-
- // verify the required parameter 'aiResourceGroup' is set
- if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling modify");
- }
-
- // verify the required parameter 'aiExecutionBulkModificationRequest' is set
- if (aiExecutionBulkModificationRequest == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiExecutionBulkModificationRequest' when calling modify");
- }
-
- final String localVarPath = UriComponentsBuilder.fromPath("/lm/executions").build().toUriString();
-
- final MultiValueMap Get number of execution schedules Retrieve the number of scheduled executions. The number can be filtered by configurationId or executionScheduleStatus. Get number of execution schedules Retrieve the number of scheduled executions. The number can be filtered by configurationId or executionScheduleStatus. 200 - Number of execution schedules
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @return Integer
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return Integer
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public Integer scheduleCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
- return scheduleCount(aiResourceGroup, null, null);
+ @Nonnull
+ public Integer executionScheduleCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ return executionScheduleCount(aiResourceGroup, null, null);
}
/**
- * Create execution schedule Create an execution schedule using the configuration specified by configurationId, and schedule. Create execution schedule Create an execution schedule using the configuration specified by configurationId, and schedule. 202 - The execution schedule has been created successfully
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @param aiExecutionScheduleCreationData
- The value for the parameter aiExecutionScheduleCreationData
-* @return AiExecutionScheduleCreationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param aiExecutionScheduleCreationData
+ * The value for the parameter aiExecutionScheduleCreationData
+ * @return AiExecutionScheduleCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionScheduleCreationResponse scheduleCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiExecutionScheduleCreationData aiExecutionScheduleCreationData) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutionScheduleCreationResponse executionScheduleCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiExecutionScheduleCreationData aiExecutionScheduleCreationData) throws OpenApiRequestException {
final Object localVarPostBody = aiExecutionScheduleCreationData;
// verify the required parameter 'aiResourceGroup' is set
if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling scheduleCreate");
+ throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling executionScheduleCreate");
}
// verify the required parameter 'aiExecutionScheduleCreationData' is set
if (aiExecutionScheduleCreationData == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiExecutionScheduleCreationData' when calling scheduleCreate");
+ throw new OpenApiRequestException("Missing the required parameter 'aiExecutionScheduleCreationData' when calling executionScheduleCreate");
}
final String localVarPath = UriComponentsBuilder.fromPath("/lm/executionSchedules").build().toUriString();
@@ -176,29 +178,30 @@ public ExecutionScheduleApi( @Nonnull final ApiClient apiClient )
return apiClient.invokeAPI(localVarPath, HttpMethod.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
- * Delete execution schedule Delete the execution schedule with executionScheduleId. Delete execution schedule Delete the execution schedule with executionScheduleId. 202 - The execution schedule has been deleted successfully
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
-* @param aiResourceGroup
- Specify a resource group id
-* @param executionScheduleId
- Execution Schedule identifier
-* @return AiExecutionScheduleDeletionResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param executionScheduleId
+ * Execution Schedule identifier
+ * @return AiExecutionScheduleDeletionResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionScheduleDeletionResponse scheduleDelete( @Nonnull final String aiResourceGroup, @Nonnull final String executionScheduleId) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutionScheduleDeletionResponse executionScheduleDelete( @Nonnull final String aiResourceGroup, @Nonnull final String executionScheduleId) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling scheduleDelete");
+ throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling executionScheduleDelete");
}
// verify the required parameter 'executionScheduleId' is set
if (executionScheduleId == null) {
- throw new OpenApiRequestException("Missing the required parameter 'executionScheduleId' when calling scheduleDelete");
+ throw new OpenApiRequestException("Missing the required parameter 'executionScheduleId' when calling executionScheduleDelete");
}
// create path and map variables
@@ -226,29 +229,30 @@ public ExecutionScheduleApi( @Nonnull final ApiClient apiClient )
return apiClient.invokeAPI(localVarPath, HttpMethod.DELETE, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
- * Get information about an execution schedule Retrieve details for execution schedule with executionScheduleId. Get information about an execution schedule Retrieve details for execution schedule with executionScheduleId. 200 - Information about the execution schedule
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
-* @param aiResourceGroup
- Specify a resource group id
-* @param executionScheduleId
- Execution Schedule identifier
-* @return AiExecutionSchedule
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param executionScheduleId
+ * Execution Schedule identifier
+ * @return AiExecutionSchedule
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionSchedule scheduleGet( @Nonnull final String aiResourceGroup, @Nonnull final String executionScheduleId) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutionSchedule executionScheduleGet( @Nonnull final String aiResourceGroup, @Nonnull final String executionScheduleId) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling scheduleGet");
+ throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling executionScheduleGet");
}
// verify the required parameter 'executionScheduleId' is set
if (executionScheduleId == null) {
- throw new OpenApiRequestException("Missing the required parameter 'executionScheduleId' when calling scheduleGet");
+ throw new OpenApiRequestException("Missing the required parameter 'executionScheduleId' when calling executionScheduleGet");
}
// create path and map variables
@@ -276,36 +280,37 @@ public ExecutionScheduleApi( @Nonnull final ApiClient apiClient )
return apiClient.invokeAPI(localVarPath, HttpMethod.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
- * Update an execution schedule Update details of an execution schedule Update an execution schedule Update details of an execution schedule 202 - The execution schedule has been modified successfully
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
-* @param aiResourceGroup
- Specify a resource group id
-* @param executionScheduleId
- Execution Schedule identifier
-* @param aiExecutionScheduleModificationRequest
- The value for the parameter aiExecutionScheduleModificationRequest
-* @return AiExecutionScheduleModificationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param executionScheduleId
+ * Execution Schedule identifier
+ * @param aiExecutionScheduleModificationRequest
+ * The value for the parameter aiExecutionScheduleModificationRequest
+ * @return AiExecutionScheduleModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionScheduleModificationResponse scheduleModify( @Nonnull final String aiResourceGroup, @Nonnull final String executionScheduleId, @Nonnull final AiExecutionScheduleModificationRequest aiExecutionScheduleModificationRequest) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutionScheduleModificationResponse executionScheduleModify( @Nonnull final String aiResourceGroup, @Nonnull final String executionScheduleId, @Nonnull final AiExecutionScheduleModificationRequest aiExecutionScheduleModificationRequest) throws OpenApiRequestException {
final Object localVarPostBody = aiExecutionScheduleModificationRequest;
// verify the required parameter 'aiResourceGroup' is set
if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling scheduleModify");
+ throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling executionScheduleModify");
}
// verify the required parameter 'executionScheduleId' is set
if (executionScheduleId == null) {
- throw new OpenApiRequestException("Missing the required parameter 'executionScheduleId' when calling scheduleModify");
+ throw new OpenApiRequestException("Missing the required parameter 'executionScheduleId' when calling executionScheduleModify");
}
// verify the required parameter 'aiExecutionScheduleModificationRequest' is set
if (aiExecutionScheduleModificationRequest == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiExecutionScheduleModificationRequest' when calling scheduleModify");
+ throw new OpenApiRequestException("Missing the required parameter 'aiExecutionScheduleModificationRequest' when calling executionScheduleModify");
}
// create path and map variables
@@ -353,12 +358,13 @@ public ExecutionScheduleApi( @Nonnull final ApiClient apiClient )
* @return AiExecutionScheduleList
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionScheduleList scheduleQuery( @Nonnull final String aiResourceGroup, @Nullable final String configurationId, @Nullable final String status, @Nullable final Integer $top, @Nullable final Integer $skip) throws OpenApiRequestException {
+ @Nonnull
+ public AiExecutionScheduleList executionScheduleQuery( @Nonnull final String aiResourceGroup, @Nullable final String configurationId, @Nullable final String status, @Nullable final Integer $top, @Nullable final Integer $skip) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling scheduleQuery");
+ throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling executionScheduleQuery");
}
final String localVarPath = UriComponentsBuilder.fromPath("/lm/executionSchedules").build().toUriString();
@@ -390,16 +396,17 @@ public ExecutionScheduleApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get list of execution schedules Retrieve a list of execution schedules that match the specified filter criteria. Filter criteria include executionScheduleStatus or a configurationId. With top/skip parameters it is possible to paginate the result list. Get list of execution schedules Retrieve a list of execution schedules that match the specified filter criteria. Filter criteria include executionScheduleStatus or a configurationId. With top/skip parameters it is possible to paginate the result list. 200 - A list of execution schedules
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @return AiExecutionScheduleList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return AiExecutionScheduleList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiExecutionScheduleList scheduleQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
- return scheduleQuery(aiResourceGroup, null, null, null, null);
+ @Nonnull
+ public AiExecutionScheduleList executionScheduleQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ return executionScheduleQuery(aiResourceGroup, null, null, null, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/FileApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/FileApi.java
index f1ec8e0d6..b1e17d3c2 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/FileApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/FileApi.java
@@ -7,9 +7,9 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.DSetFileCreationResponse ; //NOPMD
-import java.io.File ; //NOPMD
-import com.sap.ai.sdk.core.client.model.FileDownload400Response ; //NOPMD
+import com.sap.ai.sdk.core.client.model.DSetFileCreationResponse;
+import java.io.File;
+import com.sap.ai.sdk.core.client.model.FileDownload400Response;
import java.util.HashMap;
import java.util.List;
@@ -32,28 +32,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class FileApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public FileApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public FileApi( @Nonnull final ApiClient apiClient )
{
@@ -74,7 +73,8 @@ public FileApi( @Nonnull final ApiClient apiClient )
* @return An OpenApiResponse containing the status code of the HttpResponse.
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nonnull public OpenApiResponse fileDelete( @Nonnull final String path, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public OpenApiResponse fileDelete( @Nonnull final String path, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'path' is set
@@ -109,17 +109,18 @@ public FileApi( @Nonnull final ApiClient apiClient )
}
/**
- * Delete file Delete the file specified by the path parameter. Delete file Delete the file specified by the path parameter. 204 - The request was processed successfully.
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
-* @param path
- path relative to the object store root URL in the secret
-* @return An OpenApiResponse containing the status code of the HttpResponse.
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param path
+ * path relative to the object store root URL in the secret
+ * @return An OpenApiResponse containing the status code of the HttpResponse.
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nonnull public OpenApiResponse fileDelete( @Nonnull final String path) throws OpenApiRequestException {
+ @Nonnull
+ public OpenApiResponse fileDelete( @Nonnull final String path) throws OpenApiRequestException {
return fileDelete(path, null);
}
@@ -136,7 +137,8 @@ public FileApi( @Nonnull final ApiClient apiClient )
* @return File
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public File fileDownload( @Nonnull final String path, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public File fileDownload( @Nonnull final String path, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'path' is set
@@ -170,17 +172,18 @@ public FileApi( @Nonnull final ApiClient apiClient )
}
/**
- * Download file Endpoint for downloading file. The path must point to an individual file. Download file Endpoint for downloading file. The path must point to an individual file. 200 - OK
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
-* @param path
- path relative to the object store root URL in the secret
-* @return File
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param path
+ * path relative to the object store root URL in the secret
+ * @return File
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public File fileDownload( @Nonnull final String path) throws OpenApiRequestException {
+ @Nonnull
+ public File fileDownload( @Nonnull final String path) throws OpenApiRequestException {
return fileDownload(path, null);
}
@@ -202,7 +205,8 @@ public FileApi( @Nonnull final ApiClient apiClient )
* @return DSetFileCreationResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public DSetFileCreationResponse fileUpload( @Nonnull final String path, @Nullable final String aiResourceGroup, @Nullable final Boolean overwrite, @Nullable final String body) throws OpenApiRequestException {
+ @Nonnull
+ public DSetFileCreationResponse fileUpload( @Nonnull final String path, @Nullable final String aiResourceGroup, @Nullable final Boolean overwrite, @Nullable final String body) throws OpenApiRequestException {
final Object localVarPostBody = body;
// verify the required parameter 'path' is set
@@ -239,18 +243,19 @@ public FileApi( @Nonnull final ApiClient apiClient )
}
/**
- * Upload file (size <= 100Mb) Endpoint for uploading file. The maximum file size depends on the actual implementation but must not exceed 100MB. The actual file size limit can be obtained by querying the AI API Runtime Capabilities Endpoint and checking the limits in the section of the `fileUpload` extension. Path cannot be a prefix, it must be a path to an object. Clients may group the objects in any manner they choose by specifying path prefixes. Allowed mime-types will be decided by the implementation. Content-Type header can be set to \"application/octet-stream\" but the implementation is responsible for detecting the actual mime type and checking against the allowed list of mime types. For security reasons, implementations cannot trust the mime type sent by the client. Example URLs: /files/dar/schemas/schema.json /files/icr/datasets/training/20201001/20201001-01.csv /files/icr/datasets/training/20201001/20201001-02.csv /files/mask-detection/training/mask-detection-20210301.tar.gz Upload file (size <= 100Mb) Endpoint for uploading file. The maximum file size depends on the actual implementation but must not exceed 100MB. The actual file size limit can be obtained by querying the AI API Runtime Capabilities Endpoint and checking the limits in the section of the `fileUpload` extension. Path cannot be a prefix, it must be a path to an object. Clients may group the objects in any manner they choose by specifying path prefixes. Allowed mime-types will be decided by the implementation. Content-Type header can be set to \"application/octet-stream\" but the implementation is responsible for detecting the actual mime type and checking against the allowed list of mime types. For security reasons, implementations cannot trust the mime type sent by the client. Example URLs: /files/dar/schemas/schema.json /files/icr/datasets/training/20201001/20201001-01.csv /files/icr/datasets/training/20201001/20201001-02.csv /files/mask-detection/training/mask-detection-20210301.tar.gz 201 - Created
* 400 - The specification of the resource was incorrect
* 409 - The specified file already exists and cannot be overwritten.
* 413 - The file size exceeds the supported limit.
-* @param path
- path relative to the object store root URL in the secret
-* @return DSetFileCreationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param path
+ * path relative to the object store root URL in the secret
+ * @return DSetFileCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public DSetFileCreationResponse fileUpload( @Nonnull final String path) throws OpenApiRequestException {
+ @Nonnull
+ public DSetFileCreationResponse fileUpload( @Nonnull final String path) throws OpenApiRequestException {
return fileUpload(path, null, null, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/KpiApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/KpiApi.java
index 0f4089e6b..febf8646e 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/KpiApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/KpiApi.java
@@ -7,10 +7,10 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.KpiColumnName ; //NOPMD
-import com.sap.ai.sdk.core.client.model.KpiGet400Response ; //NOPMD
-import com.sap.ai.sdk.core.client.model.KpiResultSet ; //NOPMD
-import java.util.Set ; //NOPMD
+import com.sap.ai.sdk.core.client.model.KpiColumnName;
+import com.sap.ai.sdk.core.client.model.KpiGet400Response;
+import com.sap.ai.sdk.core.client.model.KpiResultSet;
+import java.util.Set;
import java.util.HashMap;
import java.util.List;
@@ -33,28 +33,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class KpiApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public KpiApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public KpiApi( @Nonnull final ApiClient apiClient )
{
@@ -74,7 +73,8 @@ public KpiApi( @Nonnull final ApiClient apiClient )
* @return KpiResultSet
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public KpiResultSet kpiGet( @Nullable final Set Get KPIs Retrieve the number of executions, artifacts, and deployments for each resource group, scenario, and executable. The columns to be returned can be specified in a query parameter. Get KPIs Retrieve the number of executions, artifacts, and deployments for each resource group, scenario, and executable. The columns to be returned can be specified in a query parameter. 200 - KPIs
* 400 - Invalid request
* 404 - The specified resource was not found
* 429 - Too many requests
-* @return KpiResultSet
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return KpiResultSet
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public KpiResultSet kpiGet() throws OpenApiRequestException {
+ @Nonnull
+ public KpiResultSet kpiGet() throws OpenApiRequestException {
return kpiGet(null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/MetaApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/MetaApi.java
index 70d9f5711..f2a1d3567 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/MetaApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/MetaApi.java
@@ -7,8 +7,8 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.MetaCapabilities ; //NOPMD
-import com.sap.ai.sdk.core.client.model.MetaGet404Response ; //NOPMD
+import com.sap.ai.sdk.core.client.model.MetaCapabilities;
+import com.sap.ai.sdk.core.client.model.MetaGet404Response;
import java.util.HashMap;
import java.util.List;
@@ -31,28 +31,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class MetaApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public MetaApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public MetaApi( @Nonnull final ApiClient apiClient )
{
@@ -60,14 +59,15 @@ public MetaApi( @Nonnull final ApiClient apiClient )
}
/**
- * Meta information about API Meta information about an implementation of AI API, describing its capabilities, limits and extensions Meta information about API Meta information about an implementation of AI API, describing its capabilities, limits and extensions 200 - Description of the implementation
* 404 - The specified resource was not found
-* @return MetaCapabilities
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return MetaCapabilities
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public MetaCapabilities metaGet() throws OpenApiRequestException {
+ @Nonnull
+ public MetaCapabilities metaGet() throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/lm/meta").build().toUriString();
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/MetricsApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/MetricsApi.java
index bd9f92575..89c2617f6 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/MetricsApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/MetricsApi.java
@@ -7,11 +7,11 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.MetricsFind400Response ; //NOPMD
-import com.sap.ai.sdk.core.client.model.TrckDeleteMetricsResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.TrckExecutionId ; //NOPMD
-import com.sap.ai.sdk.core.client.model.TrckGetMetricResourceList ; //NOPMD
-import com.sap.ai.sdk.core.client.model.TrckMetricResource ; //NOPMD
+import com.sap.ai.sdk.core.client.model.MetricsFind400Response;
+import com.sap.ai.sdk.core.client.model.TrckDeleteMetricsResponse;
+import com.sap.ai.sdk.core.client.model.TrckExecutionId;
+import com.sap.ai.sdk.core.client.model.TrckGetMetricResourceList;
+import com.sap.ai.sdk.core.client.model.TrckMetricResource;
import java.util.HashMap;
import java.util.List;
@@ -34,28 +34,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class MetricsApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public MetricsApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public MetricsApi( @Nonnull final ApiClient apiClient )
{
@@ -63,18 +62,19 @@ public MetricsApi( @Nonnull final ApiClient apiClient )
}
/**
- * Delete metrics, tags, or labels Delete metrics, tags, or labels associated with an execution. Delete metrics, tags, or labels Delete metrics, tags, or labels associated with an execution. 200 - Metric Resource was successfully deleted
* 404 - The specified resource was not found
-* @param aiResourceGroup
- Specify a resource group id
-* @param executionId
- The Id of an execution
-* @return TrckDeleteMetricsResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param executionId
+ * The Id of an execution
+ * @return TrckDeleteMetricsResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public TrckDeleteMetricsResponse metricsDelete( @Nonnull final String aiResourceGroup, @Nonnull final TrckExecutionId executionId) throws OpenApiRequestException {
+ @Nonnull
+ public TrckDeleteMetricsResponse metricsDelete( @Nonnull final String aiResourceGroup, @Nonnull final TrckExecutionId executionId) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
@@ -128,7 +128,8 @@ executionIds parameter allows filtering of metric resource using single or multi
* @return TrckGetMetricResourceList
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public TrckGetMetricResourceList metricsFind( @Nonnull final String aiResourceGroup, @Nullable final String $filter, @Nullable final List Get metrics according to specified filter conditions. Retrieve metrics, labels, or tags according to filter conditions. One query parameter is mandatory, either execution ID or filter. Use up to 10 execution IDs in a query parameter. Get metrics according to specified filter conditions. Retrieve metrics, labels, or tags according to filter conditions. One query parameter is mandatory, either execution ID or filter. Use up to 10 execution IDs in a query parameter. 200 - List of tracking metadata, where each item includes metrics, labels, tags and customInfo. If $select query parameter is specified, each item will include only the resources specified in $select.
* 400 - The specification of the resource was incorrect
* 501 - Operation is not Supported.
-* @param aiResourceGroup
- Specify a resource group id
-* @return TrckGetMetricResourceList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return TrckGetMetricResourceList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public TrckGetMetricResourceList metricsFind( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public TrckGetMetricResourceList metricsFind( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
return metricsFind(aiResourceGroup, null, null, null);
}
/**
- * Create or update metrics, tags, or labels Update or create metrics, tags, or labels associated with an execution. Create or update metrics, tags, or labels Update or create metrics, tags, or labels associated with an execution. 204 - Metrics was successfully updated/created
* 400 - The specification of the resource was incorrect
* 413 - request entity is larger than limits defined by server.
-* @param aiResourceGroup
- Specify a resource group id
-* @param trckMetricResource
- The value for the parameter trckMetricResource
-* @return An OpenApiResponse containing the status code of the HttpResponse.
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param trckMetricResource
+ * The value for the parameter trckMetricResource
+ * @return An OpenApiResponse containing the status code of the HttpResponse.
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nonnull public OpenApiResponse metricsPatch( @Nonnull final String aiResourceGroup, @Nonnull final TrckMetricResource trckMetricResource) throws OpenApiRequestException {
+ @Nonnull
+ public OpenApiResponse metricsPatch( @Nonnull final String aiResourceGroup, @Nonnull final TrckMetricResource trckMetricResource) throws OpenApiRequestException {
final Object localVarPostBody = trckMetricResource;
// verify the required parameter 'aiResourceGroup' is set
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ObjectStoreSecretApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ObjectStoreSecretApi.java
index 4aad9f46c..c35b222e1 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ObjectStoreSecretApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ObjectStoreSecretApi.java
@@ -7,14 +7,14 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.BckndErrorResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretCreationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretDeletionResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretModificationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretStatus ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretStatusResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretWithSensitiveDataRequest ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretWithSensitiveDataRequestForPostCall ; //NOPMD
+import com.sap.ai.sdk.core.client.model.BckndErrorResponse;
+import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretCreationResponse;
+import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretDeletionResponse;
+import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretModificationResponse;
+import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretStatus;
+import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretStatusResponse;
+import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretWithSensitiveDataRequest;
+import com.sap.ai.sdk.core.client.model.BckndobjectStoreSecretWithSensitiveDataRequestForPostCall;
import java.util.HashMap;
import java.util.List;
@@ -37,28 +37,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class ObjectStoreSecretApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public ObjectStoreSecretApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public ObjectStoreSecretApi( @Nonnull final ApiClient apiClient )
{
@@ -81,12 +80,13 @@ public ObjectStoreSecretApi( @Nonnull final ApiClient apiClient )
* @return BckndobjectStoreSecretCreationResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndobjectStoreSecretCreationResponse storeSecretsCreate( @Nonnull final BckndobjectStoreSecretWithSensitiveDataRequestForPostCall bckndobjectStoreSecretWithSensitiveDataRequestForPostCall, @Nullable final String authorization, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public BckndobjectStoreSecretCreationResponse kubesubmitV4ObjectStoreSecretsCreate( @Nonnull final BckndobjectStoreSecretWithSensitiveDataRequestForPostCall bckndobjectStoreSecretWithSensitiveDataRequestForPostCall, @Nullable final String authorization, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
final Object localVarPostBody = bckndobjectStoreSecretWithSensitiveDataRequestForPostCall;
// verify the required parameter 'bckndobjectStoreSecretWithSensitiveDataRequestForPostCall' is set
if (bckndobjectStoreSecretWithSensitiveDataRequestForPostCall == null) {
- throw new OpenApiRequestException("Missing the required parameter 'bckndobjectStoreSecretWithSensitiveDataRequestForPostCall' when calling storeSecretsCreate");
+ throw new OpenApiRequestException("Missing the required parameter 'bckndobjectStoreSecretWithSensitiveDataRequestForPostCall' when calling kubesubmitV4ObjectStoreSecretsCreate");
}
final String localVarPath = UriComponentsBuilder.fromPath("/admin/objectStoreSecrets").build().toUriString();
@@ -116,18 +116,19 @@ public ObjectStoreSecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Create a secret Create a secret based on the configuration in the request body Create a secret Create a secret based on the configuration in the request body 202 - The request to create a k8s secret based on the given configuration has been accepted.
* 400 - One of the following failure cases has occurred: <ul> <li> Neither JSON nor YAML was able to be parsed. <li> The request was invalidly formatted
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param bckndobjectStoreSecretWithSensitiveDataRequestForPostCall
- The value for the parameter bckndobjectStoreSecretWithSensitiveDataRequestForPostCall
-* @return BckndobjectStoreSecretCreationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param bckndobjectStoreSecretWithSensitiveDataRequestForPostCall
+ * The value for the parameter bckndobjectStoreSecretWithSensitiveDataRequestForPostCall
+ * @return BckndobjectStoreSecretCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndobjectStoreSecretCreationResponse storeSecretsCreate( @Nonnull final BckndobjectStoreSecretWithSensitiveDataRequestForPostCall bckndobjectStoreSecretWithSensitiveDataRequestForPostCall) throws OpenApiRequestException {
- return storeSecretsCreate(bckndobjectStoreSecretWithSensitiveDataRequestForPostCall, null, null);
+ @Nonnull
+ public BckndobjectStoreSecretCreationResponse kubesubmitV4ObjectStoreSecretsCreate( @Nonnull final BckndobjectStoreSecretWithSensitiveDataRequestForPostCall bckndobjectStoreSecretWithSensitiveDataRequestForPostCall) throws OpenApiRequestException {
+ return kubesubmitV4ObjectStoreSecretsCreate(bckndobjectStoreSecretWithSensitiveDataRequestForPostCall, null, null);
}
/**
@@ -146,12 +147,13 @@ public ObjectStoreSecretApi( @Nonnull final ApiClient apiClient )
* @return BckndobjectStoreSecretDeletionResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndobjectStoreSecretDeletionResponse storeSecretsDelete( @Nonnull final String objectStoreName, @Nullable final String authorization, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public BckndobjectStoreSecretDeletionResponse kubesubmitV4ObjectStoreSecretsDelete( @Nonnull final String objectStoreName, @Nullable final String authorization, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'objectStoreName' is set
if (objectStoreName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'objectStoreName' when calling storeSecretsDelete");
+ throw new OpenApiRequestException("Missing the required parameter 'objectStoreName' when calling kubesubmitV4ObjectStoreSecretsDelete");
}
// create path and map variables
@@ -182,19 +184,20 @@ public ObjectStoreSecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Delete object store secret Delete a secret with the name of objectStoreName if it exists. Delete object store secret Delete a secret with the name of objectStoreName if it exists. 202 - The request to delete the secret has been accepted.
* 404 - The specified resource was not found
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param objectStoreName
- Name of the object store for the secret.
-* @return BckndobjectStoreSecretDeletionResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param objectStoreName
+ * Name of the object store for the secret.
+ * @return BckndobjectStoreSecretDeletionResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndobjectStoreSecretDeletionResponse storeSecretsDelete( @Nonnull final String objectStoreName) throws OpenApiRequestException {
- return storeSecretsDelete(objectStoreName, null, null);
+ @Nonnull
+ public BckndobjectStoreSecretDeletionResponse kubesubmitV4ObjectStoreSecretsDelete( @Nonnull final String objectStoreName) throws OpenApiRequestException {
+ return kubesubmitV4ObjectStoreSecretsDelete(objectStoreName, null, null);
}
/**
@@ -213,12 +216,13 @@ public ObjectStoreSecretApi( @Nonnull final ApiClient apiClient )
* @return BckndobjectStoreSecretStatus
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndobjectStoreSecretStatus storeSecretsGet( @Nonnull final String objectStoreName, @Nullable final String authorization, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public BckndobjectStoreSecretStatus kubesubmitV4ObjectStoreSecretsGet( @Nonnull final String objectStoreName, @Nullable final String authorization, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'objectStoreName' is set
if (objectStoreName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'objectStoreName' when calling storeSecretsGet");
+ throw new OpenApiRequestException("Missing the required parameter 'objectStoreName' when calling kubesubmitV4ObjectStoreSecretsGet");
}
// create path and map variables
@@ -249,19 +253,20 @@ public ObjectStoreSecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Returns the of metadata of secrets which match the query parameter. This retrieves the metadata of the stored secret which match the parameter objectStoreName. The fetched secret is constructed like objectStoreName-object-store-secret The base64 encoded field for the stored secret is not returned. Returns the of metadata of secrets which match the query parameter. This retrieves the metadata of the stored secret which match the parameter objectStoreName. The fetched secret is constructed like objectStoreName-object-store-secret The base64 encoded field for the stored secret is not returned. 200 - The request was processed successfully and the metadata of the of stored secrets wil be returned.
* 400 - The request was malformed and could thus not be processed.
* 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param objectStoreName
- Name of the object store for the secret.
-* @return BckndobjectStoreSecretStatus
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param objectStoreName
+ * Name of the object store for the secret.
+ * @return BckndobjectStoreSecretStatus
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndobjectStoreSecretStatus storeSecretsGet( @Nonnull final String objectStoreName) throws OpenApiRequestException {
- return storeSecretsGet(objectStoreName, null, null);
+ @Nonnull
+ public BckndobjectStoreSecretStatus kubesubmitV4ObjectStoreSecretsGet( @Nonnull final String objectStoreName) throws OpenApiRequestException {
+ return kubesubmitV4ObjectStoreSecretsGet(objectStoreName, null, null);
}
/**
@@ -282,17 +287,18 @@ public ObjectStoreSecretApi( @Nonnull final ApiClient apiClient )
* @return BckndobjectStoreSecretModificationResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndobjectStoreSecretModificationResponse storeSecretsPatch( @Nonnull final String objectStoreName, @Nonnull final BckndobjectStoreSecretWithSensitiveDataRequest bckndobjectStoreSecretWithSensitiveDataRequest, @Nullable final String authorization, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public BckndobjectStoreSecretModificationResponse kubesubmitV4ObjectStoreSecretsPatch( @Nonnull final String objectStoreName, @Nonnull final BckndobjectStoreSecretWithSensitiveDataRequest bckndobjectStoreSecretWithSensitiveDataRequest, @Nullable final String authorization, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
final Object localVarPostBody = bckndobjectStoreSecretWithSensitiveDataRequest;
// verify the required parameter 'objectStoreName' is set
if (objectStoreName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'objectStoreName' when calling storeSecretsPatch");
+ throw new OpenApiRequestException("Missing the required parameter 'objectStoreName' when calling kubesubmitV4ObjectStoreSecretsPatch");
}
// verify the required parameter 'bckndobjectStoreSecretWithSensitiveDataRequest' is set
if (bckndobjectStoreSecretWithSensitiveDataRequest == null) {
- throw new OpenApiRequestException("Missing the required parameter 'bckndobjectStoreSecretWithSensitiveDataRequest' when calling storeSecretsPatch");
+ throw new OpenApiRequestException("Missing the required parameter 'bckndobjectStoreSecretWithSensitiveDataRequest' when calling kubesubmitV4ObjectStoreSecretsPatch");
}
// create path and map variables
@@ -325,21 +331,22 @@ public ObjectStoreSecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Update object store secret Update a secret with name of objectStoreName if it exists. Update object store secret Update a secret with name of objectStoreName if it exists. 202 - The request to update the secret based on the given configuration has been accepted.
* 404 - The specified resource was not found
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param objectStoreName
- Name of the object store for the secret.
-* @param bckndobjectStoreSecretWithSensitiveDataRequest
- The value for the parameter bckndobjectStoreSecretWithSensitiveDataRequest
-* @return BckndobjectStoreSecretModificationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param objectStoreName
+ * Name of the object store for the secret.
+ * @param bckndobjectStoreSecretWithSensitiveDataRequest
+ * The value for the parameter bckndobjectStoreSecretWithSensitiveDataRequest
+ * @return BckndobjectStoreSecretModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndobjectStoreSecretModificationResponse storeSecretsPatch( @Nonnull final String objectStoreName, @Nonnull final BckndobjectStoreSecretWithSensitiveDataRequest bckndobjectStoreSecretWithSensitiveDataRequest) throws OpenApiRequestException {
- return storeSecretsPatch(objectStoreName, bckndobjectStoreSecretWithSensitiveDataRequest, null, null);
+ @Nonnull
+ public BckndobjectStoreSecretModificationResponse kubesubmitV4ObjectStoreSecretsPatch( @Nonnull final String objectStoreName, @Nonnull final BckndobjectStoreSecretWithSensitiveDataRequest bckndobjectStoreSecretWithSensitiveDataRequest) throws OpenApiRequestException {
+ return kubesubmitV4ObjectStoreSecretsPatch(objectStoreName, bckndobjectStoreSecretWithSensitiveDataRequest, null, null);
}
/**
@@ -361,7 +368,8 @@ public ObjectStoreSecretApi( @Nonnull final ApiClient apiClient )
* @return BckndobjectStoreSecretStatusResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndobjectStoreSecretStatusResponse storeSecretsQuery( @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count, @Nullable final String authorization, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public BckndobjectStoreSecretStatusResponse kubesubmitV4ObjectStoreSecretsQuery( @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count, @Nullable final String authorization, @Nullable final String aiResourceGroup) throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/admin/objectStoreSecrets").build().toUriString();
@@ -394,15 +402,16 @@ public ObjectStoreSecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get a list of metadata of available secrets. Retrieve a list of metadata of the stored secrets. Get a list of metadata of available secrets. Retrieve a list of metadata of the stored secrets. 200 - The request was successful and the requested metadata for the secret will be returned. This includes a list of attributes of the stored secret like - creationTimestamp, namespace etc. The secret's data field is not returned.
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndobjectStoreSecretStatusResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BckndobjectStoreSecretStatusResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndobjectStoreSecretStatusResponse storeSecretsQuery() throws OpenApiRequestException {
- return storeSecretsQuery(null, null, null, null, null);
+ @Nonnull
+ public BckndobjectStoreSecretStatusResponse kubesubmitV4ObjectStoreSecretsQuery() throws OpenApiRequestException {
+ return kubesubmitV4ObjectStoreSecretsQuery(null, null, null, null, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/RepositoryApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/RepositoryApi.java
index 2880bc873..09d68563f 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/RepositoryApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/RepositoryApi.java
@@ -7,14 +7,14 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryCreationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryCredentials ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryData ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryDataResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryDeletionResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryDetails ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryModificationResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndErrorResponse ; //NOPMD
+import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryCreationResponse;
+import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryCredentials;
+import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryData;
+import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryDataResponse;
+import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryDeletionResponse;
+import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryDetails;
+import com.sap.ai.sdk.core.client.model.BckndArgoCDRepositoryModificationResponse;
+import com.sap.ai.sdk.core.client.model.BckndErrorResponse;
import java.util.HashMap;
import java.util.List;
@@ -37,28 +37,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class RepositoryApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public RepositoryApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public RepositoryApi( @Nonnull final ApiClient apiClient )
{
@@ -66,66 +65,6 @@ public RepositoryApi( @Nonnull final ApiClient apiClient )
}
- /**
- * List all GitOps repositories for a tenant Retrieve a list of all GitOps repositories for a tenant. 200 - Returns a list of all GitOps repositories for the tenant.
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @param $top (optional)
- Number of results to display
- * @param $skip (optional)
- Number of results to be skipped from the ordered list of results
- * @param $count (optional)
- When the $count field is set to false, the response contains a count of the items present in the response. When the $count field is set to true, the response contains a count of all the items present on the server, and not just the ones in the response. When the $count field is not passed, it is false by default.
- * @return BckndArgoCDRepositoryDataResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nullable public BckndArgoCDRepositoryDataResponse all( @Nullable final String authorization, @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count) throws OpenApiRequestException {
- final Object localVarPostBody = null;
-
- final String localVarPath = UriComponentsBuilder.fromPath("/admin/repositories").build().toUriString();
-
- final MultiValueMap List all GitOps repositories for a tenant Retrieve a list of all GitOps repositories for a tenant. 200 - Returns a list of all GitOps repositories for the tenant.
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndArgoCDRepositoryDataResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nullable public BckndArgoCDRepositoryDataResponse all() throws OpenApiRequestException {
- return all(null, null, null, null);
- }
-
/**
* On-board a new GitOps repository On-board a new GitOps repository as specified in the content payload On-board a new GitOps repository On-board a new GitOps repository as specified in the content payload On-board a new GitOps repository On-board a new GitOps repository as specified in the content payload 200 - The repository has been on-boarded
* 409 - The provided repository already exists
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param bckndArgoCDRepositoryData
- The value for the parameter bckndArgoCDRepositoryData
-* @return BckndArgoCDRepositoryCreationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param bckndArgoCDRepositoryData
+ * The value for the parameter bckndArgoCDRepositoryData
+ * @return BckndArgoCDRepositoryCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDRepositoryCreationResponse kubesubmitV4RepositoriesCreate( @Nonnull final BckndArgoCDRepositoryData bckndArgoCDRepositoryData) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDRepositoryCreationResponse kubesubmitV4RepositoriesCreate( @Nonnull final BckndArgoCDRepositoryData bckndArgoCDRepositoryData) throws OpenApiRequestException {
return kubesubmitV4RepositoriesCreate(bckndArgoCDRepositoryData, null);
}
@@ -202,7 +143,8 @@ public RepositoryApi( @Nonnull final ApiClient apiClient )
* @return BckndArgoCDRepositoryDeletionResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDRepositoryDeletionResponse kubesubmitV4RepositoriesDelete( @Nonnull final String repositoryName, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDRepositoryDeletionResponse kubesubmitV4RepositoriesDelete( @Nonnull final String repositoryName, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'repositoryName' is set
@@ -236,18 +178,19 @@ public RepositoryApi( @Nonnull final ApiClient apiClient )
}
/**
- * Off-board a repository. Remove a repository from GitOps. Off-board a repository. Remove a repository from GitOps. 200 - The repository has been off-boarded successfully.
* 404 - The specified resource was not found
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param repositoryName
- Name of the repository
-* @return BckndArgoCDRepositoryDeletionResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param repositoryName
+ * Name of the repository
+ * @return BckndArgoCDRepositoryDeletionResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDRepositoryDeletionResponse kubesubmitV4RepositoriesDelete( @Nonnull final String repositoryName) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDRepositoryDeletionResponse kubesubmitV4RepositoriesDelete( @Nonnull final String repositoryName) throws OpenApiRequestException {
return kubesubmitV4RepositoriesDelete(repositoryName, null);
}
@@ -265,7 +208,8 @@ public RepositoryApi( @Nonnull final ApiClient apiClient )
* @return BckndArgoCDRepositoryDetails
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDRepositoryDetails kubesubmitV4RepositoriesGet( @Nonnull final String repositoryName, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDRepositoryDetails kubesubmitV4RepositoriesGet( @Nonnull final String repositoryName, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'repositoryName' is set
@@ -299,21 +243,84 @@ public RepositoryApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get the access details for a repository Retrieve the access details for a repository if it exists. Get the access details for a repository Retrieve the access details for a repository if it exists. 200 - The repository details have been found and returned.
* 400 - The request was malformed and could thus not be processed.
* 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param repositoryName
- Name of the repository
-* @return BckndArgoCDRepositoryDetails
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param repositoryName
+ * Name of the repository
+ * @return BckndArgoCDRepositoryDetails
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDRepositoryDetails kubesubmitV4RepositoriesGet( @Nonnull final String repositoryName) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDRepositoryDetails kubesubmitV4RepositoriesGet( @Nonnull final String repositoryName) throws OpenApiRequestException {
return kubesubmitV4RepositoriesGet(repositoryName, null);
}
+ /**
+ * List all GitOps repositories for a tenant Retrieve a list of all GitOps repositories for a tenant. 200 - Returns a list of all GitOps repositories for the tenant.
+ * 400 - The request was malformed and could thus not be processed.
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ * @param authorization (optional)
+ Authorization bearer token containing a JWT token.
+ * @param $top (optional)
+ Number of results to display
+ * @param $skip (optional)
+ Number of results to be skipped from the ordered list of results
+ * @param $count (optional)
+ When the $count field is set to false, the response contains a count of the items present in the response. When the $count field is set to true, the response contains a count of all the items present on the server, and not just the ones in the response. When the $count field is not passed, it is false by default.
+ * @return BckndArgoCDRepositoryDataResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDRepositoryDataResponse kubesubmitV4RepositoriesGetAll( @Nullable final String authorization, @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count) throws OpenApiRequestException {
+ final Object localVarPostBody = null;
+
+ final String localVarPath = UriComponentsBuilder.fromPath("/admin/repositories").build().toUriString();
+
+ final MultiValueMap List all GitOps repositories for a tenant Retrieve a list of all GitOps repositories for a tenant. 200 - Returns a list of all GitOps repositories for the tenant.
+ * 400 - The request was malformed and could thus not be processed.
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ * @return BckndArgoCDRepositoryDataResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDRepositoryDataResponse kubesubmitV4RepositoriesGetAll() throws OpenApiRequestException {
+ return kubesubmitV4RepositoriesGetAll(null, null, null, null);
+ }
+
/**
* Update the repository credentials. Update the referenced repository credentials to synchronize a repository. Update the repository credentials. Update the referenced repository credentials to synchronize a repository. Update the repository credentials. Update the referenced repository credentials to synchronize a repository. 200 - The repository credentials have been updated and will eventually be synced.
* 404 - The specified resource was not found
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param repositoryName
- Name of the repository
-* @param bckndArgoCDRepositoryCredentials
- The value for the parameter bckndArgoCDRepositoryCredentials
-* @return BckndArgoCDRepositoryModificationResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param repositoryName
+ * Name of the repository
+ * @param bckndArgoCDRepositoryCredentials
+ * The value for the parameter bckndArgoCDRepositoryCredentials
+ * @return BckndArgoCDRepositoryModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndArgoCDRepositoryModificationResponse kubesubmitV4RepositoriesUpdate( @Nonnull final String repositoryName, @Nonnull final BckndArgoCDRepositoryCredentials bckndArgoCDRepositoryCredentials) throws OpenApiRequestException {
+ @Nonnull
+ public BckndArgoCDRepositoryModificationResponse kubesubmitV4RepositoriesUpdate( @Nonnull final String repositoryName, @Nonnull final BckndArgoCDRepositoryCredentials bckndArgoCDRepositoryCredentials) throws OpenApiRequestException {
return kubesubmitV4RepositoriesUpdate(repositoryName, bckndArgoCDRepositoryCredentials, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ResourceApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ResourceApi.java
index 991a64aa4..c4b720485 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ResourceApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ResourceApi.java
@@ -7,10 +7,10 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.BckndErrorResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndResourceGetResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndResourcePatchBody ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndResourcePatchResponse ; //NOPMD
+import com.sap.ai.sdk.core.client.model.BckndErrorResponse;
+import com.sap.ai.sdk.core.client.model.BckndResourceGetResponse;
+import com.sap.ai.sdk.core.client.model.BckndResourcePatchBody;
+import com.sap.ai.sdk.core.client.model.BckndResourcePatchResponse;
import java.util.HashMap;
import java.util.List;
@@ -33,28 +33,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class ResourceApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public ResourceApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public ResourceApi( @Nonnull final ApiClient apiClient )
{
@@ -73,7 +72,8 @@ public ResourceApi( @Nonnull final ApiClient apiClient )
* @return BckndResourceGetResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndResourceGetResponse kubesubmitV4ResourcesGet( @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BckndResourceGetResponse kubesubmitV4ResourcesGet( @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/admin/resources/nodes").build().toUriString();
@@ -99,15 +99,16 @@ public ResourceApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get node request status corresponding to tenant Lists all hot spare nodes, used nodes and total nodes corresponding to tenant. Get node request status corresponding to tenant Lists all hot spare nodes, used nodes and total nodes corresponding to tenant. 200 - Reserved resource status were fetched
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndResourceGetResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BckndResourceGetResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndResourceGetResponse kubesubmitV4ResourcesGet() throws OpenApiRequestException {
+ @Nonnull
+ public BckndResourceGetResponse kubesubmitV4ResourcesGet() throws OpenApiRequestException {
return kubesubmitV4ResourcesGet(null);
}
@@ -124,7 +125,8 @@ public ResourceApi( @Nonnull final ApiClient apiClient )
* @return BckndResourcePatchResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndResourcePatchResponse kubesubmitV4ResourcesPatch( @Nonnull final BckndResourcePatchBody bckndResourcePatchBody, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BckndResourcePatchResponse kubesubmitV4ResourcesPatch( @Nonnull final BckndResourcePatchBody bckndResourcePatchBody, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = bckndResourcePatchBody;
// verify the required parameter 'bckndResourcePatchBody' is set
@@ -157,17 +159,18 @@ public ResourceApi( @Nonnull final ApiClient apiClient )
}
/**
- * Set reserved resources corresponding to tenant Set hot spare nodes corresponding to tenant at main tenant level. Set reserved resources corresponding to tenant Set hot spare nodes corresponding to tenant at main tenant level. 200 - Reserved resource has been set.
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param bckndResourcePatchBody
- The value for the parameter bckndResourcePatchBody
-* @return BckndResourcePatchResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param bckndResourcePatchBody
+ * The value for the parameter bckndResourcePatchBody
+ * @return BckndResourcePatchResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndResourcePatchResponse kubesubmitV4ResourcesPatch( @Nonnull final BckndResourcePatchBody bckndResourcePatchBody) throws OpenApiRequestException {
+ @Nonnull
+ public BckndResourcePatchResponse kubesubmitV4ResourcesPatch( @Nonnull final BckndResourcePatchBody bckndResourcePatchBody) throws OpenApiRequestException {
return kubesubmitV4ResourcesPatch(bckndResourcePatchBody, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ResourceGroupApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ResourceGroupApi.java
index d5a192a98..278f521a5 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ResourceGroupApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ResourceGroupApi.java
@@ -7,13 +7,13 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.BckndErrorResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndResourceGroup ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndResourceGroupBase ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndResourceGroupDeletionResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndResourceGroupList ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndResourceGroupPatchRequest ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndResourceGroupsPostRequest ; //NOPMD
+import com.sap.ai.sdk.core.client.model.BckndErrorResponse;
+import com.sap.ai.sdk.core.client.model.BckndResourceGroup;
+import com.sap.ai.sdk.core.client.model.BckndResourceGroupBase;
+import com.sap.ai.sdk.core.client.model.BckndResourceGroupDeletionResponse;
+import com.sap.ai.sdk.core.client.model.BckndResourceGroupList;
+import com.sap.ai.sdk.core.client.model.BckndResourceGroupPatchRequest;
+import com.sap.ai.sdk.core.client.model.BckndResourceGroupsPostRequest;
import java.util.HashMap;
import java.util.List;
@@ -36,28 +36,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class ResourceGroupApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public ResourceGroupApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public ResourceGroupApi( @Nonnull final ApiClient apiClient )
{
@@ -65,76 +64,6 @@ public ResourceGroupApi( @Nonnull final ApiClient apiClient )
}
- /**
- * Gets all resource groups of a given tenant Retrieve a list of resource groups for a given tenant. 200 - A list of resource groups
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @param $top (optional)
- Number of results to display
- * @param $skip (optional)
- Number of results to be skipped from the ordered list of results
- * @param $count (optional)
- When the $count field is set to false, the response contains a count of the items present in the response. When the $count field is set to true, the response contains a count of all the items present on the server, and not just the ones in the response. When the $count field is not passed, it is false by default.
- * @param prefer (optional)
- <p> One can use the HTTP Prefer header to configure the \"maxpagesize\" of this endpoint. \"maxpagesize\" is the maximum number of resourcegroups to return for a request to this endpoint. If more resourcegroups exist, the response will include a \"Link\" HTTP header. This header will include the URL for getting the next batch of resourcegroups. <p> The \"maxpagesize\" preference and the \"continueToken\" parameter together enable splitting a large list of resourcegroups to small chunks. This feature can help to reduce the response time of a single list-resourcegroup request when the client has a large number resourcegroups in the system. <p> By default, the \"maxpagesize\" is not set, which means retrieving all resourcegroups in a single request. <p> Setting a maxpagesize may return fewer than the requested amount of resourcegroups (up to zero) in the event all requested resourcegroups are filtered out. The client should only use the presence of the Link header in the response to determine whether more resourcegroups are available. If \"maxpagesize\" is specified and the response does not include a Link header, the client may assume that no more resourcegroups are available.
- * @param continueToken (optional)
- <p> A token for getting more resourcegroups from the service. It is encoded in the URL returned via a \"Link\" HTTP header of a response of this endpoint if the original request specified \"maxpagesize\" in a \"Prefer\" HTTP header and the number of available resourcegroups is larger than the number specified by \"maxpagesize\". Do <b>NOT</b> use the \"continueToken\" parameter in other scenarios. <p> The server may reject a continue token that it does not recognize. If the specified continue token is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error. In this case, the client must restart their list request without the continue token.
- * @param labelSelector (optional
- filter by labels. Pass in pairs in the form of 'key=value' and / or 'key!=value' separated by commas and the result will be filtered to only those scenarios containing and / or not containing all given key/values
- * @return BckndResourceGroupList
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nullable public BckndResourceGroupList all( @Nullable final String authorization, @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count, @Nullable final String prefer, @Nullable final String continueToken, @Nullable final List Gets all resource groups of a given tenant Retrieve a list of resource groups for a given tenant. 200 - A list of resource groups
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndResourceGroupList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nullable public BckndResourceGroupList all() throws OpenApiRequestException {
- return all(null, null, null, null, null, null, null);
- }
-
/**
* Creates a resource group Create resource group to a given main tenant. The length of resource group id must be between 3 and 253. Creates a resource group Create resource group to a given main tenant. The length of resource group id must be between 3 and 253. Creates a resource group Create resource group to a given main tenant. The length of resource group id must be between 3 and 253. 202 - A resource group base object
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param bckndResourceGroupsPostRequest
- The value for the parameter bckndResourceGroupsPostRequest
-* @return BckndResourceGroupBase
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param bckndResourceGroupsPostRequest
+ * The value for the parameter bckndResourceGroupsPostRequest
+ * @return BckndResourceGroupBase
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndResourceGroupBase kubesubmitV4ResourcegroupsCreate( @Nonnull final BckndResourceGroupsPostRequest bckndResourceGroupsPostRequest) throws OpenApiRequestException {
+ @Nonnull
+ public BckndResourceGroupBase kubesubmitV4ResourcegroupsCreate( @Nonnull final BckndResourceGroupsPostRequest bckndResourceGroupsPostRequest) throws OpenApiRequestException {
return kubesubmitV4ResourcegroupsCreate(bckndResourceGroupsPostRequest, null);
}
@@ -209,7 +140,8 @@ public ResourceGroupApi( @Nonnull final ApiClient apiClient )
* @return BckndResourceGroupDeletionResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndResourceGroupDeletionResponse kubesubmitV4ResourcegroupsDelete( @Nonnull final String resourceGroupId, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BckndResourceGroupDeletionResponse kubesubmitV4ResourcegroupsDelete( @Nonnull final String resourceGroupId, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'resourceGroupId' is set
@@ -243,18 +175,19 @@ public ResourceGroupApi( @Nonnull final ApiClient apiClient )
}
/**
- * Delete a resource group Delete a resource group of a given main tenant. Delete a resource group Delete a resource group of a given main tenant. 202 - The deletion of the resource group has been scheduled successfully
* 404 - The specified resource was not found
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param resourceGroupId
- Resource group identifier
-* @return BckndResourceGroupDeletionResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param resourceGroupId
+ * Resource group identifier
+ * @return BckndResourceGroupDeletionResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndResourceGroupDeletionResponse kubesubmitV4ResourcegroupsDelete( @Nonnull final String resourceGroupId) throws OpenApiRequestException {
+ @Nonnull
+ public BckndResourceGroupDeletionResponse kubesubmitV4ResourcegroupsDelete( @Nonnull final String resourceGroupId) throws OpenApiRequestException {
return kubesubmitV4ResourcegroupsDelete(resourceGroupId, null);
}
@@ -272,7 +205,8 @@ public ResourceGroupApi( @Nonnull final ApiClient apiClient )
* @return BckndResourceGroup
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndResourceGroup kubesubmitV4ResourcegroupsGet( @Nonnull final String resourceGroupId, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BckndResourceGroup kubesubmitV4ResourcegroupsGet( @Nonnull final String resourceGroupId, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'resourceGroupId' is set
@@ -306,21 +240,94 @@ public ResourceGroupApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get a resource group Get a resource group of a given main tenant. Get a resource group Get a resource group of a given main tenant. 200 - A resource group object
* 400 - The request was malformed and could thus not be processed.
* 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param resourceGroupId
- Resource group identifier
-* @return BckndResourceGroup
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param resourceGroupId
+ * Resource group identifier
+ * @return BckndResourceGroup
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndResourceGroup kubesubmitV4ResourcegroupsGet( @Nonnull final String resourceGroupId) throws OpenApiRequestException {
+ @Nonnull
+ public BckndResourceGroup kubesubmitV4ResourcegroupsGet( @Nonnull final String resourceGroupId) throws OpenApiRequestException {
return kubesubmitV4ResourcegroupsGet(resourceGroupId, null);
}
+ /**
+ * Gets all resource groups of a given tenant Retrieve a list of resource groups for a given tenant. 200 - A list of resource groups
+ * 400 - The request was malformed and could thus not be processed.
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ * @param authorization (optional)
+ Authorization bearer token containing a JWT token.
+ * @param $top (optional)
+ Number of results to display
+ * @param $skip (optional)
+ Number of results to be skipped from the ordered list of results
+ * @param $count (optional)
+ When the $count field is set to false, the response contains a count of the items present in the response. When the $count field is set to true, the response contains a count of all the items present on the server, and not just the ones in the response. When the $count field is not passed, it is false by default.
+ * @param prefer (optional)
+ <p> One can use the HTTP Prefer header to configure the \"maxpagesize\" of this endpoint. \"maxpagesize\" is the maximum number of resourcegroups to return for a request to this endpoint. If more resourcegroups exist, the response will include a \"Link\" HTTP header. This header will include the URL for getting the next batch of resourcegroups. <p> The \"maxpagesize\" preference and the \"continueToken\" parameter together enable splitting a large list of resourcegroups to small chunks. This feature can help to reduce the response time of a single list-resourcegroup request when the client has a large number resourcegroups in the system. <p> By default, the \"maxpagesize\" is not set, which means retrieving all resourcegroups in a single request. <p> Setting a maxpagesize may return fewer than the requested amount of resourcegroups (up to zero) in the event all requested resourcegroups are filtered out. The client should only use the presence of the Link header in the response to determine whether more resourcegroups are available. If \"maxpagesize\" is specified and the response does not include a Link header, the client may assume that no more resourcegroups are available.
+ * @param continueToken (optional)
+ <p> A token for getting more resourcegroups from the service. It is encoded in the URL returned via a \"Link\" HTTP header of a response of this endpoint if the original request specified \"maxpagesize\" in a \"Prefer\" HTTP header and the number of available resourcegroups is larger than the number specified by \"maxpagesize\". Do <b>NOT</b> use the \"continueToken\" parameter in other scenarios. <p> The server may reject a continue token that it does not recognize. If the specified continue token is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error. In this case, the client must restart their list request without the continue token.
+ * @param labelSelector (optional
+ filter by labels. Pass in pairs in the form of 'key=value' and / or 'key!=value' separated by commas and the result will be filtered to only those scenarios containing and / or not containing all given key/values
+ * @return BckndResourceGroupList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndResourceGroupList kubesubmitV4ResourcegroupsGetAll( @Nullable final String authorization, @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count, @Nullable final String prefer, @Nullable final String continueToken, @Nullable final List Gets all resource groups of a given tenant Retrieve a list of resource groups for a given tenant. 200 - A list of resource groups
+ * 400 - The request was malformed and could thus not be processed.
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ * @return BckndResourceGroupList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndResourceGroupList kubesubmitV4ResourcegroupsGetAll() throws OpenApiRequestException {
+ return kubesubmitV4ResourcegroupsGetAll(null, null, null, null, null, null, null);
+ }
+
/**
* Change some characteristics of the resource group Replace some characteristics of the resource group, for instance labels. Change some characteristics of the resource group Replace some characteristics of the resource group, for instance labels. Change some characteristics of the resource group Replace some characteristics of the resource group, for instance labels. 202 - Resource group changes accepted.
* 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param resourceGroupId
- Resource group identifier
-* @param bckndResourceGroupPatchRequest
- The value for the parameter bckndResourceGroupPatchRequest
-* @return An OpenApiResponse containing the status code of the HttpResponse.
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param resourceGroupId
+ * Resource group identifier
+ * @param bckndResourceGroupPatchRequest
+ * The value for the parameter bckndResourceGroupPatchRequest
+ * @return An OpenApiResponse containing the status code of the HttpResponse.
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nonnull public OpenApiResponse kubesubmitV4ResourcegroupsPatch( @Nonnull final String resourceGroupId, @Nonnull final BckndResourceGroupPatchRequest bckndResourceGroupPatchRequest) throws OpenApiRequestException {
+ @Nonnull
+ public OpenApiResponse kubesubmitV4ResourcegroupsPatch( @Nonnull final String resourceGroupId, @Nonnull final BckndResourceGroupPatchRequest bckndResourceGroupPatchRequest) throws OpenApiRequestException {
return kubesubmitV4ResourcegroupsPatch(resourceGroupId, bckndResourceGroupPatchRequest, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ResourceQuotaApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ResourceQuotaApi.java
index beb53390d..bef4d34f6 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ResourceQuotaApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ResourceQuotaApi.java
@@ -7,10 +7,10 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.BckndCommonResourceQuotaResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndDeploymentResourceQuotaResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndErrorResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndExecutableResourceQuotaResponse ; //NOPMD
+import com.sap.ai.sdk.core.client.model.BckndCommonResourceQuotaResponse;
+import com.sap.ai.sdk.core.client.model.BckndDeploymentResourceQuotaResponse;
+import com.sap.ai.sdk.core.client.model.BckndErrorResponse;
+import com.sap.ai.sdk.core.client.model.BckndExecutableResourceQuotaResponse;
import java.util.HashMap;
import java.util.List;
@@ -33,28 +33,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class ResourceQuotaApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public ResourceQuotaApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
{
@@ -74,7 +73,8 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
* @return BckndCommonResourceQuotaResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndCommonResourceQuotaResponse quotaGetApplicationQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
+ @Nonnull
+ public BckndCommonResourceQuotaResponse kubesubmitV4ResourceQuotaGetApplicationQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/admin/resourceQuota/applications").build().toUriString();
@@ -103,15 +103,16 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get the quota for applications Get the details about quota and usage for applications Get the quota for applications Get the details about quota and usage for applications 200 - quota for applications
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndCommonResourceQuotaResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BckndCommonResourceQuotaResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndCommonResourceQuotaResponse quotaGetApplicationQuota() throws OpenApiRequestException {
- return quotaGetApplicationQuota(null, null);
+ @Nonnull
+ public BckndCommonResourceQuotaResponse kubesubmitV4ResourceQuotaGetApplicationQuota() throws OpenApiRequestException {
+ return kubesubmitV4ResourceQuotaGetApplicationQuota(null, null);
}
/**
@@ -127,7 +128,8 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
* @return BckndDeploymentResourceQuotaResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndDeploymentResourceQuotaResponse quotaGetDeploymentQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
+ @Nonnull
+ public BckndDeploymentResourceQuotaResponse kubesubmitV4ResourceQuotaGetDeploymentQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/admin/resourceQuota/deployments").build().toUriString();
@@ -156,16 +158,17 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get the quota for deployments Get the details about quota and usage for deployments Get the quota for deployments Get the details about quota and usage for deployments 200 - A resource quota object
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndDeploymentResourceQuotaResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BckndDeploymentResourceQuotaResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndDeploymentResourceQuotaResponse quotaGetDeploymentQuota() throws OpenApiRequestException {
- return quotaGetDeploymentQuota(null, null);
+ @Nonnull
+ public BckndDeploymentResourceQuotaResponse kubesubmitV4ResourceQuotaGetDeploymentQuota() throws OpenApiRequestException {
+ return kubesubmitV4ResourceQuotaGetDeploymentQuota(null, null);
}
/**
@@ -180,7 +183,8 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
* @return BckndCommonResourceQuotaResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndCommonResourceQuotaResponse quotaGetDockerRegistrySecretQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
+ @Nonnull
+ public BckndCommonResourceQuotaResponse kubesubmitV4ResourceQuotaGetDockerRegistrySecretQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/admin/resourceQuota/dockerRegistrySecrets").build().toUriString();
@@ -209,15 +213,16 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get the quota for docker registry secrets Get the details about quota and usage for docker registry secrets Get the quota for docker registry secrets Get the details about quota and usage for docker registry secrets 200 - quota for generic secrets on the tenant level
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndCommonResourceQuotaResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BckndCommonResourceQuotaResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndCommonResourceQuotaResponse quotaGetDockerRegistrySecretQuota() throws OpenApiRequestException {
- return quotaGetDockerRegistrySecretQuota(null, null);
+ @Nonnull
+ public BckndCommonResourceQuotaResponse kubesubmitV4ResourceQuotaGetDockerRegistrySecretQuota() throws OpenApiRequestException {
+ return kubesubmitV4ResourceQuotaGetDockerRegistrySecretQuota(null, null);
}
/**
@@ -232,7 +237,8 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
* @return BckndExecutableResourceQuotaResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndExecutableResourceQuotaResponse quotaGetExecutableQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
+ @Nonnull
+ public BckndExecutableResourceQuotaResponse kubesubmitV4ResourceQuotaGetExecutableQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/admin/resourceQuota/executables").build().toUriString();
@@ -261,15 +267,16 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get the quota for executables Get the details about quota and usage for executables Get the quota for executables Get the details about quota and usage for executables 200 - quota for executable
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndExecutableResourceQuotaResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BckndExecutableResourceQuotaResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndExecutableResourceQuotaResponse quotaGetExecutableQuota() throws OpenApiRequestException {
- return quotaGetExecutableQuota(null, null);
+ @Nonnull
+ public BckndExecutableResourceQuotaResponse kubesubmitV4ResourceQuotaGetExecutableQuota() throws OpenApiRequestException {
+ return kubesubmitV4ResourceQuotaGetExecutableQuota(null, null);
}
/**
@@ -284,7 +291,8 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
* @return BckndCommonResourceQuotaResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndCommonResourceQuotaResponse quotaGetGenericSecretQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
+ @Nonnull
+ public BckndCommonResourceQuotaResponse kubesubmitV4ResourceQuotaGetGenericSecretQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/admin/resourceQuota/secrets").build().toUriString();
@@ -313,15 +321,16 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get the quota for tenant-level generic secrets Get the details about quota and usage for tenant-level generic secrets Get the quota for tenant-level generic secrets Get the details about quota and usage for tenant-level generic secrets 200 - quota for generic secrets on the tenant level
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndCommonResourceQuotaResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BckndCommonResourceQuotaResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndCommonResourceQuotaResponse quotaGetGenericSecretQuota() throws OpenApiRequestException {
- return quotaGetGenericSecretQuota(null, null);
+ @Nonnull
+ public BckndCommonResourceQuotaResponse kubesubmitV4ResourceQuotaGetGenericSecretQuota() throws OpenApiRequestException {
+ return kubesubmitV4ResourceQuotaGetGenericSecretQuota(null, null);
}
/**
@@ -336,7 +345,8 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
* @return BckndCommonResourceQuotaResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndCommonResourceQuotaResponse quotaGetRepositoryQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
+ @Nonnull
+ public BckndCommonResourceQuotaResponse kubesubmitV4ResourceQuotaGetRepositoryQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/admin/resourceQuota/repositories").build().toUriString();
@@ -365,15 +375,16 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get the quota for repositories Get the details about quota and usage for repositories Get the quota for repositories Get the details about quota and usage for repositories 200 - quota for repositories
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndCommonResourceQuotaResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BckndCommonResourceQuotaResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndCommonResourceQuotaResponse quotaGetRepositoryQuota() throws OpenApiRequestException {
- return quotaGetRepositoryQuota(null, null);
+ @Nonnull
+ public BckndCommonResourceQuotaResponse kubesubmitV4ResourceQuotaGetRepositoryQuota() throws OpenApiRequestException {
+ return kubesubmitV4ResourceQuotaGetRepositoryQuota(null, null);
}
/**
@@ -388,7 +399,8 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
* @return BckndCommonResourceQuotaResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndCommonResourceQuotaResponse quotaGetResourceGroupQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
+ @Nonnull
+ public BckndCommonResourceQuotaResponse kubesubmitV4ResourceQuotaGetResourceGroupQuota( @Nullable final String authorization, @Nullable final Boolean quotaOnly) throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/admin/resourceQuota/resourceGroups").build().toUriString();
@@ -417,14 +429,15 @@ public ResourceQuotaApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get the quota for resource groups Get the details about quota and usage for resource groups Get the quota for resource groups Get the details about quota and usage for resource groups 200 - quota for resourcegroups
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndCommonResourceQuotaResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BckndCommonResourceQuotaResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndCommonResourceQuotaResponse quotaGetResourceGroupQuota() throws OpenApiRequestException {
- return quotaGetResourceGroupQuota(null, null);
+ @Nonnull
+ public BckndCommonResourceQuotaResponse kubesubmitV4ResourceQuotaGetResourceGroupQuota() throws OpenApiRequestException {
+ return kubesubmitV4ResourceQuotaGetResourceGroupQuota(null, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ScenarioApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ScenarioApi.java
index 6dc645572..6ab2d68d2 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ScenarioApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ScenarioApi.java
@@ -7,11 +7,11 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.AiModelList ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiScenario ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiScenarioList ; //NOPMD
-import com.sap.ai.sdk.core.client.model.AiVersionList ; //NOPMD
-import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response ; //NOPMD
+import com.sap.ai.sdk.core.client.model.AiModelList;
+import com.sap.ai.sdk.core.client.model.AiScenario;
+import com.sap.ai.sdk.core.client.model.AiScenarioList;
+import com.sap.ai.sdk.core.client.model.AiVersionList;
+import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response;
import java.util.HashMap;
import java.util.List;
@@ -34,28 +34,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class ScenarioApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public ScenarioApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public ScenarioApi( @Nonnull final ApiClient apiClient )
{
@@ -63,18 +62,19 @@ public ScenarioApi( @Nonnull final ApiClient apiClient )
}
/**
- * Get information about all models available in LLM global scenario Retrieve information about all models available in LLM global scenario Get information about all models available in LLM global scenario Retrieve information about all models available in LLM global scenario 200 - The request was successful and information of all LLM models will be returned.
* 400 - The specification of the resource was incorrect
-* @param scenarioId
- Scenario identifier
-* @param aiResourceGroup
- Specify a resource group id
-* @return AiModelList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param scenarioId
+ * Scenario identifier
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return AiModelList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiModelList modelsGet( @Nonnull final String scenarioId, @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public AiModelList modelsGet( @Nonnull final String scenarioId, @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'scenarioId' is set
@@ -112,19 +112,20 @@ public ScenarioApi( @Nonnull final ApiClient apiClient )
return apiClient.invokeAPI(localVarPath, HttpMethod.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
- * Get scenario by id Retrieve details for a scenario specified by scenarioId. Get scenario by id Retrieve details for a scenario specified by scenarioId. 200 - A scenario
* 400 - The specification of the resource was incorrect
* 404 - The specified resource was not found
-* @param aiResourceGroup
- Specify a resource group id
-* @param scenarioId
- Scenario identifier
-* @return AiScenario
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param scenarioId
+ * Scenario identifier
+ * @return AiScenario
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiScenario scenarioGet( @Nonnull final String aiResourceGroup, @Nonnull final String scenarioId) throws OpenApiRequestException {
+ @Nonnull
+ public AiScenario scenarioGet( @Nonnull final String aiResourceGroup, @Nonnull final String scenarioId) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
@@ -162,15 +163,16 @@ public ScenarioApi( @Nonnull final ApiClient apiClient )
return apiClient.invokeAPI(localVarPath, HttpMethod.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
}
/**
- * Get list of scenarios Retrieve a list of all available scenarios. Get list of scenarios Retrieve a list of all available scenarios. 200 - A list of scenarios
-* @param aiResourceGroup
- Specify a resource group id
-* @return AiScenarioList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @return AiScenarioList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiScenarioList scenarioQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
+ @Nonnull
+ public AiScenarioList scenarioQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'aiResourceGroup' is set
@@ -214,17 +216,18 @@ public ScenarioApi( @Nonnull final ApiClient apiClient )
* @return AiVersionList
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiVersionList versions( @Nonnull final String aiResourceGroup, @Nonnull final String scenarioId, @Nullable final List Get list of versions for scenario Retrieve a list of scenario versions based on the versions of executables available within that scenario. Get list of versions for scenario Retrieve a list of scenario versions based on the versions of executables available within that scenario. 200 - A list of versions for the scenario
* 400 - The specification of the resource was incorrect
-* @param aiResourceGroup
- Specify a resource group id
-* @param scenarioId
- Scenario identifier
-* @return AiVersionList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param aiResourceGroup
+ * Specify a resource group id
+ * @param scenarioId
+ * Scenario identifier
+ * @return AiVersionList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public AiVersionList versions( @Nonnull final String aiResourceGroup, @Nonnull final String scenarioId) throws OpenApiRequestException {
- return versions(aiResourceGroup, scenarioId, null);
+ @Nonnull
+ public AiVersionList scenarioQueryVersions( @Nonnull final String aiResourceGroup, @Nonnull final String scenarioId) throws OpenApiRequestException {
+ return scenarioQueryVersions(aiResourceGroup, scenarioId, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/SecretApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/SecretApi.java
index c5ad47165..39c8a7ed2 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/SecretApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/SecretApi.java
@@ -7,11 +7,11 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.BckndErrorResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndGenericSecretDataResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndGenericSecretPatchBody ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndGenericSecretPostBody ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndListGenericSecretsResponse ; //NOPMD
+import com.sap.ai.sdk.core.client.model.BckndErrorResponse;
+import com.sap.ai.sdk.core.client.model.BckndGenericSecretDataResponse;
+import com.sap.ai.sdk.core.client.model.BckndGenericSecretPatchBody;
+import com.sap.ai.sdk.core.client.model.BckndGenericSecretPostBody;
+import com.sap.ai.sdk.core.client.model.BckndListGenericSecretsResponse;
import java.util.HashMap;
import java.util.List;
@@ -34,28 +34,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class SecretApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public SecretApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public SecretApi( @Nonnull final ApiClient apiClient )
{
@@ -80,12 +79,13 @@ public SecretApi( @Nonnull final ApiClient apiClient )
* @return BckndGenericSecretDataResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndGenericSecretDataResponse secretsCreate( @Nonnull final BckndGenericSecretPostBody bckndGenericSecretPostBody, @Nullable final String authorization, @Nullable final String aiResourceGroup, @Nullable final Boolean aiTenantScope) throws OpenApiRequestException {
+ @Nonnull
+ public BckndGenericSecretDataResponse kubesubmitV4GenericSecretsCreate( @Nonnull final BckndGenericSecretPostBody bckndGenericSecretPostBody, @Nullable final String authorization, @Nullable final String aiResourceGroup, @Nullable final Boolean aiTenantScope) throws OpenApiRequestException {
final Object localVarPostBody = bckndGenericSecretPostBody;
// verify the required parameter 'bckndGenericSecretPostBody' is set
if (bckndGenericSecretPostBody == null) {
- throw new OpenApiRequestException("Missing the required parameter 'bckndGenericSecretPostBody' when calling secretsCreate");
+ throw new OpenApiRequestException("Missing the required parameter 'bckndGenericSecretPostBody' when calling kubesubmitV4GenericSecretsCreate");
}
final String localVarPath = UriComponentsBuilder.fromPath("/admin/secrets").build().toUriString();
@@ -117,18 +117,19 @@ public SecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Create a new generic secret Create a new generic secret in the corresponding resource group or at main tenant level. Create a new generic secret Create a new generic secret in the corresponding resource group or at main tenant level. 200 - Secret has been created
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param bckndGenericSecretPostBody
- The value for the parameter bckndGenericSecretPostBody
-* @return BckndGenericSecretDataResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param bckndGenericSecretPostBody
+ * The value for the parameter bckndGenericSecretPostBody
+ * @return BckndGenericSecretDataResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndGenericSecretDataResponse secretsCreate( @Nonnull final BckndGenericSecretPostBody bckndGenericSecretPostBody) throws OpenApiRequestException {
- return secretsCreate(bckndGenericSecretPostBody, null, null, null);
+ @Nonnull
+ public BckndGenericSecretDataResponse kubesubmitV4GenericSecretsCreate( @Nonnull final BckndGenericSecretPostBody bckndGenericSecretPostBody) throws OpenApiRequestException {
+ return kubesubmitV4GenericSecretsCreate(bckndGenericSecretPostBody, null, null, null);
}
/**
@@ -149,12 +150,13 @@ public SecretApi( @Nonnull final ApiClient apiClient )
* @return An OpenApiResponse containing the status code of the HttpResponse.
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nonnull public OpenApiResponse secretsDelete( @Nonnull final String secretName, @Nullable final String authorization, @Nullable final String aiResourceGroup, @Nullable final Boolean aiTenantScope) throws OpenApiRequestException {
+ @Nonnull
+ public OpenApiResponse kubesubmitV4GenericSecretsDelete( @Nonnull final String secretName, @Nullable final String authorization, @Nullable final String aiResourceGroup, @Nullable final Boolean aiTenantScope) throws OpenApiRequestException {
final Object localVarPostBody = null;
// verify the required parameter 'secretName' is set
if (secretName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'secretName' when calling secretsDelete");
+ throw new OpenApiRequestException("Missing the required parameter 'secretName' when calling kubesubmitV4GenericSecretsDelete");
}
// create path and map variables
@@ -188,19 +190,20 @@ public SecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Deletes the secret Deletes the secret from provided resource group namespace Deletes the secret Deletes the secret from provided resource group namespace 200 - The secret has been removed
* 404 - The specified resource was not found
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param secretName
- The value for the parameter secretName
-* @return An OpenApiResponse containing the status code of the HttpResponse.
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param secretName
+ * The value for the parameter secretName
+ * @return An OpenApiResponse containing the status code of the HttpResponse.
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nonnull public OpenApiResponse secretsDelete( @Nonnull final String secretName) throws OpenApiRequestException {
- return secretsDelete(secretName, null, null, null);
+ @Nonnull
+ public OpenApiResponse kubesubmitV4GenericSecretsDelete( @Nonnull final String secretName) throws OpenApiRequestException {
+ return kubesubmitV4GenericSecretsDelete(secretName, null, null, null);
}
/**
@@ -224,7 +227,8 @@ public SecretApi( @Nonnull final ApiClient apiClient )
* @return BckndListGenericSecretsResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndListGenericSecretsResponse secretsGet( @Nullable final String authorization, @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count, @Nullable final String aiResourceGroup, @Nullable final Boolean aiTenantScope) throws OpenApiRequestException {
+ @Nonnull
+ public BckndListGenericSecretsResponse kubesubmitV4GenericSecretsGet( @Nullable final String authorization, @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count, @Nullable final String aiResourceGroup, @Nullable final Boolean aiTenantScope) throws OpenApiRequestException {
final Object localVarPostBody = null;
final String localVarPath = UriComponentsBuilder.fromPath("/admin/secrets").build().toUriString();
@@ -259,16 +263,17 @@ public SecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Lists all secrets corresponding to tenant Lists all secrets corresponding to tenant. This retrieves metadata only, not the secret data itself. Lists all secrets corresponding to tenant Lists all secrets corresponding to tenant. This retrieves metadata only, not the secret data itself. 200 - The secrets were fetched
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndListGenericSecretsResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BckndListGenericSecretsResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndListGenericSecretsResponse secretsGet() throws OpenApiRequestException {
- return secretsGet(null, null, null, null, null, null);
+ @Nonnull
+ public BckndListGenericSecretsResponse kubesubmitV4GenericSecretsGet() throws OpenApiRequestException {
+ return kubesubmitV4GenericSecretsGet(null, null, null, null, null, null);
}
/**
@@ -291,17 +296,18 @@ public SecretApi( @Nonnull final ApiClient apiClient )
* @return BckndGenericSecretDataResponse
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndGenericSecretDataResponse secretsUpdate( @Nonnull final String secretName, @Nonnull final BckndGenericSecretPatchBody bckndGenericSecretPatchBody, @Nullable final String authorization, @Nullable final String aiResourceGroup, @Nullable final Boolean aiTenantScope) throws OpenApiRequestException {
+ @Nonnull
+ public BckndGenericSecretDataResponse kubesubmitV4GenericSecretsUpdate( @Nonnull final String secretName, @Nonnull final BckndGenericSecretPatchBody bckndGenericSecretPatchBody, @Nullable final String authorization, @Nullable final String aiResourceGroup, @Nullable final Boolean aiTenantScope) throws OpenApiRequestException {
final Object localVarPostBody = bckndGenericSecretPatchBody;
// verify the required parameter 'secretName' is set
if (secretName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'secretName' when calling secretsUpdate");
+ throw new OpenApiRequestException("Missing the required parameter 'secretName' when calling kubesubmitV4GenericSecretsUpdate");
}
// verify the required parameter 'bckndGenericSecretPatchBody' is set
if (bckndGenericSecretPatchBody == null) {
- throw new OpenApiRequestException("Missing the required parameter 'bckndGenericSecretPatchBody' when calling secretsUpdate");
+ throw new OpenApiRequestException("Missing the required parameter 'bckndGenericSecretPatchBody' when calling kubesubmitV4GenericSecretsUpdate");
}
// create path and map variables
@@ -336,20 +342,21 @@ public SecretApi( @Nonnull final ApiClient apiClient )
}
/**
- * Update secret credentials Update secret credentials. Replace secret data with the provided data. Update secret credentials Update secret credentials. Replace secret data with the provided data. 200 - The secret has been updated
* 404 - The specified resource was not found
* 400 - The request was malformed and could thus not be processed.
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param secretName
- The value for the parameter secretName
-* @param bckndGenericSecretPatchBody
- The value for the parameter bckndGenericSecretPatchBody
-* @return BckndGenericSecretDataResponse
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param secretName
+ * The value for the parameter secretName
+ * @param bckndGenericSecretPatchBody
+ * The value for the parameter bckndGenericSecretPatchBody
+ * @return BckndGenericSecretDataResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndGenericSecretDataResponse secretsUpdate( @Nonnull final String secretName, @Nonnull final BckndGenericSecretPatchBody bckndGenericSecretPatchBody) throws OpenApiRequestException {
- return secretsUpdate(secretName, bckndGenericSecretPatchBody, null, null, null);
+ @Nonnull
+ public BckndGenericSecretDataResponse kubesubmitV4GenericSecretsUpdate( @Nonnull final String secretName, @Nonnull final BckndGenericSecretPatchBody bckndGenericSecretPatchBody) throws OpenApiRequestException {
+ return kubesubmitV4GenericSecretsUpdate(secretName, bckndGenericSecretPatchBody, null, null, null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ServiceApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ServiceApi.java
index fbf2f27a1..dea762f85 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ServiceApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ServiceApi.java
@@ -7,9 +7,9 @@
import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-import com.sap.ai.sdk.core.client.model.BckndErrorResponse ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndExtendedService ; //NOPMD
-import com.sap.ai.sdk.core.client.model.BckndServiceList ; //NOPMD
+import com.sap.ai.sdk.core.client.model.BckndErrorResponse;
+import com.sap.ai.sdk.core.client.model.BckndExtendedService;
+import com.sap.ai.sdk.core.client.model.BckndServiceList;
import java.util.HashMap;
import java.util.List;
@@ -32,28 +32,27 @@
import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
/**
-* AI Core in version 2.33.0.
-*
-* Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-*/
-
+ * AI Core in version 2.33.0.
+ *
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ */
public class ServiceApi extends AbstractOpenApiService {
/**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
public ServiceApi( @Nonnull final Destination httpDestination )
{
super(httpDestination);
}
/**
- * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
- *
- * @param apiClient
- * ApiClient to invoke the API on
- */
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}.
+ *
+ * @param apiClient
+ * ApiClient to invoke the API on
+ */
@Beta
public ServiceApi( @Nonnull final ApiClient apiClient )
{
@@ -62,20 +61,32 @@ public ServiceApi( @Nonnull final ApiClient apiClient )
/**
- * Gets all services of a given main tenant Retrieve a list of services for a given main tenant. 200 - A list of services
+ * Get a service Get an service of a given main tenant. 200 - A service object
* 400 - The request was malformed and could thus not be processed.
+ * 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ * @param serviceName (required)
+ Name of the Service
* @param authorization (optional)
Authorization bearer token containing a JWT token.
- * @return BckndServiceList
+ * @return BckndExtendedService
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndServiceList all( @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BckndExtendedService kubesubmitV4AiservicesGet( @Nonnull final String serviceName, @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
- final String localVarPath = UriComponentsBuilder.fromPath("/admin/services").build().toUriString();
+ // verify the required parameter 'serviceName' is set
+ if (serviceName == null) {
+ throw new OpenApiRequestException("Missing the required parameter 'serviceName' when calling kubesubmitV4AiservicesGet");
+ }
+
+ // create path and map variables
+ final Map Gets all services of a given main tenant Retrieve a list of services for a given main tenant. 200 - A list of services
+ * Get a service Get an service of a given main tenant. 200 - A service object
* 400 - The request was malformed and could thus not be processed.
+ * 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @return BckndServiceList
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @param serviceName
+ * Name of the Service
+ * @return BckndExtendedService
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndServiceList all() throws OpenApiRequestException {
- return all(null);
+ @Nonnull
+ public BckndExtendedService kubesubmitV4AiservicesGet( @Nonnull final String serviceName) throws OpenApiRequestException {
+ return kubesubmitV4AiservicesGet(serviceName, null);
}
/**
- * Get a service Get an service of a given main tenant. 200 - A service object
+ * Gets all services of a given main tenant Retrieve a list of services for a given main tenant. 200 - A list of services
* 400 - The request was malformed and could thus not be processed.
- * 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param serviceName (required)
- Name of the Service
* @param authorization (optional)
Authorization bearer token containing a JWT token.
- * @return BckndExtendedService
+ * @return BckndServiceList
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndExtendedService kubesubmitV4AiservicesGet( @Nonnull final String serviceName, @Nullable final String authorization) throws OpenApiRequestException {
+ @Nonnull
+ public BckndServiceList kubesubmitV4AiservicesGetAll( @Nullable final String authorization) throws OpenApiRequestException {
final Object localVarPostBody = null;
- // verify the required parameter 'serviceName' is set
- if (serviceName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'serviceName' when calling kubesubmitV4AiservicesGet");
- }
-
- // create path and map variables
- final Map Get a service Get an service of a given main tenant. 200 - A service object
+ * Gets all services of a given main tenant Retrieve a list of services for a given main tenant. 200 - A list of services
* 400 - The request was malformed and could thus not be processed.
- * 404 - The specified resource was not found
* 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
-* @param serviceName
- Name of the Service
-* @return BckndExtendedService
-* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ * @return BckndServiceList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
- @Nullable public BckndExtendedService kubesubmitV4AiservicesGet( @Nonnull final String serviceName) throws OpenApiRequestException {
- return kubesubmitV4AiservicesGet(serviceName, null);
+ @Nonnull
+ public BckndServiceList kubesubmitV4AiservicesGetAll() throws OpenApiRequestException {
+ return kubesubmitV4AiservicesGetAll(null);
}
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiApiError.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiApiError.java
index 4a617e24e..3840aa969 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiApiError.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiApiError.java
@@ -38,7 +38,6 @@
/**
* AiApiError
*/
-
// CHECKSTYLE:OFF
public class AiApiError
// CHECKSTYLE:ON
@@ -63,141 +62,141 @@ public class AiApiError
private final Map