Skip to content

Commit ab4c8d5

Browse files
authored
feat: [DevOps] Update SAP Cloud SDK dependency to 5.19.0 (#456)
* Initial * Update generated code * Fix compilation and test code * Update release_notes.md
1 parent ffbbe41 commit ab4c8d5

27 files changed

+97
-376
lines changed

core/src/main/java/com/sap/ai/sdk/core/client/MetricsApi.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import com.sap.ai.sdk.core.AiCoreService;
44
import com.sap.ai.sdk.core.model.TrckDeleteMetricsResponse;
5-
import com.sap.ai.sdk.core.model.TrckExecutionId;
65
import com.sap.ai.sdk.core.model.TrckGetMetricResourceList;
76
import com.sap.ai.sdk.core.model.TrckMetricResource;
87
import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
@@ -63,7 +62,7 @@ public MetricsApi(@Nonnull final AiCoreService aiCoreService) {
6362
*/
6463
@Nonnull
6564
public TrckDeleteMetricsResponse delete(
66-
@Nonnull final String aiResourceGroup, @Nonnull final TrckExecutionId executionId)
65+
@Nonnull final String aiResourceGroup, @Nonnull final String executionId)
6766
throws OpenApiRequestException {
6867
final Object localVarPostBody = null;
6968

core/src/main/java/com/sap/ai/sdk/core/model/TrckCustomInfoObject.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class TrckCustomInfoObject
3232
// CHECKSTYLE:ON
3333
{
3434
@JsonProperty("name")
35-
private TrckTagName name;
35+
private String name;
3636

3737
@JsonProperty("value")
3838
private String value;
@@ -46,31 +46,31 @@ protected TrckCustomInfoObject() {}
4646
/**
4747
* Set the name of this {@link TrckCustomInfoObject} instance and return the same instance.
4848
*
49-
* @param name The name of this {@link TrckCustomInfoObject}
49+
* @param name Generic name which can belong to a tag,label,metric or customInfo Object
5050
* @return The same instance of this {@link TrckCustomInfoObject} class
5151
*/
5252
@Nonnull
53-
public TrckCustomInfoObject name(@Nonnull final TrckTagName name) {
53+
public TrckCustomInfoObject name(@Nonnull final String name) {
5454
this.name = name;
5555
return this;
5656
}
5757

5858
/**
59-
* Get name
59+
* Generic name which can belong to a tag,label,metric or customInfo Object
6060
*
6161
* @return name The name of this {@link TrckCustomInfoObject} instance.
6262
*/
6363
@Nonnull
64-
public TrckTagName getName() {
64+
public String getName() {
6565
return name;
6666
}
6767

6868
/**
6969
* Set the name of this {@link TrckCustomInfoObject} instance.
7070
*
71-
* @param name The name of this {@link TrckCustomInfoObject}
71+
* @param name Generic name which can belong to a tag,label,metric or customInfo Object
7272
*/
73-
public void setName(@Nonnull final TrckTagName name) {
73+
public void setName(@Nonnull final String name) {
7474
this.name = name;
7575
}
7676

@@ -217,10 +217,10 @@ public interface Builder {
217217
/**
218218
* Set the name of this {@link TrckCustomInfoObject} instance.
219219
*
220-
* @param name The name of this {@link TrckCustomInfoObject}
220+
* @param name Generic name which can belong to a tag,label,metric or customInfo Object
221221
* @return The TrckCustomInfoObject builder.
222222
*/
223-
Builder1 name(@Nonnull final TrckTagName name);
223+
Builder1 name(@Nonnull final String name);
224224
}
225225

226226
/** Builder helper class. */

core/src/main/java/com/sap/ai/sdk/core/model/TrckDeleteMetricsResponse.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class TrckDeleteMetricsResponse
2929
// CHECKSTYLE:ON
3030
{
3131
@JsonProperty("id")
32-
private TrckExecutionId id;
32+
private String id;
3333

3434
@JsonProperty("message")
3535
private String message;
@@ -43,31 +43,31 @@ protected TrckDeleteMetricsResponse() {}
4343
/**
4444
* Set the id of this {@link TrckDeleteMetricsResponse} instance and return the same instance.
4545
*
46-
* @param id The id of this {@link TrckDeleteMetricsResponse}
46+
* @param id Generic ID
4747
* @return The same instance of this {@link TrckDeleteMetricsResponse} class
4848
*/
4949
@Nonnull
50-
public TrckDeleteMetricsResponse id(@Nullable final TrckExecutionId id) {
50+
public TrckDeleteMetricsResponse id(@Nullable final String id) {
5151
this.id = id;
5252
return this;
5353
}
5454

5555
/**
56-
* Get id
56+
* Generic ID
5757
*
5858
* @return id The id of this {@link TrckDeleteMetricsResponse} instance.
5959
*/
6060
@Nonnull
61-
public TrckExecutionId getId() {
61+
public String getId() {
6262
return id;
6363
}
6464

6565
/**
6666
* Set the id of this {@link TrckDeleteMetricsResponse} instance.
6767
*
68-
* @param id The id of this {@link TrckDeleteMetricsResponse}
68+
* @param id Generic ID
6969
*/
70-
public void setId(@Nullable final TrckExecutionId id) {
70+
public void setId(@Nullable final String id) {
7171
this.id = id;
7272
}
7373

core/src/main/java/com/sap/ai/sdk/core/model/TrckExecutionId.java

Lines changed: 0 additions & 132 deletions
This file was deleted.

core/src/main/java/com/sap/ai/sdk/core/model/TrckGetMetricResource.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class TrckGetMetricResource
3232
// CHECKSTYLE:ON
3333
{
3434
@JsonProperty("executionId")
35-
private TrckExecutionId executionId;
35+
private String executionId;
3636

3737
@JsonProperty("createdAt")
3838
private OffsetDateTime createdAt;
@@ -59,31 +59,31 @@ protected TrckGetMetricResource() {}
5959
* Set the executionId of this {@link TrckGetMetricResource} instance and return the same
6060
* instance.
6161
*
62-
* @param executionId The executionId of this {@link TrckGetMetricResource}
62+
* @param executionId Generic ID
6363
* @return The same instance of this {@link TrckGetMetricResource} class
6464
*/
6565
@Nonnull
66-
public TrckGetMetricResource executionId(@Nonnull final TrckExecutionId executionId) {
66+
public TrckGetMetricResource executionId(@Nonnull final String executionId) {
6767
this.executionId = executionId;
6868
return this;
6969
}
7070

7171
/**
72-
* Get executionId
72+
* Generic ID
7373
*
7474
* @return executionId The executionId of this {@link TrckGetMetricResource} instance.
7575
*/
7676
@Nonnull
77-
public TrckExecutionId getExecutionId() {
77+
public String getExecutionId() {
7878
return executionId;
7979
}
8080

8181
/**
8282
* Set the executionId of this {@link TrckGetMetricResource} instance.
8383
*
84-
* @param executionId The executionId of this {@link TrckGetMetricResource}
84+
* @param executionId Generic ID
8585
*/
86-
public void setExecutionId(@Nonnull final TrckExecutionId executionId) {
86+
public void setExecutionId(@Nonnull final String executionId) {
8787
this.executionId = executionId;
8888
}
8989

@@ -413,9 +413,9 @@ public interface Builder {
413413
/**
414414
* Set the executionId of this {@link TrckGetMetricResource} instance.
415415
*
416-
* @param executionId The executionId of this {@link TrckGetMetricResource}
416+
* @param executionId Generic ID
417417
* @return The TrckGetMetricResource instance.
418418
*/
419-
TrckGetMetricResource executionId(@Nonnull final TrckExecutionId executionId);
419+
TrckGetMetricResource executionId(@Nonnull final String executionId);
420420
}
421421
}

core/src/main/java/com/sap/ai/sdk/core/model/TrckMetricResource.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class TrckMetricResource
3232
// CHECKSTYLE:ON
3333
{
3434
@JsonProperty("executionId")
35-
private TrckExecutionId executionId;
35+
private String executionId;
3636

3737
@JsonProperty("createdAt")
3838
private OffsetDateTime createdAt;
@@ -58,31 +58,31 @@ protected TrckMetricResource() {}
5858
/**
5959
* Set the executionId of this {@link TrckMetricResource} instance and return the same instance.
6060
*
61-
* @param executionId The executionId of this {@link TrckMetricResource}
61+
* @param executionId Generic ID
6262
* @return The same instance of this {@link TrckMetricResource} class
6363
*/
6464
@Nonnull
65-
public TrckMetricResource executionId(@Nonnull final TrckExecutionId executionId) {
65+
public TrckMetricResource executionId(@Nonnull final String executionId) {
6666
this.executionId = executionId;
6767
return this;
6868
}
6969

7070
/**
71-
* Get executionId
71+
* Generic ID
7272
*
7373
* @return executionId The executionId of this {@link TrckMetricResource} instance.
7474
*/
7575
@Nonnull
76-
public TrckExecutionId getExecutionId() {
76+
public String getExecutionId() {
7777
return executionId;
7878
}
7979

8080
/**
8181
* Set the executionId of this {@link TrckMetricResource} instance.
8282
*
83-
* @param executionId The executionId of this {@link TrckMetricResource}
83+
* @param executionId Generic ID
8484
*/
85-
public void setExecutionId(@Nonnull final TrckExecutionId executionId) {
85+
public void setExecutionId(@Nonnull final String executionId) {
8686
this.executionId = executionId;
8787
}
8888

@@ -410,9 +410,9 @@ public interface Builder {
410410
/**
411411
* Set the executionId of this {@link TrckMetricResource} instance.
412412
*
413-
* @param executionId The executionId of this {@link TrckMetricResource}
413+
* @param executionId Generic ID
414414
* @return The TrckMetricResource instance.
415415
*/
416-
TrckMetricResource executionId(@Nonnull final TrckExecutionId executionId);
416+
TrckMetricResource executionId(@Nonnull final String executionId);
417417
}
418418
}

0 commit comments

Comments
 (0)