Skip to content

Commit df1616d

Browse files
committed
Update generated code
1 parent ef04838 commit df1616d

File tree

3 files changed

+98
-101
lines changed

3 files changed

+98
-101
lines changed

core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/client/PipelinesApi.java

Lines changed: 46 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,21 @@ public PipelinesApi(@Nonnull final ApiClient apiClient) {
7373
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
7474
*/
7575
@Nonnull
76-
public PipelineId pipelineV1PipelineEndpointsCreatePipeline(
76+
public PipelineId createPipeline(
7777
@Nonnull final String aiResourceGroup, @Nonnull final CreatePipeline createPipeline)
7878
throws OpenApiRequestException {
7979
final Object localVarPostBody = createPipeline;
8080

8181
// verify the required parameter 'aiResourceGroup' is set
8282
if (aiResourceGroup == null) {
8383
throw new OpenApiRequestException(
84-
"Missing the required parameter 'aiResourceGroup' when calling pipelineV1PipelineEndpointsCreatePipeline");
84+
"Missing the required parameter 'aiResourceGroup' when calling createPipeline");
8585
}
8686

8787
// verify the required parameter 'createPipeline' is set
8888
if (createPipeline == null) {
8989
throw new OpenApiRequestException(
90-
"Missing the required parameter 'createPipeline' when calling pipelineV1PipelineEndpointsCreatePipeline");
90+
"Missing the required parameter 'createPipeline' when calling createPipeline");
9191
}
9292

9393
final String localVarPath = UriComponentsBuilder.fromPath("/pipelines").build().toUriString();
@@ -138,21 +138,21 @@ public PipelineId pipelineV1PipelineEndpointsCreatePipeline(
138138
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
139139
*/
140140
@Nonnull
141-
public OpenApiResponse pipelineV1PipelineEndpointsDeletePipelineById(
141+
public OpenApiResponse deletePipelineById(
142142
@Nonnull final String aiResourceGroup, @Nonnull final String pipelineId)
143143
throws OpenApiRequestException {
144144
final Object localVarPostBody = null;
145145

146146
// verify the required parameter 'aiResourceGroup' is set
147147
if (aiResourceGroup == null) {
148148
throw new OpenApiRequestException(
149-
"Missing the required parameter 'aiResourceGroup' when calling pipelineV1PipelineEndpointsDeletePipelineById");
149+
"Missing the required parameter 'aiResourceGroup' when calling deletePipelineById");
150150
}
151151

152152
// verify the required parameter 'pipelineId' is set
153153
if (pipelineId == null) {
154154
throw new OpenApiRequestException(
155-
"Missing the required parameter 'pipelineId' when calling pipelineV1PipelineEndpointsDeletePipelineById");
155+
"Missing the required parameter 'pipelineId' when calling deletePipelineById");
156156
}
157157

158158
// create path and map variables
@@ -215,7 +215,7 @@ public OpenApiResponse pipelineV1PipelineEndpointsDeletePipelineById(
215215
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
216216
*/
217217
@Nonnull
218-
public GetPipelines pipelineV1PipelineEndpointsGetAllPipeline(
218+
public GetPipelines getAllPipeline(
219219
@Nonnull final String aiResourceGroup,
220220
@Nullable final Integer $top,
221221
@Nullable final Integer $skip,
@@ -226,7 +226,7 @@ public GetPipelines pipelineV1PipelineEndpointsGetAllPipeline(
226226
// verify the required parameter 'aiResourceGroup' is set
227227
if (aiResourceGroup == null) {
228228
throw new OpenApiRequestException(
229-
"Missing the required parameter 'aiResourceGroup' when calling pipelineV1PipelineEndpointsGetAllPipeline");
229+
"Missing the required parameter 'aiResourceGroup' when calling getAllPipeline");
230230
}
231231

232232
final String localVarPath = UriComponentsBuilder.fromPath("/pipelines").build().toUriString();
@@ -280,9 +280,9 @@ public GetPipelines pipelineV1PipelineEndpointsGetAllPipeline(
280280
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
281281
*/
282282
@Nonnull
283-
public GetPipelines pipelineV1PipelineEndpointsGetAllPipeline(
284-
@Nonnull final String aiResourceGroup) throws OpenApiRequestException {
285-
return pipelineV1PipelineEndpointsGetAllPipeline(aiResourceGroup, null, null, null);
283+
public GetPipelines getAllPipeline(@Nonnull final String aiResourceGroup)
284+
throws OpenApiRequestException {
285+
return getAllPipeline(aiResourceGroup, null, null, null);
286286
}
287287

288288
/**
@@ -300,21 +300,21 @@ public GetPipelines pipelineV1PipelineEndpointsGetAllPipeline(
300300
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
301301
*/
302302
@Nonnull
303-
public GetPipeline pipelineV1PipelineEndpointsGetPipelineById(
303+
public GetPipeline getPipelineById(
304304
@Nonnull final String aiResourceGroup, @Nonnull final String pipelineId)
305305
throws OpenApiRequestException {
306306
final Object localVarPostBody = null;
307307

308308
// verify the required parameter 'aiResourceGroup' is set
309309
if (aiResourceGroup == null) {
310310
throw new OpenApiRequestException(
311-
"Missing the required parameter 'aiResourceGroup' when calling pipelineV1PipelineEndpointsGetPipelineById");
311+
"Missing the required parameter 'aiResourceGroup' when calling getPipelineById");
312312
}
313313

314314
// verify the required parameter 'pipelineId' is set
315315
if (pipelineId == null) {
316316
throw new OpenApiRequestException(
317-
"Missing the required parameter 'pipelineId' when calling pipelineV1PipelineEndpointsGetPipelineById");
317+
"Missing the required parameter 'pipelineId' when calling getPipelineById");
318318
}
319319

320320
// create path and map variables
@@ -370,7 +370,7 @@ public GetPipeline pipelineV1PipelineEndpointsGetPipelineById(
370370
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
371371
*/
372372
@Nonnull
373-
public PipelineDocumentResponse pipelineV1PipelineEndpointsGetPipelineDocumentById(
373+
public PipelineDocumentResponse getPipelineDocumentById(
374374
@Nonnull final String aiResourceGroup,
375375
@Nonnull final String pipelineId,
376376
@Nonnull final String documentId)
@@ -380,19 +380,19 @@ public PipelineDocumentResponse pipelineV1PipelineEndpointsGetPipelineDocumentBy
380380
// verify the required parameter 'aiResourceGroup' is set
381381
if (aiResourceGroup == null) {
382382
throw new OpenApiRequestException(
383-
"Missing the required parameter 'aiResourceGroup' when calling pipelineV1PipelineEndpointsGetPipelineDocumentById");
383+
"Missing the required parameter 'aiResourceGroup' when calling getPipelineDocumentById");
384384
}
385385

386386
// verify the required parameter 'pipelineId' is set
387387
if (pipelineId == null) {
388388
throw new OpenApiRequestException(
389-
"Missing the required parameter 'pipelineId' when calling pipelineV1PipelineEndpointsGetPipelineDocumentById");
389+
"Missing the required parameter 'pipelineId' when calling getPipelineDocumentById");
390390
}
391391

392392
// verify the required parameter 'documentId' is set
393393
if (documentId == null) {
394394
throw new OpenApiRequestException(
395-
"Missing the required parameter 'documentId' when calling pipelineV1PipelineEndpointsGetPipelineDocumentById");
395+
"Missing the required parameter 'documentId' when calling getPipelineDocumentById");
396396
}
397397

398398
// create path and map variables
@@ -455,7 +455,7 @@ public PipelineDocumentResponse pipelineV1PipelineEndpointsGetPipelineDocumentBy
455455
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
456456
*/
457457
@Nonnull
458-
public DocumentsStatusResponse pipelineV1PipelineEndpointsGetPipelineDocuments(
458+
public DocumentsStatusResponse getPipelineDocuments(
459459
@Nonnull final String aiResourceGroup,
460460
@Nonnull final String pipelineId,
461461
@Nullable final Integer $top,
@@ -467,13 +467,13 @@ public DocumentsStatusResponse pipelineV1PipelineEndpointsGetPipelineDocuments(
467467
// verify the required parameter 'aiResourceGroup' is set
468468
if (aiResourceGroup == null) {
469469
throw new OpenApiRequestException(
470-
"Missing the required parameter 'aiResourceGroup' when calling pipelineV1PipelineEndpointsGetPipelineDocuments");
470+
"Missing the required parameter 'aiResourceGroup' when calling getPipelineDocuments");
471471
}
472472

473473
// verify the required parameter 'pipelineId' is set
474474
if (pipelineId == null) {
475475
throw new OpenApiRequestException(
476-
"Missing the required parameter 'pipelineId' when calling pipelineV1PipelineEndpointsGetPipelineDocuments");
476+
"Missing the required parameter 'pipelineId' when calling getPipelineDocuments");
477477
}
478478

479479
// create path and map variables
@@ -533,11 +533,10 @@ public DocumentsStatusResponse pipelineV1PipelineEndpointsGetPipelineDocuments(
533533
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
534534
*/
535535
@Nonnull
536-
public DocumentsStatusResponse pipelineV1PipelineEndpointsGetPipelineDocuments(
536+
public DocumentsStatusResponse getPipelineDocuments(
537537
@Nonnull final String aiResourceGroup, @Nonnull final String pipelineId)
538538
throws OpenApiRequestException {
539-
return pipelineV1PipelineEndpointsGetPipelineDocuments(
540-
aiResourceGroup, pipelineId, null, null, null);
539+
return getPipelineDocuments(aiResourceGroup, pipelineId, null, null, null);
541540
}
542541

543542
/**
@@ -554,7 +553,7 @@ public DocumentsStatusResponse pipelineV1PipelineEndpointsGetPipelineDocuments(
554553
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
555554
*/
556555
@Nonnull
557-
public GetPipelineExecutionById pipelineV1PipelineEndpointsGetPipelineExecutionById(
556+
public GetPipelineExecutionById getPipelineExecutionById(
558557
@Nonnull final String aiResourceGroup,
559558
@Nonnull final String pipelineId,
560559
@Nonnull final String executionId)
@@ -564,19 +563,19 @@ public GetPipelineExecutionById pipelineV1PipelineEndpointsGetPipelineExecutionB
564563
// verify the required parameter 'aiResourceGroup' is set
565564
if (aiResourceGroup == null) {
566565
throw new OpenApiRequestException(
567-
"Missing the required parameter 'aiResourceGroup' when calling pipelineV1PipelineEndpointsGetPipelineExecutionById");
566+
"Missing the required parameter 'aiResourceGroup' when calling getPipelineExecutionById");
568567
}
569568

570569
// verify the required parameter 'pipelineId' is set
571570
if (pipelineId == null) {
572571
throw new OpenApiRequestException(
573-
"Missing the required parameter 'pipelineId' when calling pipelineV1PipelineEndpointsGetPipelineExecutionById");
572+
"Missing the required parameter 'pipelineId' when calling getPipelineExecutionById");
574573
}
575574

576575
// verify the required parameter 'executionId' is set
577576
if (executionId == null) {
578577
throw new OpenApiRequestException(
579-
"Missing the required parameter 'executionId' when calling pipelineV1PipelineEndpointsGetPipelineExecutionById");
578+
"Missing the required parameter 'executionId' when calling getPipelineExecutionById");
580579
}
581580

582581
// create path and map variables
@@ -634,7 +633,7 @@ public GetPipelineExecutionById pipelineV1PipelineEndpointsGetPipelineExecutionB
634633
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
635634
*/
636635
@Nonnull
637-
public PipelineDocumentResponse pipelineV1PipelineEndpointsGetPipelineExecutionDocumentById(
636+
public PipelineDocumentResponse getPipelineExecutionDocumentById(
638637
@Nonnull final String aiResourceGroup,
639638
@Nonnull final String pipelineId,
640639
@Nonnull final String executionId,
@@ -645,25 +644,25 @@ public PipelineDocumentResponse pipelineV1PipelineEndpointsGetPipelineExecutionD
645644
// verify the required parameter 'aiResourceGroup' is set
646645
if (aiResourceGroup == null) {
647646
throw new OpenApiRequestException(
648-
"Missing the required parameter 'aiResourceGroup' when calling pipelineV1PipelineEndpointsGetPipelineExecutionDocumentById");
647+
"Missing the required parameter 'aiResourceGroup' when calling getPipelineExecutionDocumentById");
649648
}
650649

651650
// verify the required parameter 'pipelineId' is set
652651
if (pipelineId == null) {
653652
throw new OpenApiRequestException(
654-
"Missing the required parameter 'pipelineId' when calling pipelineV1PipelineEndpointsGetPipelineExecutionDocumentById");
653+
"Missing the required parameter 'pipelineId' when calling getPipelineExecutionDocumentById");
655654
}
656655

657656
// verify the required parameter 'executionId' is set
658657
if (executionId == null) {
659658
throw new OpenApiRequestException(
660-
"Missing the required parameter 'executionId' when calling pipelineV1PipelineEndpointsGetPipelineExecutionDocumentById");
659+
"Missing the required parameter 'executionId' when calling getPipelineExecutionDocumentById");
661660
}
662661

663662
// verify the required parameter 'documentId' is set
664663
if (documentId == null) {
665664
throw new OpenApiRequestException(
666-
"Missing the required parameter 'documentId' when calling pipelineV1PipelineEndpointsGetPipelineExecutionDocumentById");
665+
"Missing the required parameter 'documentId' when calling getPipelineExecutionDocumentById");
667666
}
668667

669668
// create path and map variables
@@ -729,7 +728,7 @@ public PipelineDocumentResponse pipelineV1PipelineEndpointsGetPipelineExecutionD
729728
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
730729
*/
731730
@Nonnull
732-
public DocumentsStatusResponse pipelineV1PipelineEndpointsGetPipelineExecutionDocuments(
731+
public DocumentsStatusResponse getPipelineExecutionDocuments(
733732
@Nonnull final String aiResourceGroup,
734733
@Nonnull final String pipelineId,
735734
@Nonnull final String executionId,
@@ -742,19 +741,19 @@ public DocumentsStatusResponse pipelineV1PipelineEndpointsGetPipelineExecutionDo
742741
// verify the required parameter 'aiResourceGroup' is set
743742
if (aiResourceGroup == null) {
744743
throw new OpenApiRequestException(
745-
"Missing the required parameter 'aiResourceGroup' when calling pipelineV1PipelineEndpointsGetPipelineExecutionDocuments");
744+
"Missing the required parameter 'aiResourceGroup' when calling getPipelineExecutionDocuments");
746745
}
747746

748747
// verify the required parameter 'pipelineId' is set
749748
if (pipelineId == null) {
750749
throw new OpenApiRequestException(
751-
"Missing the required parameter 'pipelineId' when calling pipelineV1PipelineEndpointsGetPipelineExecutionDocuments");
750+
"Missing the required parameter 'pipelineId' when calling getPipelineExecutionDocuments");
752751
}
753752

754753
// verify the required parameter 'executionId' is set
755754
if (executionId == null) {
756755
throw new OpenApiRequestException(
757-
"Missing the required parameter 'executionId' when calling pipelineV1PipelineEndpointsGetPipelineExecutionDocuments");
756+
"Missing the required parameter 'executionId' when calling getPipelineExecutionDocuments");
758757
}
759758

760759
// create path and map variables
@@ -816,12 +815,12 @@ public DocumentsStatusResponse pipelineV1PipelineEndpointsGetPipelineExecutionDo
816815
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
817816
*/
818817
@Nonnull
819-
public DocumentsStatusResponse pipelineV1PipelineEndpointsGetPipelineExecutionDocuments(
818+
public DocumentsStatusResponse getPipelineExecutionDocuments(
820819
@Nonnull final String aiResourceGroup,
821820
@Nonnull final String pipelineId,
822821
@Nonnull final String executionId)
823822
throws OpenApiRequestException {
824-
return pipelineV1PipelineEndpointsGetPipelineExecutionDocuments(
823+
return getPipelineExecutionDocuments(
825824
aiResourceGroup, pipelineId, executionId, null, null, null);
826825
}
827826

@@ -846,7 +845,7 @@ public DocumentsStatusResponse pipelineV1PipelineEndpointsGetPipelineExecutionDo
846845
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
847846
*/
848847
@Nonnull
849-
public GetPipelineExecutions pipelineV1PipelineEndpointsGetPipelineExecutions(
848+
public GetPipelineExecutions getPipelineExecutions(
850849
@Nonnull final String aiResourceGroup,
851850
@Nonnull final String pipelineId,
852851
@Nullable final Boolean lastExecution,
@@ -859,13 +858,13 @@ public GetPipelineExecutions pipelineV1PipelineEndpointsGetPipelineExecutions(
859858
// verify the required parameter 'aiResourceGroup' is set
860859
if (aiResourceGroup == null) {
861860
throw new OpenApiRequestException(
862-
"Missing the required parameter 'aiResourceGroup' when calling pipelineV1PipelineEndpointsGetPipelineExecutions");
861+
"Missing the required parameter 'aiResourceGroup' when calling getPipelineExecutions");
863862
}
864863

865864
// verify the required parameter 'pipelineId' is set
866865
if (pipelineId == null) {
867866
throw new OpenApiRequestException(
868-
"Missing the required parameter 'pipelineId' when calling pipelineV1PipelineEndpointsGetPipelineExecutions");
867+
"Missing the required parameter 'pipelineId' when calling getPipelineExecutions");
869868
}
870869

871870
// create path and map variables
@@ -927,11 +926,10 @@ public GetPipelineExecutions pipelineV1PipelineEndpointsGetPipelineExecutions(
927926
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
928927
*/
929928
@Nonnull
930-
public GetPipelineExecutions pipelineV1PipelineEndpointsGetPipelineExecutions(
929+
public GetPipelineExecutions getPipelineExecutions(
931930
@Nonnull final String aiResourceGroup, @Nonnull final String pipelineId)
932931
throws OpenApiRequestException {
933-
return pipelineV1PipelineEndpointsGetPipelineExecutions(
934-
aiResourceGroup, pipelineId, null, null, null, null);
932+
return getPipelineExecutions(aiResourceGroup, pipelineId, null, null, null, null);
935933
}
936934

937935
/**
@@ -949,21 +947,21 @@ public GetPipelineExecutions pipelineV1PipelineEndpointsGetPipelineExecutions(
949947
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
950948
*/
951949
@Nonnull
952-
public GetPipelineStatus pipelineV1PipelineEndpointsGetPipelineStatus(
950+
public GetPipelineStatus getPipelineStatus(
953951
@Nonnull final String aiResourceGroup, @Nonnull final String pipelineId)
954952
throws OpenApiRequestException {
955953
final Object localVarPostBody = null;
956954

957955
// verify the required parameter 'aiResourceGroup' is set
958956
if (aiResourceGroup == null) {
959957
throw new OpenApiRequestException(
960-
"Missing the required parameter 'aiResourceGroup' when calling pipelineV1PipelineEndpointsGetPipelineStatus");
958+
"Missing the required parameter 'aiResourceGroup' when calling getPipelineStatus");
961959
}
962960

963961
// verify the required parameter 'pipelineId' is set
964962
if (pipelineId == null) {
965963
throw new OpenApiRequestException(
966-
"Missing the required parameter 'pipelineId' when calling pipelineV1PipelineEndpointsGetPipelineStatus");
964+
"Missing the required parameter 'pipelineId' when calling getPipelineStatus");
967965
}
968966

969967
// create path and map variables

0 commit comments

Comments
 (0)