Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: [DevOps] Update to Cloud SDK 5.15.0 #246

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@
<groupId>com.sap.cloud.sdk.datamodel</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
<!-- TODO: remove this once Cloud SDK 5.15.0 is released -->
<outputDirectory>${project.basedir}/src/main/java</outputDirectory>
<apiMaturity>released</apiMaturity>
<enableOneOfAnyOfGeneration>true</enableOneOfAnyOfGeneration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/** FileDownload400Response */
/** InlineObject */
// CHECKSTYLE:OFF
public class FileDownload400Response
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this changed, but not worth investigating as these objects are unused anyway

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird :/

these objects are unused anyway

True.

public class InlineObject
// CHECKSTYLE:ON
{
@JsonProperty("error")
Expand All @@ -35,42 +35,42 @@ public class FileDownload400Response
@JsonAnySetter @JsonAnyGetter
private final Map<String, Object> cloudSdkCustomFields = new LinkedHashMap<>();

/** Default constructor for FileDownload400Response. */
protected FileDownload400Response() {}
/** Default constructor for InlineObject. */
protected InlineObject() {}

/**
* Set the error of this {@link FileDownload400Response} instance and return the same instance.
* Set the error of this {@link InlineObject} instance and return the same instance.
*
* @param error The error of this {@link FileDownload400Response}
* @return The same instance of this {@link FileDownload400Response} class
* @param error The error of this {@link InlineObject}
* @return The same instance of this {@link InlineObject} class
*/
@Nonnull
public FileDownload400Response error(@Nullable final DSetError error) {
public InlineObject error(@Nullable final DSetError error) {
this.error = error;
return this;
}

/**
* Get error
*
* @return error The error of this {@link FileDownload400Response} instance.
* @return error The error of this {@link InlineObject} instance.
*/
@Nonnull
public DSetError getError() {
return error;
}

/**
* Set the error of this {@link FileDownload400Response} instance.
* Set the error of this {@link InlineObject} instance.
*
* @param error The error of this {@link FileDownload400Response}
* @param error The error of this {@link InlineObject}
*/
public void setError(@Nullable final DSetError error) {
this.error = error;
}

/**
* Get the names of the unrecognizable properties of the {@link FileDownload400Response}.
* Get the names of the unrecognizable properties of the {@link InlineObject}.
*
* @return The set of properties names
*/
Expand All @@ -81,7 +81,7 @@ public Set<String> getCustomFieldNames() {
}

/**
* Get the value of an unrecognizable property of this {@link FileDownload400Response} instance.
* Get the value of an unrecognizable property of this {@link InlineObject} instance.
*
* @param name The name of the property
* @return The value of the property
Expand All @@ -90,15 +90,14 @@ public Set<String> getCustomFieldNames() {
@Nullable
public Object getCustomField(@Nonnull final String name) throws NoSuchElementException {
if (!cloudSdkCustomFields.containsKey(name)) {
throw new NoSuchElementException(
"FileDownload400Response has no field with name '" + name + "'.");
throw new NoSuchElementException("InlineObject has no field with name '" + name + "'.");
}
return cloudSdkCustomFields.get(name);
}

/**
* Set an unrecognizable property of this {@link FileDownload400Response} instance. If the map
* previously contained a mapping for the key, the old value is replaced by the specified value.
* Set an unrecognizable property of this {@link InlineObject} instance. If the map previously
* contained a mapping for the key, the old value is replaced by the specified value.
*
* @param customFieldName The name of the property
* @param customFieldValue The value of the property
Expand All @@ -116,9 +115,9 @@ public boolean equals(@Nullable final java.lang.Object o) {
if (o == null || getClass() != o.getClass()) {
return false;
}
final FileDownload400Response fileDownload400Response = (FileDownload400Response) o;
return Objects.equals(this.cloudSdkCustomFields, fileDownload400Response.cloudSdkCustomFields)
&& Objects.equals(this.error, fileDownload400Response.error);
final InlineObject inlineObject = (InlineObject) o;
return Objects.equals(this.cloudSdkCustomFields, inlineObject.cloudSdkCustomFields)
&& Objects.equals(this.error, inlineObject.error);
}

@Override
Expand All @@ -130,7 +129,7 @@ public int hashCode() {
@Nonnull
public String toString() {
final StringBuilder sb = new StringBuilder();
sb.append("class FileDownload400Response {\n");
sb.append("class InlineObject {\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
cloudSdkCustomFields.forEach(
(k, v) ->
Expand All @@ -149,8 +148,8 @@ private String toIndentedString(final java.lang.Object o) {
return o.toString().replace("\n", "\n ");
}

/** Create a new {@link FileDownload400Response} instance. No arguments are required. */
public static FileDownload400Response create() {
return new FileDownload400Response();
/** Create a new {@link InlineObject} instance. No arguments are required. */
public static InlineObject create() {
return new InlineObject();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/** MetricsFind400Response */
/** InlineObject1 */
// CHECKSTYLE:OFF
public class MetricsFind400Response
public class InlineObject1
// CHECKSTYLE:ON
{
@JsonProperty("error")
Expand All @@ -35,42 +35,42 @@ public class MetricsFind400Response
@JsonAnySetter @JsonAnyGetter
private final Map<String, Object> cloudSdkCustomFields = new LinkedHashMap<>();

/** Default constructor for MetricsFind400Response. */
protected MetricsFind400Response() {}
/** Default constructor for InlineObject1. */
protected InlineObject1() {}

/**
* Set the error of this {@link MetricsFind400Response} instance and return the same instance.
* Set the error of this {@link InlineObject1} instance and return the same instance.
*
* @param error The error of this {@link MetricsFind400Response}
* @return The same instance of this {@link MetricsFind400Response} class
* @param error The error of this {@link InlineObject1}
* @return The same instance of this {@link InlineObject1} class
*/
@Nonnull
public MetricsFind400Response error(@Nullable final TrckApiError error) {
public InlineObject1 error(@Nullable final TrckApiError error) {
this.error = error;
return this;
}

/**
* Get error
*
* @return error The error of this {@link MetricsFind400Response} instance.
* @return error The error of this {@link InlineObject1} instance.
*/
@Nonnull
public TrckApiError getError() {
return error;
}

/**
* Set the error of this {@link MetricsFind400Response} instance.
* Set the error of this {@link InlineObject1} instance.
*
* @param error The error of this {@link MetricsFind400Response}
* @param error The error of this {@link InlineObject1}
*/
public void setError(@Nullable final TrckApiError error) {
this.error = error;
}

/**
* Get the names of the unrecognizable properties of the {@link MetricsFind400Response}.
* Get the names of the unrecognizable properties of the {@link InlineObject1}.
*
* @return The set of properties names
*/
Expand All @@ -81,7 +81,7 @@ public Set<String> getCustomFieldNames() {
}

/**
* Get the value of an unrecognizable property of this {@link MetricsFind400Response} instance.
* Get the value of an unrecognizable property of this {@link InlineObject1} instance.
*
* @param name The name of the property
* @return The value of the property
Expand All @@ -90,15 +90,14 @@ public Set<String> getCustomFieldNames() {
@Nullable
public Object getCustomField(@Nonnull final String name) throws NoSuchElementException {
if (!cloudSdkCustomFields.containsKey(name)) {
throw new NoSuchElementException(
"MetricsFind400Response has no field with name '" + name + "'.");
throw new NoSuchElementException("InlineObject1 has no field with name '" + name + "'.");
}
return cloudSdkCustomFields.get(name);
}

/**
* Set an unrecognizable property of this {@link MetricsFind400Response} instance. If the map
* previously contained a mapping for the key, the old value is replaced by the specified value.
* Set an unrecognizable property of this {@link InlineObject1} instance. If the map previously
* contained a mapping for the key, the old value is replaced by the specified value.
*
* @param customFieldName The name of the property
* @param customFieldValue The value of the property
Expand All @@ -116,9 +115,9 @@ public boolean equals(@Nullable final java.lang.Object o) {
if (o == null || getClass() != o.getClass()) {
return false;
}
final MetricsFind400Response metricsFind400Response = (MetricsFind400Response) o;
return Objects.equals(this.cloudSdkCustomFields, metricsFind400Response.cloudSdkCustomFields)
&& Objects.equals(this.error, metricsFind400Response.error);
final InlineObject1 inlineObject1 = (InlineObject1) o;
return Objects.equals(this.cloudSdkCustomFields, inlineObject1.cloudSdkCustomFields)
&& Objects.equals(this.error, inlineObject1.error);
}

@Override
Expand All @@ -130,7 +129,7 @@ public int hashCode() {
@Nonnull
public String toString() {
final StringBuilder sb = new StringBuilder();
sb.append("class MetricsFind400Response {\n");
sb.append("class InlineObject1 {\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
cloudSdkCustomFields.forEach(
(k, v) ->
Expand All @@ -149,8 +148,8 @@ private String toIndentedString(final java.lang.Object o) {
return o.toString().replace("\n", "\n ");
}

/** Create a new {@link MetricsFind400Response} instance. No arguments are required. */
public static MetricsFind400Response create() {
return new MetricsFind400Response();
/** Create a new {@link InlineObject1} instance. No arguments are required. */
public static InlineObject1 create() {
return new InlineObject1();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/** ArtifactQuery400Response */
/** InlineObject2 */
// CHECKSTYLE:OFF
public class ArtifactQuery400Response
public class InlineObject2
// CHECKSTYLE:ON
{
@JsonProperty("error")
Expand All @@ -35,42 +35,42 @@ public class ArtifactQuery400Response
@JsonAnySetter @JsonAnyGetter
private final Map<String, Object> cloudSdkCustomFields = new LinkedHashMap<>();

/** Default constructor for ArtifactQuery400Response. */
protected ArtifactQuery400Response() {}
/** Default constructor for InlineObject2. */
protected InlineObject2() {}

/**
* Set the error of this {@link ArtifactQuery400Response} instance and return the same instance.
* Set the error of this {@link InlineObject2} instance and return the same instance.
*
* @param error The error of this {@link ArtifactQuery400Response}
* @return The same instance of this {@link ArtifactQuery400Response} class
* @param error The error of this {@link InlineObject2}
* @return The same instance of this {@link InlineObject2} class
*/
@Nonnull
public ArtifactQuery400Response error(@Nullable final AiApiError error) {
public InlineObject2 error(@Nullable final AiApiError error) {
this.error = error;
return this;
}

/**
* Get error
*
* @return error The error of this {@link ArtifactQuery400Response} instance.
* @return error The error of this {@link InlineObject2} instance.
*/
@Nonnull
public AiApiError getError() {
return error;
}

/**
* Set the error of this {@link ArtifactQuery400Response} instance.
* Set the error of this {@link InlineObject2} instance.
*
* @param error The error of this {@link ArtifactQuery400Response}
* @param error The error of this {@link InlineObject2}
*/
public void setError(@Nullable final AiApiError error) {
this.error = error;
}

/**
* Get the names of the unrecognizable properties of the {@link ArtifactQuery400Response}.
* Get the names of the unrecognizable properties of the {@link InlineObject2}.
*
* @return The set of properties names
*/
Expand All @@ -81,7 +81,7 @@ public Set<String> getCustomFieldNames() {
}

/**
* Get the value of an unrecognizable property of this {@link ArtifactQuery400Response} instance.
* Get the value of an unrecognizable property of this {@link InlineObject2} instance.
*
* @param name The name of the property
* @return The value of the property
Expand All @@ -90,15 +90,14 @@ public Set<String> getCustomFieldNames() {
@Nullable
public Object getCustomField(@Nonnull final String name) throws NoSuchElementException {
if (!cloudSdkCustomFields.containsKey(name)) {
throw new NoSuchElementException(
"ArtifactQuery400Response has no field with name '" + name + "'.");
throw new NoSuchElementException("InlineObject2 has no field with name '" + name + "'.");
}
return cloudSdkCustomFields.get(name);
}

/**
* Set an unrecognizable property of this {@link ArtifactQuery400Response} instance. If the map
* previously contained a mapping for the key, the old value is replaced by the specified value.
* Set an unrecognizable property of this {@link InlineObject2} instance. If the map previously
* contained a mapping for the key, the old value is replaced by the specified value.
*
* @param customFieldName The name of the property
* @param customFieldValue The value of the property
Expand All @@ -116,9 +115,9 @@ public boolean equals(@Nullable final java.lang.Object o) {
if (o == null || getClass() != o.getClass()) {
return false;
}
final ArtifactQuery400Response artifactQuery400Response = (ArtifactQuery400Response) o;
return Objects.equals(this.cloudSdkCustomFields, artifactQuery400Response.cloudSdkCustomFields)
&& Objects.equals(this.error, artifactQuery400Response.error);
final InlineObject2 inlineObject2 = (InlineObject2) o;
return Objects.equals(this.cloudSdkCustomFields, inlineObject2.cloudSdkCustomFields)
&& Objects.equals(this.error, inlineObject2.error);
}

@Override
Expand All @@ -130,7 +129,7 @@ public int hashCode() {
@Nonnull
public String toString() {
final StringBuilder sb = new StringBuilder();
sb.append("class ArtifactQuery400Response {\n");
sb.append("class InlineObject2 {\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
cloudSdkCustomFields.forEach(
(k, v) ->
Expand All @@ -149,8 +148,8 @@ private String toIndentedString(final java.lang.Object o) {
return o.toString().replace("\n", "\n ");
}

/** Create a new {@link ArtifactQuery400Response} instance. No arguments are required. */
public static ArtifactQuery400Response create() {
return new ArtifactQuery400Response();
/** Create a new {@link InlineObject2} instance. No arguments are required. */
public static InlineObject2 create() {
return new InlineObject2();
}
}
Loading
Loading