Skip to content

Commit b183e81

Browse files
authored
Update to Cloud SDK 5.15.0 (#246)
1 parent 0d847d7 commit b183e81

File tree

7 files changed

+115
-122
lines changed

7 files changed

+115
-122
lines changed

core/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@
161161
<groupId>com.sap.cloud.sdk.datamodel</groupId>
162162
<artifactId>openapi-generator-maven-plugin</artifactId>
163163
<configuration>
164-
<skip>true</skip>
165-
<!-- TODO: remove this once Cloud SDK 5.15.0 is released -->
166164
<outputDirectory>${project.basedir}/src/main/java</outputDirectory>
167165
<apiMaturity>released</apiMaturity>
168166
<enableOneOfAnyOfGeneration>true</enableOneOfAnyOfGeneration>

core/src/main/java/com/sap/ai/sdk/core/model/FileDownload400Response.java renamed to core/src/main/java/com/sap/ai/sdk/core/model/InlineObject.java

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
import javax.annotation.Nonnull;
2525
import javax.annotation.Nullable;
2626

27-
/** FileDownload400Response */
27+
/** InlineObject */
2828
// CHECKSTYLE:OFF
29-
public class FileDownload400Response
29+
public class InlineObject
3030
// CHECKSTYLE:ON
3131
{
3232
@JsonProperty("error")
@@ -35,42 +35,42 @@ public class FileDownload400Response
3535
@JsonAnySetter @JsonAnyGetter
3636
private final Map<String, Object> cloudSdkCustomFields = new LinkedHashMap<>();
3737

38-
/** Default constructor for FileDownload400Response. */
39-
protected FileDownload400Response() {}
38+
/** Default constructor for InlineObject. */
39+
protected InlineObject() {}
4040

4141
/**
42-
* Set the error of this {@link FileDownload400Response} instance and return the same instance.
42+
* Set the error of this {@link InlineObject} instance and return the same instance.
4343
*
44-
* @param error The error of this {@link FileDownload400Response}
45-
* @return The same instance of this {@link FileDownload400Response} class
44+
* @param error The error of this {@link InlineObject}
45+
* @return The same instance of this {@link InlineObject} class
4646
*/
4747
@Nonnull
48-
public FileDownload400Response error(@Nullable final DSetError error) {
48+
public InlineObject error(@Nullable final DSetError error) {
4949
this.error = error;
5050
return this;
5151
}
5252

5353
/**
5454
* Get error
5555
*
56-
* @return error The error of this {@link FileDownload400Response} instance.
56+
* @return error The error of this {@link InlineObject} instance.
5757
*/
5858
@Nonnull
5959
public DSetError getError() {
6060
return error;
6161
}
6262

6363
/**
64-
* Set the error of this {@link FileDownload400Response} instance.
64+
* Set the error of this {@link InlineObject} instance.
6565
*
66-
* @param error The error of this {@link FileDownload400Response}
66+
* @param error The error of this {@link InlineObject}
6767
*/
6868
public void setError(@Nullable final DSetError error) {
6969
this.error = error;
7070
}
7171

7272
/**
73-
* Get the names of the unrecognizable properties of the {@link FileDownload400Response}.
73+
* Get the names of the unrecognizable properties of the {@link InlineObject}.
7474
*
7575
* @return The set of properties names
7676
*/
@@ -81,7 +81,7 @@ public Set<String> getCustomFieldNames() {
8181
}
8282

8383
/**
84-
* Get the value of an unrecognizable property of this {@link FileDownload400Response} instance.
84+
* Get the value of an unrecognizable property of this {@link InlineObject} instance.
8585
*
8686
* @param name The name of the property
8787
* @return The value of the property
@@ -90,15 +90,14 @@ public Set<String> getCustomFieldNames() {
9090
@Nullable
9191
public Object getCustomField(@Nonnull final String name) throws NoSuchElementException {
9292
if (!cloudSdkCustomFields.containsKey(name)) {
93-
throw new NoSuchElementException(
94-
"FileDownload400Response has no field with name '" + name + "'.");
93+
throw new NoSuchElementException("InlineObject has no field with name '" + name + "'.");
9594
}
9695
return cloudSdkCustomFields.get(name);
9796
}
9897

9998
/**
100-
* Set an unrecognizable property of this {@link FileDownload400Response} instance. If the map
101-
* previously contained a mapping for the key, the old value is replaced by the specified value.
99+
* Set an unrecognizable property of this {@link InlineObject} instance. If the map previously
100+
* contained a mapping for the key, the old value is replaced by the specified value.
102101
*
103102
* @param customFieldName The name of the property
104103
* @param customFieldValue The value of the property
@@ -116,9 +115,9 @@ public boolean equals(@Nullable final java.lang.Object o) {
116115
if (o == null || getClass() != o.getClass()) {
117116
return false;
118117
}
119-
final FileDownload400Response fileDownload400Response = (FileDownload400Response) o;
120-
return Objects.equals(this.cloudSdkCustomFields, fileDownload400Response.cloudSdkCustomFields)
121-
&& Objects.equals(this.error, fileDownload400Response.error);
118+
final InlineObject inlineObject = (InlineObject) o;
119+
return Objects.equals(this.cloudSdkCustomFields, inlineObject.cloudSdkCustomFields)
120+
&& Objects.equals(this.error, inlineObject.error);
122121
}
123122

124123
@Override
@@ -130,7 +129,7 @@ public int hashCode() {
130129
@Nonnull
131130
public String toString() {
132131
final StringBuilder sb = new StringBuilder();
133-
sb.append("class FileDownload400Response {\n");
132+
sb.append("class InlineObject {\n");
134133
sb.append(" error: ").append(toIndentedString(error)).append("\n");
135134
cloudSdkCustomFields.forEach(
136135
(k, v) ->
@@ -149,8 +148,8 @@ private String toIndentedString(final java.lang.Object o) {
149148
return o.toString().replace("\n", "\n ");
150149
}
151150

152-
/** Create a new {@link FileDownload400Response} instance. No arguments are required. */
153-
public static FileDownload400Response create() {
154-
return new FileDownload400Response();
151+
/** Create a new {@link InlineObject} instance. No arguments are required. */
152+
public static InlineObject create() {
153+
return new InlineObject();
155154
}
156155
}

core/src/main/java/com/sap/ai/sdk/core/model/MetricsFind400Response.java renamed to core/src/main/java/com/sap/ai/sdk/core/model/InlineObject1.java

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
import javax.annotation.Nonnull;
2525
import javax.annotation.Nullable;
2626

27-
/** MetricsFind400Response */
27+
/** InlineObject1 */
2828
// CHECKSTYLE:OFF
29-
public class MetricsFind400Response
29+
public class InlineObject1
3030
// CHECKSTYLE:ON
3131
{
3232
@JsonProperty("error")
@@ -35,42 +35,42 @@ public class MetricsFind400Response
3535
@JsonAnySetter @JsonAnyGetter
3636
private final Map<String, Object> cloudSdkCustomFields = new LinkedHashMap<>();
3737

38-
/** Default constructor for MetricsFind400Response. */
39-
protected MetricsFind400Response() {}
38+
/** Default constructor for InlineObject1. */
39+
protected InlineObject1() {}
4040

4141
/**
42-
* Set the error of this {@link MetricsFind400Response} instance and return the same instance.
42+
* Set the error of this {@link InlineObject1} instance and return the same instance.
4343
*
44-
* @param error The error of this {@link MetricsFind400Response}
45-
* @return The same instance of this {@link MetricsFind400Response} class
44+
* @param error The error of this {@link InlineObject1}
45+
* @return The same instance of this {@link InlineObject1} class
4646
*/
4747
@Nonnull
48-
public MetricsFind400Response error(@Nullable final TrckApiError error) {
48+
public InlineObject1 error(@Nullable final TrckApiError error) {
4949
this.error = error;
5050
return this;
5151
}
5252

5353
/**
5454
* Get error
5555
*
56-
* @return error The error of this {@link MetricsFind400Response} instance.
56+
* @return error The error of this {@link InlineObject1} instance.
5757
*/
5858
@Nonnull
5959
public TrckApiError getError() {
6060
return error;
6161
}
6262

6363
/**
64-
* Set the error of this {@link MetricsFind400Response} instance.
64+
* Set the error of this {@link InlineObject1} instance.
6565
*
66-
* @param error The error of this {@link MetricsFind400Response}
66+
* @param error The error of this {@link InlineObject1}
6767
*/
6868
public void setError(@Nullable final TrckApiError error) {
6969
this.error = error;
7070
}
7171

7272
/**
73-
* Get the names of the unrecognizable properties of the {@link MetricsFind400Response}.
73+
* Get the names of the unrecognizable properties of the {@link InlineObject1}.
7474
*
7575
* @return The set of properties names
7676
*/
@@ -81,7 +81,7 @@ public Set<String> getCustomFieldNames() {
8181
}
8282

8383
/**
84-
* Get the value of an unrecognizable property of this {@link MetricsFind400Response} instance.
84+
* Get the value of an unrecognizable property of this {@link InlineObject1} instance.
8585
*
8686
* @param name The name of the property
8787
* @return The value of the property
@@ -90,15 +90,14 @@ public Set<String> getCustomFieldNames() {
9090
@Nullable
9191
public Object getCustomField(@Nonnull final String name) throws NoSuchElementException {
9292
if (!cloudSdkCustomFields.containsKey(name)) {
93-
throw new NoSuchElementException(
94-
"MetricsFind400Response has no field with name '" + name + "'.");
93+
throw new NoSuchElementException("InlineObject1 has no field with name '" + name + "'.");
9594
}
9695
return cloudSdkCustomFields.get(name);
9796
}
9897

9998
/**
100-
* Set an unrecognizable property of this {@link MetricsFind400Response} instance. If the map
101-
* previously contained a mapping for the key, the old value is replaced by the specified value.
99+
* Set an unrecognizable property of this {@link InlineObject1} instance. If the map previously
100+
* contained a mapping for the key, the old value is replaced by the specified value.
102101
*
103102
* @param customFieldName The name of the property
104103
* @param customFieldValue The value of the property
@@ -116,9 +115,9 @@ public boolean equals(@Nullable final java.lang.Object o) {
116115
if (o == null || getClass() != o.getClass()) {
117116
return false;
118117
}
119-
final MetricsFind400Response metricsFind400Response = (MetricsFind400Response) o;
120-
return Objects.equals(this.cloudSdkCustomFields, metricsFind400Response.cloudSdkCustomFields)
121-
&& Objects.equals(this.error, metricsFind400Response.error);
118+
final InlineObject1 inlineObject1 = (InlineObject1) o;
119+
return Objects.equals(this.cloudSdkCustomFields, inlineObject1.cloudSdkCustomFields)
120+
&& Objects.equals(this.error, inlineObject1.error);
122121
}
123122

124123
@Override
@@ -130,7 +129,7 @@ public int hashCode() {
130129
@Nonnull
131130
public String toString() {
132131
final StringBuilder sb = new StringBuilder();
133-
sb.append("class MetricsFind400Response {\n");
132+
sb.append("class InlineObject1 {\n");
134133
sb.append(" error: ").append(toIndentedString(error)).append("\n");
135134
cloudSdkCustomFields.forEach(
136135
(k, v) ->
@@ -149,8 +148,8 @@ private String toIndentedString(final java.lang.Object o) {
149148
return o.toString().replace("\n", "\n ");
150149
}
151150

152-
/** Create a new {@link MetricsFind400Response} instance. No arguments are required. */
153-
public static MetricsFind400Response create() {
154-
return new MetricsFind400Response();
151+
/** Create a new {@link InlineObject1} instance. No arguments are required. */
152+
public static InlineObject1 create() {
153+
return new InlineObject1();
155154
}
156155
}

core/src/main/java/com/sap/ai/sdk/core/model/ArtifactQuery400Response.java renamed to core/src/main/java/com/sap/ai/sdk/core/model/InlineObject2.java

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
import javax.annotation.Nonnull;
2525
import javax.annotation.Nullable;
2626

27-
/** ArtifactQuery400Response */
27+
/** InlineObject2 */
2828
// CHECKSTYLE:OFF
29-
public class ArtifactQuery400Response
29+
public class InlineObject2
3030
// CHECKSTYLE:ON
3131
{
3232
@JsonProperty("error")
@@ -35,42 +35,42 @@ public class ArtifactQuery400Response
3535
@JsonAnySetter @JsonAnyGetter
3636
private final Map<String, Object> cloudSdkCustomFields = new LinkedHashMap<>();
3737

38-
/** Default constructor for ArtifactQuery400Response. */
39-
protected ArtifactQuery400Response() {}
38+
/** Default constructor for InlineObject2. */
39+
protected InlineObject2() {}
4040

4141
/**
42-
* Set the error of this {@link ArtifactQuery400Response} instance and return the same instance.
42+
* Set the error of this {@link InlineObject2} instance and return the same instance.
4343
*
44-
* @param error The error of this {@link ArtifactQuery400Response}
45-
* @return The same instance of this {@link ArtifactQuery400Response} class
44+
* @param error The error of this {@link InlineObject2}
45+
* @return The same instance of this {@link InlineObject2} class
4646
*/
4747
@Nonnull
48-
public ArtifactQuery400Response error(@Nullable final AiApiError error) {
48+
public InlineObject2 error(@Nullable final AiApiError error) {
4949
this.error = error;
5050
return this;
5151
}
5252

5353
/**
5454
* Get error
5555
*
56-
* @return error The error of this {@link ArtifactQuery400Response} instance.
56+
* @return error The error of this {@link InlineObject2} instance.
5757
*/
5858
@Nonnull
5959
public AiApiError getError() {
6060
return error;
6161
}
6262

6363
/**
64-
* Set the error of this {@link ArtifactQuery400Response} instance.
64+
* Set the error of this {@link InlineObject2} instance.
6565
*
66-
* @param error The error of this {@link ArtifactQuery400Response}
66+
* @param error The error of this {@link InlineObject2}
6767
*/
6868
public void setError(@Nullable final AiApiError error) {
6969
this.error = error;
7070
}
7171

7272
/**
73-
* Get the names of the unrecognizable properties of the {@link ArtifactQuery400Response}.
73+
* Get the names of the unrecognizable properties of the {@link InlineObject2}.
7474
*
7575
* @return The set of properties names
7676
*/
@@ -81,7 +81,7 @@ public Set<String> getCustomFieldNames() {
8181
}
8282

8383
/**
84-
* Get the value of an unrecognizable property of this {@link ArtifactQuery400Response} instance.
84+
* Get the value of an unrecognizable property of this {@link InlineObject2} instance.
8585
*
8686
* @param name The name of the property
8787
* @return The value of the property
@@ -90,15 +90,14 @@ public Set<String> getCustomFieldNames() {
9090
@Nullable
9191
public Object getCustomField(@Nonnull final String name) throws NoSuchElementException {
9292
if (!cloudSdkCustomFields.containsKey(name)) {
93-
throw new NoSuchElementException(
94-
"ArtifactQuery400Response has no field with name '" + name + "'.");
93+
throw new NoSuchElementException("InlineObject2 has no field with name '" + name + "'.");
9594
}
9695
return cloudSdkCustomFields.get(name);
9796
}
9897

9998
/**
100-
* Set an unrecognizable property of this {@link ArtifactQuery400Response} instance. If the map
101-
* previously contained a mapping for the key, the old value is replaced by the specified value.
99+
* Set an unrecognizable property of this {@link InlineObject2} instance. If the map previously
100+
* contained a mapping for the key, the old value is replaced by the specified value.
102101
*
103102
* @param customFieldName The name of the property
104103
* @param customFieldValue The value of the property
@@ -116,9 +115,9 @@ public boolean equals(@Nullable final java.lang.Object o) {
116115
if (o == null || getClass() != o.getClass()) {
117116
return false;
118117
}
119-
final ArtifactQuery400Response artifactQuery400Response = (ArtifactQuery400Response) o;
120-
return Objects.equals(this.cloudSdkCustomFields, artifactQuery400Response.cloudSdkCustomFields)
121-
&& Objects.equals(this.error, artifactQuery400Response.error);
118+
final InlineObject2 inlineObject2 = (InlineObject2) o;
119+
return Objects.equals(this.cloudSdkCustomFields, inlineObject2.cloudSdkCustomFields)
120+
&& Objects.equals(this.error, inlineObject2.error);
122121
}
123122

124123
@Override
@@ -130,7 +129,7 @@ public int hashCode() {
130129
@Nonnull
131130
public String toString() {
132131
final StringBuilder sb = new StringBuilder();
133-
sb.append("class ArtifactQuery400Response {\n");
132+
sb.append("class InlineObject2 {\n");
134133
sb.append(" error: ").append(toIndentedString(error)).append("\n");
135134
cloudSdkCustomFields.forEach(
136135
(k, v) ->
@@ -149,8 +148,8 @@ private String toIndentedString(final java.lang.Object o) {
149148
return o.toString().replace("\n", "\n ");
150149
}
151150

152-
/** Create a new {@link ArtifactQuery400Response} instance. No arguments are required. */
153-
public static ArtifactQuery400Response create() {
154-
return new ArtifactQuery400Response();
151+
/** Create a new {@link InlineObject2} instance. No arguments are required. */
152+
public static InlineObject2 create() {
153+
return new InlineObject2();
155154
}
156155
}

0 commit comments

Comments
 (0)