From a4c3ad31d372f5b4177b46d5b26fdc805119f4eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alexander=20D=C3=BCmont?=
<22489773+newtork@users.noreply.github.com>
Date: Tue, 27 Aug 2024 10:27:42 +0200
Subject: [PATCH] Enable automatic formatting of generated code (#33)
* Add core
* Add orchestration
---
core/pom.xml | 8 -
.../main/java/com/sap/ai/sdk/core/Core.java | 3 +-
.../ai/sdk/core/client/ApplicationApi.java | 1167 ++++++++-------
.../sap/ai/sdk/core/client/ArtifactApi.java | 760 +++++-----
.../ai/sdk/core/client/ConfigurationApi.java | 707 +++++----
.../sap/ai/sdk/core/client/DeploymentApi.java | 1275 +++++++++-------
.../core/client/DockerRegistrySecretApi.java | 879 ++++++-----
.../sap/ai/sdk/core/client/ExecutableApi.java | 374 ++---
.../sap/ai/sdk/core/client/ExecutionApi.java | 1286 ++++++++++-------
.../sdk/core/client/ExecutionScheduleApi.java | 876 ++++++-----
.../com/sap/ai/sdk/core/client/FileApi.java | 560 ++++---
.../com/sap/ai/sdk/core/client/KpiApi.java | 217 +--
.../com/sap/ai/sdk/core/client/MetaApi.java | 145 +-
.../sap/ai/sdk/core/client/MetricsApi.java | 477 +++---
.../sdk/core/client/ObjectStoreSecretApi.java | 929 +++++++-----
.../sap/ai/sdk/core/client/RepositoryApi.java | 859 ++++++-----
.../sap/ai/sdk/core/client/ResourceApi.java | 347 +++--
.../ai/sdk/core/client/ResourceGroupApi.java | 901 +++++++-----
.../ai/sdk/core/client/ResourceQuotaApi.java | 992 +++++++------
.../sap/ai/sdk/core/client/ScenarioApi.java | 575 ++++----
.../com/sap/ai/sdk/core/client/SecretApi.java | 770 +++++-----
.../sap/ai/sdk/core/client/ServiceApi.java | 356 +++--
.../ai/sdk/core/client/model/AiApiError.java | 292 ++--
.../core/client/model/AiApiErrorWithId.java | 194 ++-
.../ai/sdk/core/client/model/AiArtifact.java | 733 +++++-----
.../model/AiArtifactArgumentBinding.java | 195 ++-
.../model/AiArtifactCreationResponse.java | 252 ++--
.../sdk/core/client/model/AiArtifactList.java | 218 ++-
.../core/client/model/AiArtifactPostData.java | 444 +++---
.../core/client/model/AiConfiguration.java | 508 ++++---
.../client/model/AiConfigurationBaseData.java | 362 ++---
.../AiConfigurationCreationResponse.java | 204 +--
.../client/model/AiConfigurationList.java | 219 ++-
.../sdk/core/client/model/AiDeployment.java | 914 ++++++------
.../AiDeploymentBulkModificationRequest.java | 144 +-
.../AiDeploymentBulkModificationResponse.java | 145 +-
.../model/AiDeploymentCreationRequest.java | 182 +--
.../model/AiDeploymentCreationResponse.java | 308 ++--
.../model/AiDeploymentDeletionResponse.java | 203 ++-
.../client/model/AiDeploymentDetails.java | 150 +-
.../core/client/model/AiDeploymentList.java | 218 ++-
.../AiDeploymentModificationRequest.java | 161 ++-
...mentModificationRequestWithIdentifier.java | 260 ++--
.../AiDeploymentModificationResponse.java | 204 +--
...ploymentModificationResponseListInner.java | 270 ++--
.../AiDeploymentResponseWithDetails.java | 988 +++++++------
.../core/client/model/AiDeploymentStatus.java | 45 +-
.../model/AiDeploymentTargetStatus.java | 33 +-
.../model/AiEnactmentCreationRequest.java | 146 +-
.../sdk/core/client/model/AiExecutable.java | 665 +++++----
.../client/model/AiExecutableArtifact.java | 248 ++--
.../core/client/model/AiExecutableList.java | 218 ++-
.../client/model/AiExecutableParameter.java | 282 ++--
.../ai/sdk/core/client/model/AiExecution.java | 757 +++++-----
.../AiExecutionBulkModificationRequest.java | 143 +-
.../AiExecutionBulkModificationResponse.java | 144 +-
.../model/AiExecutionCreationResponse.java | 232 +--
.../model/AiExecutionDeletionResponse.java | 199 ++-
.../core/client/model/AiExecutionList.java | 218 ++-
.../model/AiExecutionModificationRequest.java | 193 +--
...tionModificationRequestWithIdentifier.java | 263 ++--
.../AiExecutionModificationResponse.java | 204 +--
...xecutionModificationResponseListInner.java | 267 ++--
.../model/AiExecutionResponseWithDetails.java | 829 ++++++-----
.../client/model/AiExecutionSchedule.java | 516 ++++---
.../AiExecutionScheduleCreationData.java | 338 +++--
.../AiExecutionScheduleCreationResponse.java | 207 +--
.../AiExecutionScheduleDeletionResponse.java | 207 +--
.../client/model/AiExecutionScheduleList.java | 222 +--
...iExecutionScheduleModificationRequest.java | 276 ++--
...ExecutionScheduleModificationResponse.java | 208 +--
.../model/AiExecutionScheduleStatus.java | 35 +-
.../core/client/model/AiExecutionStatus.java | 45 +-
.../sap/ai/sdk/core/client/model/AiLabel.java | 193 ++-
.../core/client/model/AiLogCommonData.java | 126 +-
.../client/model/AiLogCommonResultItem.java | 151 +-
.../core/client/model/AiModelBaseData.java | 334 ++---
.../ai/sdk/core/client/model/AiModelList.java | 218 ++-
.../sdk/core/client/model/AiModelVersion.java | 193 ++-
.../model/AiParameterArgumentBinding.java | 198 ++-
.../core/client/model/AiResourcesDetails.java | 116 +-
.../core/client/model/AiScalingDetails.java | 115 +-
.../ai/sdk/core/client/model/AiScenario.java | 383 ++---
.../core/client/model/AiScenarioLabel.java | 193 ++-
.../sdk/core/client/model/AiScenarioList.java | 218 ++-
.../ai/sdk/core/client/model/AiVersion.java | 317 ++--
.../sdk/core/client/model/AiVersionList.java | 218 ++-
.../model/ArtifactQuery400Response.java | 117 +-
.../model/BckndAllArgoCDApplicationData.java | 234 +--
.../model/BckndArgoCDApplicationBaseData.java | 264 ++--
...ckndArgoCDApplicationCreationResponse.java | 208 +--
.../model/BckndArgoCDApplicationData.java | 293 ++--
.../BckndArgoCDApplicationDataRepoName.java | 302 ++--
...ckndArgoCDApplicationDeletionResponse.java | 208 +--
...ArgoCDApplicationModificationResponse.java | 210 +--
...BckndArgoCDApplicationRefreshResponse.java | 207 +--
.../model/BckndArgoCDApplicationStatus.java | 472 +++---
.../BckndArgoCDApplicationStatusSource.java | 198 +--
...icationStatusSyncResourcesStatusInner.java | 245 ++--
...BckndArgoCDRepositoryCreationResponse.java | 207 +--
.../BckndArgoCDRepositoryCredentials.java | 205 +--
.../model/BckndArgoCDRepositoryData.java | 284 ++--
.../BckndArgoCDRepositoryDataResponse.java | 237 +--
...BckndArgoCDRepositoryDeletionResponse.java | 207 +--
.../model/BckndArgoCDRepositoryDetails.java | 246 ++--
...dArgoCDRepositoryModificationResponse.java | 209 +--
.../BckndCommonResourceQuotaResponse.java | 188 +--
...BckndCommonResourceQuotaResponseQuota.java | 132 +-
...BckndCommonResourceQuotaResponseUsage.java | 130 +-
.../client/model/BckndDeploymentQuota.java | 159 +-
.../model/BckndDeploymentQuotaItem.java | 154 +-
.../BckndDeploymentResourceQuotaResponse.java | 216 +--
.../client/model/BckndDeploymentUsage.java | 219 ++-
.../ai/sdk/core/client/model/BckndError.java | 292 ++--
.../core/client/model/BckndErrorResponse.java | 116 +-
.../ai/sdk/core/client/model/BckndEvent.java | 349 ++---
.../BckndExecutableResourceQuotaResponse.java | 191 +--
...dExecutableResourceQuotaResponseQuota.java | 192 +--
...dExecutableResourceQuotaResponseUsage.java | 192 +--
.../client/model/BckndExtendedService.java | 438 +++---
.../model/BckndGenericSecretDataResponse.java | 159 +-
.../model/BckndGenericSecretDetails.java | 150 +-
.../model/BckndGenericSecretPatchBody.java | 166 ++-
.../model/BckndGenericSecretPostBody.java | 220 ++-
.../model/BckndInternalResourceGroup.java | 521 ++++---
.../BckndInternalResourceGroupAnnotation.java | 207 +--
.../BckndInternalResourceGroupLabel.java | 204 +--
.../BckndListGenericSecretsResponse.java | 233 +--
.../BckndResourceGetResourcePlansValue.java | 210 +--
.../model/BckndResourceGetResponse.java | 168 ++-
.../core/client/model/BckndResourceGroup.java | 463 +++---
.../client/model/BckndResourceGroupBase.java | 183 ++-
.../BckndResourceGroupDeletionResponse.java | 207 +--
.../client/model/BckndResourceGroupLabel.java | 194 ++-
.../client/model/BckndResourceGroupList.java | 219 ++-
.../model/BckndResourceGroupPatchRequest.java | 138 +-
.../model/BckndResourceGroupsPostRequest.java | 173 +--
.../client/model/BckndResourcePatchBody.java | 170 +--
.../client/model/BckndResourcePatchNodes.java | 194 ++-
.../model/BckndResourcePatchResponse.java | 145 +-
.../sdk/core/client/model/BckndService.java | 307 ++--
.../model/BckndServiceBrokerSecret.java | 184 ++-
.../model/BckndServiceCapabilities.java | 151 +-
.../model/BckndServiceCapabilitiesBasic.java | 245 ++--
.../model/BckndServiceCapabilitiesLogs.java | 159 +-
.../core/client/model/BckndServiceList.java | 218 ++-
.../model/BckndServiceServiceCatalogItem.java | 167 +--
...erviceServiceCatalogItemExtendCatalog.java | 284 ++--
...ceServiceCatalogItemExtendCredentials.java | 137 +-
...iceCatalogItemExtendCredentialsShared.java | 146 +-
...temExtendCredentialsSharedServiceUrls.java | 146 +-
.../model/BckndServiceServicePlanItem.java | 256 ++--
.../BckndServiceServicePlanItemMetadata.java | 199 +--
.../ai/sdk/core/client/model/BckndTenant.java | 212 ++-
.../model/BckndUsageResourcePlanItem.java | 222 +--
...ddockerRegistrySecretCreationResponse.java | 132 +-
...ddockerRegistrySecretDeletionResponse.java | 209 +--
...kerRegistrySecretModificationResponse.java | 211 +--
.../BcknddockerRegistrySecretStatus.java | 124 +-
...knddockerRegistrySecretStatusResponse.java | 238 +--
...egistrySecretWithSensitiveDataRequest.java | 161 ++-
...trySecretWithSensitiveDataRequestData.java | 168 ++-
...ckndobjectStoreSecretCreationResponse.java | 131 +-
...ckndobjectStoreSecretDeletionResponse.java | 208 +--
...objectStoreSecretModificationResponse.java | 210 +--
.../model/BckndobjectStoreSecretStatus.java | 160 +-
.../BckndobjectStoreSecretStatusMetadata.java | 767 ++++++----
.../BckndobjectStoreSecretStatusResponse.java | 236 +--
...ctStoreSecretWithSensitiveDataRequest.java | 498 ++++---
...etWithSensitiveDataRequestForPostCall.java | 557 ++++---
.../ai/sdk/core/client/model/DSetError.java | 302 ++--
.../client/model/DSetErrorDetailsInner.java | 194 ++-
.../model/DSetFileCreationResponse.java | 194 ++-
.../client/model/FileDownload400Response.java | 117 +-
.../ai/sdk/core/client/model/KpiApiError.java | 292 ++--
.../sdk/core/client/model/KpiColumnName.java | 43 +-
.../core/client/model/KpiGet400Response.java | 116 +-
.../core/client/model/KpiResultRowItem.java | 72 +-
.../sdk/core/client/model/KpiResultSet.java | 144 +-
...KubesubmitV4ApplicationsCreateRequest.java | 371 ++---
...tV4DockerRegistrySecretsCreateRequest.java | 212 +--
.../sdk/core/client/model/MetaAPIVersion.java | 181 ++-
.../ai/sdk/core/client/model/MetaAiApi.java | 209 +--
.../client/model/MetaAiApiCapabilities.java | 422 +++---
.../MetaAiApiCapabilitiesBulkUpdates.java | 158 +-
.../model/MetaAiApiCapabilitiesLogs.java | 151 +-
.../core/client/model/MetaAiApiLimits.java | 192 ++-
.../model/MetaAiApiLimitsDeployments.java | 124 +-
.../model/MetaAiApiLimitsExecutions.java | 119 +-
.../MetaAiApiLimitsTimeToLiveDeployments.java | 164 +--
.../sdk/core/client/model/MetaApiError.java | 292 ++--
.../core/client/model/MetaCapabilities.java | 278 ++--
.../sdk/core/client/model/MetaExtensions.java | 215 ++-
.../client/model/MetaExtensionsAnalytics.java | 140 +-
.../client/model/MetaExtensionsDataset.java | 210 ++-
.../MetaExtensionsDatasetCapabilities.java | 196 +--
.../model/MetaExtensionsDatasetLimits.java | 216 +--
.../client/model/MetaExtensionsMetrics.java | 176 ++-
.../MetaExtensionsMetricsCapabilities.java | 129 +-
.../core/client/model/MetaGet404Response.java | 116 +-
.../client/model/MetricsFind400Response.java | 117 +-
.../ai/sdk/core/client/model/RTAArtifact.java | 514 +++----
.../core/client/model/RTAArtifactLabel.java | 193 ++-
.../core/client/model/RTABackendDetails.java | 115 +-
.../sdk/core/client/model/RTADeployment.java | 733 +++++-----
.../client/model/RTADeploymentDetails.java | 150 +-
.../ai/sdk/core/client/model/RTAError.java | 292 ++--
.../core/client/model/RTAErrorResponse.java | 116 +-
.../sdk/core/client/model/RTAExecutable.java | 637 ++++----
.../model/RTAExecutableArgumentBinding.java | 203 ++-
.../client/model/RTAExecutableArtifact.java | 249 ++--
.../client/model/RTAExecutableParameter.java | 282 ++--
.../sdk/core/client/model/RTAExecution.java | 604 ++++----
.../RTAInputArtifactArgumentBinding.java | 245 ++--
.../ai/sdk/core/client/model/RTALabel.java | 193 ++-
.../core/client/model/RTALogCommonData.java | 126 +-
.../client/model/RTALogCommonResponse.java | 117 +-
.../client/model/RTALogCommonResultItem.java | 151 +-
.../core/client/model/RTAModelBaseData.java | 334 ++---
.../core/client/model/RTAModelVersion.java | 193 ++-
.../RTAOutputArtifactArgumentBinding.java | 188 +--
.../ai/sdk/core/client/model/RTAScenario.java | 384 ++---
.../sdk/core/client/model/TrckApiError.java | 303 ++--
.../client/model/TrckCustomInfoObject.java | 194 ++-
.../model/TrckDeleteMetricsResponse.java | 151 +-
.../model/TrckDetailsErrorResponse.java | 149 +-
.../core/client/model/TrckExecutionId.java | 72 +-
.../sdk/core/client/model/TrckGetMetric.java | 334 ++---
.../client/model/TrckGetMetricResource.java | 265 ++--
.../model/TrckGetMetricResourceList.java | 200 +--
.../ai/sdk/core/client/model/TrckLabel.java | 200 +--
.../ai/sdk/core/client/model/TrckMetric.java | 312 ++--
.../core/client/model/TrckMetricResource.java | 262 ++--
.../sap/ai/sdk/core/client/model/TrckTag.java | 194 ++-
.../ai/sdk/core/client/model/TrckTagName.java | 73 +-
.../ai/sdk/core/client/ArtifactUnitTest.java | 15 +-
.../core/client/ConfigurationUnitTest.java | 10 +-
.../sdk/core/client/DeploymentUnitTest.java | 6 +-
.../ai/sdk/core/client/ExecutionUnitTest.java | 6 +-
.../ai/sdk/core/client/ScenarioUnitTest.java | 2 +-
orchestration/pom.xml | 8 -
.../client/OrchestrationCompletionApi.java | 153 +-
.../client/OrchestrationHealthzApi.java | 133 +-
.../client/model/AzureContentSafety.java | 211 ++-
.../client/model/AzureThreshold.java | 37 +-
.../client/model/ChatMessage.java | 191 ++-
.../client/model/CompletionPostRequest.java | 274 ++--
.../client/model/CompletionPostResponse.java | 260 ++--
.../client/model/DPIEntities.java | 59 +-
.../client/model/ErrorResponse.java | 341 ++---
.../orchestration/client/model/Filter.java | 172 ++-
.../client/model/FilterConfig.java | 212 ++-
.../client/model/FilteringConfig.java | 162 +--
.../client/model/FilteringModuleConfig.java | 148 +-
.../client/model/GenericModuleResult.java | 171 ++-
.../client/model/GroundingFilter.java | 409 +++---
.../client/model/GroundingModuleConfig.java | 228 +--
...leConfigGroundingServiceConfiguration.java | 390 ++---
.../orchestration/client/model/LLMChoice.java | 308 ++--
.../client/model/LLMModuleConfig.java | 225 ++-
.../client/model/LLMModuleResult.java | 482 +++---
.../orchestration/client/model/Masking.java | 217 ++-
.../client/model/MaskingEntitiesInner.java | 74 +-
.../client/model/MaskingModuleConfig.java | 197 ++-
.../client/model/MaskingProviderType.java | 33 +-
.../client/model/ModuleConfigs.java | 333 +++--
.../client/model/ModuleResults.java | 334 +++--
.../client/model/OrchestrationConfig.java | 147 +-
...strationV1EndpointsHealthz503Response.java | 130 +-
.../client/model/PresidioEntities.java | 31 +-
.../client/model/ProviderType.java | 31 +-
.../client/model/TemplatingModuleConfig.java | 207 +--
.../client/model/TokenUsage.java | 249 ++--
.../client/model/UnmaskingConfig.java | 162 +--
.../model/UnmaskingConfigEntitiesInner.java | 84 +-
275 files changed, 38058 insertions(+), 34606 deletions(-)
diff --git a/core/pom.xml b/core/pom.xml
index d6eefb3b..841ffe8e 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -180,14 +180,6 @@
-
-
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 - */ - 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 - */ - @Beta - public ApplicationApi( @Nonnull final ApiClient apiClient ) - { - super(apiClient); - } - - - /** - *
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 (required)
- The value for the parameter kubesubmitV4ApplicationsCreateRequest
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationCreationResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationCreationResponse kubesubmitV4ApplicationsCreate( @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest, @Nullable final String authorization) throws OpenApiRequestException {
- final Object localVarPostBody = kubesubmitV4ApplicationsCreateRequest;
-
- // verify the required parameter 'kubesubmitV4ApplicationsCreateRequest' is set
- if (kubesubmitV4ApplicationsCreateRequest == null) {
- throw new OpenApiRequestException("Missing the required parameter 'kubesubmitV4ApplicationsCreateRequest' when calling kubesubmitV4ApplicationsCreate");
- }
-
- final String localVarPath = UriComponentsBuilder.fromPath("/admin/applications").build().toUriString();
-
- final MultiValueMap 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
- */
- @Nonnull
- public BckndArgoCDApplicationCreationResponse kubesubmitV4ApplicationsCreate( @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsCreate(kubesubmitV4ApplicationsCreateRequest, null);
+ /**
+ * 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
+ */
+ @Beta
+ public ApplicationApi(@Nonnull final ApiClient apiClient) {
+ super(apiClient);
+ }
+
+ /**
+ * 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 (required) The value for the parameter
+ * kubesubmitV4ApplicationsCreateRequest
+ * @param authorization (optional) Authorization bearer token containing a JWT token.
+ * @return BckndArgoCDApplicationCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationCreationResponse kubesubmitV4ApplicationsCreate(
+ @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest,
+ @Nullable final String authorization)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = kubesubmitV4ApplicationsCreateRequest;
+
+ // verify the required parameter 'kubesubmitV4ApplicationsCreateRequest' is set
+ if (kubesubmitV4ApplicationsCreateRequest == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'kubesubmitV4ApplicationsCreateRequest' when calling kubesubmitV4ApplicationsCreate");
}
- /**
- * 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 (required)
- Name of the ArgoCD application
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationDeletionResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @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
- if (applicationName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsDelete");
- }
-
- // create path and map variables
- final Map 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
+ */
+ @Nonnull
+ public BckndArgoCDApplicationCreationResponse kubesubmitV4ApplicationsCreate(
+ @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest)
+ throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsCreate(kubesubmitV4ApplicationsCreateRequest, null);
+ }
+
+ /**
+ * 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 (required) Name of the ArgoCD application
+ * @param authorization (optional) Authorization bearer token containing a JWT token.
+ * @return BckndArgoCDApplicationDeletionResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @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
+ if (applicationName == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsDelete");
}
- /**
- * 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
- */
- @Nonnull
- public BckndArgoCDApplicationDeletionResponse kubesubmitV4ApplicationsDelete( @Nonnull final String applicationName) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsDelete(applicationName, null);
+ // create path and map variables
+ final Map 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
+ */
+ @Nonnull
+ public BckndArgoCDApplicationDeletionResponse kubesubmitV4ApplicationsDelete(
+ @Nonnull final String applicationName) throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsDelete(applicationName, null);
+ }
+
+ /**
+ * 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 (required) Name of the ArgoCD application
+ * @param authorization (optional) Authorization bearer token containing a JWT token.
+ * @return BckndArgoCDApplicationData
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @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
+ if (applicationName == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsGet");
}
- /**
- * 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 (required)
- Name of the ArgoCD application
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationData
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @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
- if (applicationName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsGet");
- }
-
- // create path and map variables
- final Map 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
+ */
+ @Nonnull
+ public BckndArgoCDApplicationData kubesubmitV4ApplicationsGet(
+ @Nonnull final String applicationName) throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsGet(applicationName, null);
+ }
+
+ /**
+ * 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 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.
+ *
+ * @param applicationName (required) Name of the ArgoCD application
+ * @param authorization (optional) Authorization bearer token containing a JWT token.
+ * @return BckndArgoCDApplicationStatus
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @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 kubesubmitV4ApplicationsGetStatus");
}
- /**
- * 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
- */
- @Nonnull
- public BckndArgoCDApplicationData kubesubmitV4ApplicationsGet( @Nonnull final String applicationName) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsGet(applicationName, null);
+ // create path and map variables
+ final Map 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 BckndArgoCDApplicationStatus
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationStatus kubesubmitV4ApplicationsGetStatus(
+ @Nonnull final String applicationName) throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsGetStatus(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
+ *
+ * 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 authorization (optional) Authorization bearer token containing a JWT token.
+ * @return BckndArgoCDApplicationRefreshResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @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 kubesubmitV4ApplicationsRefresh");
}
- /**
- * 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 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
+ * @return BckndArgoCDApplicationRefreshResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationRefreshResponse kubesubmitV4ApplicationsRefresh(
+ @Nonnull final String applicationName) throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsRefresh(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
+ *
+ * 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 BckndArgoCDApplicationModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @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 kubesubmitV4ApplicationsUpdate");
}
- /**
- * 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);
+ // verify the required parameter 'bckndArgoCDApplicationBaseData' is set
+ if (bckndArgoCDApplicationBaseData == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'bckndArgoCDApplicationBaseData' when calling kubesubmitV4ApplicationsUpdate");
}
- /**
- * 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 (required)
- Name of the ArgoCD application
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationStatus
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @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 kubesubmitV4ApplicationsGetStatus");
- }
-
- // 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.
- * 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 BckndArgoCDApplicationStatus
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationStatus kubesubmitV4ApplicationsGetStatus( @Nonnull final String applicationName) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsGetStatus(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
- * 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 authorization (optional)
- Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationRefreshResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @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 kubesubmitV4ApplicationsRefresh");
- }
-
- // 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
- * 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
- */
- @Nonnull
- public BckndArgoCDApplicationRefreshResponse kubesubmitV4ApplicationsRefresh( @Nonnull final String applicationName) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsRefresh(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
- * 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 BckndArgoCDApplicationModificationResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @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 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 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
- * @param bckndArgoCDApplicationBaseData
- * The value for the parameter bckndArgoCDApplicationBaseData
- * @return BckndArgoCDApplicationModificationResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationModificationResponse kubesubmitV4ApplicationsUpdate( @Nonnull final String applicationName, @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsUpdate(applicationName, bckndArgoCDApplicationBaseData, null);
- }
+ // create path and map variables
+ final Map 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
+ * @param bckndArgoCDApplicationBaseData The value for the parameter
+ * bckndArgoCDApplicationBaseData
+ * @return BckndArgoCDApplicationModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @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 6082bdc7..41c8f08f 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
@@ -1,355 +1,471 @@
-
-
package com.sap.ai.sdk.core.client;
-import com.sap.cloud.sdk.services.openapi.core.OpenApiRequestException;
-import com.sap.cloud.sdk.services.openapi.core.OpenApiResponse;
-import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
-import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-
+import com.google.common.annotations.Beta;
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 com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
+import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
+import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
+import com.sap.cloud.sdk.services.openapi.core.OpenApiRequestException;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
-
-import org.springframework.util.LinkedMultiValueMap;
-import org.springframework.util.MultiValueMap;
-import org.springframework.web.util.UriComponentsBuilder;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
import org.springframework.core.ParameterizedTypeReference;
-import org.springframework.core.io.FileSystemResource;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;
-
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-import com.google.common.annotations.Beta;
-
-import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
+import org.springframework.util.LinkedMultiValueMap;
+import org.springframework.util.MultiValueMap;
+import org.springframework.web.util.UriComponentsBuilder;
/**
* 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.
+ * 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
- */
- public ArtifactApi( @Nonnull final Destination httpDestination )
- {
- super(httpDestination);
+ /**
+ * 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
+ */
+ @Beta
+ public ArtifactApi(@Nonnull final ApiClient apiClient) {
+ super(apiClient);
+ }
+
+ /**
+ * 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 (required) Specify a resource group id
+ * @param scenarioId (optional) Scenario identifier
+ * @param executionId (optional) Execution identifier
+ * @param name (optional) Artifact name
+ * @param kind (optional) Kind of the artifact
+ * @param $search (optional) Generic search term to be looked for in various attributes
+ * @param searchCaseInsensitive (optional, default to false) indicates whether the search should
+ * be case insensitive
+ * @param artifactLabelSelector (optional Filter artifact by labels. Pass in expressions in the
+ * form of \"key=value\" or \"key!=value\" separated by commas
+ * and the result will be filtered to only those resources that have labels that match all
+ * provided expressions (i.e. logical AND). The maximum number of labels permitted for
+ * filtering is 10. Special handling is required when using comma in the value field. This is
+ * because commas are also used as a separator for multiple \"key=value\"
+ * entries. Therefore, if the value contains a comma, then replace this with the string
+ * \"{comma}\" in the value field.
+ * @return Integer
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ 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 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
+ */
+ @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.
+ *
+ * 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
+ */
+ @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
+ if (aiResourceGroup == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'aiResourceGroup' when calling artifactCreate");
}
-
- /**
- * 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 (required)
- Specify a resource group id
- * @param scenarioId (optional)
- Scenario identifier
- * @param executionId (optional)
- Execution identifier
- * @param name (optional)
- Artifact name
- * @param kind (optional)
- Kind of the artifact
- * @param $search (optional)
- Generic search term to be looked for in various attributes
- * @param searchCaseInsensitive (optional, default to false)
- indicates whether the search should be case insensitive
- * @param artifactLabelSelector (optional
- Filter artifact by labels. Pass in expressions in the form of \"key=value\" or \"key!=value\" separated by commas and the result will be filtered to only those resources that have labels that match all provided expressions (i.e. logical AND). The maximum number of labels permitted for filtering is 10. Special handling is required when using comma in the value field. This is because commas are also used as a separator for multiple \"key=value\" entries. Therefore, if the value contains a comma, then replace this with the string \"{comma}\" in the value field.
- * @return Integer
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- 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. 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
- */
- @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. 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
- */
- @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
- if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling artifactCreate");
- }
-
- // verify the required parameter 'aiArtifactPostData' is set
- if (aiArtifactPostData == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiArtifactPostData' when calling artifactCreate");
- }
-
- final String localVarPath = UriComponentsBuilder.fromPath("/lm/artifacts").build().toUriString();
-
- final MultiValueMap 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 (required) Specify a resource group id
+ * @param artifactId (required) Artifact identifier
+ * @param $expand (optional) expand detailed information on scenario
+ * @return AiArtifact
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @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
+ if (aiResourceGroup == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'aiResourceGroup' when calling artifactGet");
}
- /**
- * 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 (required)
- Specify a resource group id
- * @param artifactId (required)
- Artifact identifier
- * @param $expand (optional)
- expand detailed information on scenario
- * @return AiArtifact
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @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
- if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling artifactGet");
- }
-
- // verify the required parameter 'artifactId' is set
- if (artifactId == null) {
- throw new OpenApiRequestException("Missing the required parameter 'artifactId' when calling artifactGet");
- }
-
- // create path and map variables
- final Map 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
- */
- @Nonnull
- public AiArtifact artifactGet( @Nonnull final String aiResourceGroup, @Nonnull final String artifactId) throws OpenApiRequestException {
- return artifactGet(aiResourceGroup, artifactId, null);
+ // create path and map variables
+ final Map 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
+ */
+ @Nonnull
+ public AiArtifact artifactGet(
+ @Nonnull final String aiResourceGroup, @Nonnull final String artifactId)
+ throws OpenApiRequestException {
+ return artifactGet(aiResourceGroup, artifactId, null);
+ }
+
+ /**
+ * 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 (required) Specify a resource group id
+ * @param scenarioId (optional) Scenario identifier
+ * @param executionId (optional) Execution identifier
+ * @param name (optional) Artifact name
+ * @param kind (optional) Kind of the artifact
+ * @param artifactLabelSelector (optional Filter artifact by labels. Pass in expressions in the
+ * form of \"key=value\" or \"key!=value\" separated by commas
+ * and the result will be filtered to only those resources that have labels that match all
+ * provided expressions (i.e. logical AND). The maximum number of labels permitted for
+ * filtering is 10. Special handling is required when using comma in the value field. This is
+ * because commas are also used as a separator for multiple \"key=value\"
+ * entries. Therefore, if the value contains a comma, then replace this with the string
+ * \"{comma}\" in the value field.
+ * @param $top (optional, default to 10000) Number of results to display
+ * @param $skip (optional) Number of results to be skipped from the ordered list of results
+ * @param $search (optional) Generic search term to be looked for in various attributes
+ * @param searchCaseInsensitive (optional, default to false) indicates whether the search should
+ * be case insensitive
+ * @param $expand (optional) expand detailed information on scenario
+ * @return AiArtifactList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ 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. 200 - A list of artifacts
- * 400 - The specification of the resource was incorrect
- * @param aiResourceGroup (required)
- Specify a resource group id
- * @param scenarioId (optional)
- Scenario identifier
- * @param executionId (optional)
- Execution identifier
- * @param name (optional)
- Artifact name
- * @param kind (optional)
- Kind of the artifact
- * @param artifactLabelSelector (optional
- Filter artifact by labels. Pass in expressions in the form of \"key=value\" or \"key!=value\" separated by commas and the result will be filtered to only those resources that have labels that match all provided expressions (i.e. logical AND). The maximum number of labels permitted for filtering is 10. Special handling is required when using comma in the value field. This is because commas are also used as a separator for multiple \"key=value\" entries. Therefore, if the value contains a comma, then replace this with the string \"{comma}\" in the value field.
- * @param $top (optional, default to 10000)
- Number of results to display
- * @param $skip (optional)
- Number of results to be skipped from the ordered list of results
- * @param $search (optional)
- Generic search term to be looked for in various attributes
- * @param searchCaseInsensitive (optional, default to false)
- indicates whether the search should be case insensitive
- * @param $expand (optional)
- expand detailed information on scenario
- * @return AiArtifactList
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- 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. 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
- */
- @Nonnull
- public AiArtifactList artifactQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
- return artifactQuery(aiResourceGroup, null, null, null, null, null, null, null, null, null, null);
- }
+ final String localVarPath =
+ UriComponentsBuilder.fromPath("/lm/artifacts").build().toUriString();
+
+ final MultiValueMap 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
+ */
+ @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 3a5ba88f..2d5392e8 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
@@ -1,337 +1,436 @@
-
-
package com.sap.ai.sdk.core.client;
-import com.sap.cloud.sdk.services.openapi.core.OpenApiRequestException;
-import com.sap.cloud.sdk.services.openapi.core.OpenApiResponse;
-import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
-import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-
+import com.google.common.annotations.Beta;
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 com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
+import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
+import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
+import com.sap.cloud.sdk.services.openapi.core.OpenApiRequestException;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
-
-import org.springframework.util.LinkedMultiValueMap;
-import org.springframework.util.MultiValueMap;
-import org.springframework.web.util.UriComponentsBuilder;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
import org.springframework.core.ParameterizedTypeReference;
-import org.springframework.core.io.FileSystemResource;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;
-
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-import com.google.common.annotations.Beta;
-
-import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
+import org.springframework.util.LinkedMultiValueMap;
+import org.springframework.util.MultiValueMap;
+import org.springframework.web.util.UriComponentsBuilder;
/**
* 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.
+ * 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
- */
- public ConfigurationApi( @Nonnull final Destination httpDestination )
- {
- super(httpDestination);
+ /**
+ * 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
+ */
+ @Beta
+ public ConfigurationApi(@Nonnull final ApiClient apiClient) {
+ super(apiClient);
+ }
+
+ /**
+ * 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 (required) Specify a resource group id
+ * @param scenarioId (optional) Scenario identifier
+ * @param $search (optional) Generic search term to be looked for in various attributes
+ * @param searchCaseInsensitive (optional, default to false) indicates whether the search should
+ * be case insensitive
+ * @param executableIds (optional Limit query to only these executable IDs
+ * @return Integer
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public Integer configurationCount(
+ @Nonnull final String aiResourceGroup,
+ @Nullable final String scenarioId,
+ @Nullable final String $search,
+ @Nullable final Boolean searchCaseInsensitive,
+ @Nullable final List 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
+ */
+ @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.
+ *
+ * 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
+ */
+ @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
+ if (aiResourceGroup == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'aiResourceGroup' when calling configurationCreate");
}
-
- /**
- * 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 (required)
- Specify a resource group id
- * @param scenarioId (optional)
- Scenario identifier
- * @param $search (optional)
- Generic search term to be looked for in various attributes
- * @param searchCaseInsensitive (optional, default to false)
- indicates whether the search should be case insensitive
- * @param executableIds (optional
- Limit query to only these executable IDs
- * @return Integer
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- 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. 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
- */
- @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. 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
- */
- @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
- if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling configurationCreate");
- }
-
- // verify the required parameter 'aiConfigurationBaseData' is set
- if (aiConfigurationBaseData == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiConfigurationBaseData' when calling configurationCreate");
- }
-
- final String localVarPath = UriComponentsBuilder.fromPath("/lm/configurations").build().toUriString();
-
- final MultiValueMap 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 (required) Specify a resource group id
+ * @param configurationId (required) Configuration identifier
+ * @param $expand (optional) expand detailed information on scenario
+ * @return AiConfiguration
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @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
+ if (aiResourceGroup == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'aiResourceGroup' when calling configurationGet");
}
- /**
- * 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 (required)
- Specify a resource group id
- * @param configurationId (required)
- Configuration identifier
- * @param $expand (optional)
- expand detailed information on scenario
- * @return AiConfiguration
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @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
- if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling configurationGet");
- }
-
- // verify the required parameter 'configurationId' is set
- if (configurationId == null) {
- throw new OpenApiRequestException("Missing the required parameter 'configurationId' when calling configurationGet");
- }
-
- // create path and map variables
- final Map 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
- */
- @Nonnull
- public AiConfiguration configurationGet( @Nonnull final String aiResourceGroup, @Nonnull final String configurationId) throws OpenApiRequestException {
- return configurationGet(aiResourceGroup, configurationId, null);
+ // create path and map variables
+ final Map Retrieve details for configuration with configurationId.
+ *
+ *