Skip to content

Commit

Permalink
Update core
Browse files Browse the repository at this point in the history
  • Loading branch information
newtork committed Aug 27, 2024
1 parent f411eff commit 5f19baf
Show file tree
Hide file tree
Showing 128 changed files with 753 additions and 741 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void setMessage(@Nonnull final String message) {
* @return The same instance of this {@link AiApiError} class
*/
@Nonnull
public AiApiError requestId(@Nonnull final String requestId) {
public AiApiError requestId(@Nullable final String requestId) {
this.requestId = requestId;
return this;
}
Expand All @@ -138,7 +138,7 @@ public String getRequestId() {
*
* @param requestId ID of the individual request
*/
public void setRequestId(@Nonnull final String requestId) {
public void setRequestId(@Nullable final String requestId) {
this.requestId = requestId;
}

Expand All @@ -149,7 +149,7 @@ public void setRequestId(@Nonnull final String requestId) {
* @return The same instance of this {@link AiApiError} class
*/
@Nonnull
public AiApiError target(@Nonnull final String target) {
public AiApiError target(@Nullable final String target) {
this.target = target;
return this;
}
Expand All @@ -169,7 +169,7 @@ public String getTarget() {
*
* @param target Invoked URL
*/
public void setTarget(@Nonnull final String target) {
public void setTarget(@Nullable final String target) {
this.target = target;
}

Expand All @@ -180,7 +180,7 @@ public void setTarget(@Nonnull final String target) {
* @return The same instance of this {@link AiApiError} class
*/
@Nonnull
public AiApiError details(@Nonnull final Object details) {
public AiApiError details(@Nullable final Object details) {
this.details = details;
return this;
}
Expand All @@ -200,7 +200,7 @@ public Object getDetails() {
*
* @param details Optional details of the error message
*/
public void setDetails(@Nonnull final Object details) {
public void setDetails(@Nullable final Object details) {
this.details = details;
}

Expand Down
22 changes: 11 additions & 11 deletions core/src/main/java/com/sap/ai/sdk/core/client/model/AiArtifact.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ protected AiArtifact() {}
* @return The same instance of this {@link AiArtifact} class
*/
@Nonnull
public AiArtifact labels(@Nonnull final List<AiLabel> labels) {
public AiArtifact labels(@Nullable final List<AiLabel> labels) {
this.labels = labels;
return this;
}
Expand Down Expand Up @@ -183,7 +183,7 @@ public List<AiLabel> getLabels() {
*
* @param labels Arbitrary labels as meta information
*/
public void setLabels(@Nonnull final List<AiLabel> labels) {
public void setLabels(@Nullable final List<AiLabel> labels) {
this.labels = labels;
}

Expand Down Expand Up @@ -287,7 +287,7 @@ public void setUrl(@Nonnull final String url) {
* @return The same instance of this {@link AiArtifact} class
*/
@Nonnull
public AiArtifact description(@Nonnull final String description) {
public AiArtifact description(@Nullable final String description) {
this.description = description;
return this;
}
Expand All @@ -307,7 +307,7 @@ public String getDescription() {
*
* @param description Description of the artifact
*/
public void setDescription(@Nonnull final String description) {
public void setDescription(@Nullable final String description) {
this.description = description;
}

Expand Down Expand Up @@ -380,7 +380,7 @@ public void setScenarioId(@Nonnull final String scenarioId) {
* @return The same instance of this {@link AiArtifact} class
*/
@Nonnull
public AiArtifact configurationId(@Nonnull final String configurationId) {
public AiArtifact configurationId(@Nullable final String configurationId) {
this.configurationId = configurationId;
return this;
}
Expand All @@ -400,7 +400,7 @@ public String getConfigurationId() {
*
* @param configurationId ID of the configuration
*/
public void setConfigurationId(@Nonnull final String configurationId) {
public void setConfigurationId(@Nullable final String configurationId) {
this.configurationId = configurationId;
}

Expand All @@ -411,7 +411,7 @@ public void setConfigurationId(@Nonnull final String configurationId) {
* @return The same instance of this {@link AiArtifact} class
*/
@Nonnull
public AiArtifact executionId(@Nonnull final String executionId) {
public AiArtifact executionId(@Nullable final String executionId) {
this.executionId = executionId;
return this;
}
Expand All @@ -431,7 +431,7 @@ public String getExecutionId() {
*
* @param executionId ID of the execution
*/
public void setExecutionId(@Nonnull final String executionId) {
public void setExecutionId(@Nullable final String executionId) {
this.executionId = executionId;
}

Expand Down Expand Up @@ -504,7 +504,7 @@ public void setModifiedAt(@Nonnull final OffsetDateTime modifiedAt) {
* @return The same instance of this {@link AiArtifact} class
*/
@Nonnull
public AiArtifact scenario(@Nonnull final AiScenario scenario) {
public AiArtifact scenario(@Nullable final AiScenario scenario) {
this.scenario = scenario;
return this;
}
Expand All @@ -514,7 +514,7 @@ public AiArtifact scenario(@Nonnull final AiScenario scenario) {
*
* @return scenario The scenario of this {@link AiArtifact} instance.
*/
@Nonnull
@Nullable
public AiScenario getScenario() {
return scenario;
}
Expand All @@ -524,7 +524,7 @@ public AiScenario getScenario() {
*
* @param scenario The scenario of this {@link AiArtifact}
*/
public void setScenario(@Nonnull final AiScenario scenario) {
public void setScenario(@Nullable final AiScenario scenario) {
this.scenario = scenario;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ protected AiArtifactPostData() {}
* @return The same instance of this {@link AiArtifactPostData} class
*/
@Nonnull
public AiArtifactPostData labels(@Nonnull final List<AiLabel> labels) {
public AiArtifactPostData labels(@Nullable final List<AiLabel> labels) {
this.labels = labels;
return this;
}
Expand Down Expand Up @@ -164,7 +164,7 @@ public List<AiLabel> getLabels() {
*
* @param labels Arbitrary labels as meta information
*/
public void setLabels(@Nonnull final List<AiLabel> labels) {
public void setLabels(@Nullable final List<AiLabel> labels) {
this.labels = labels;
}

Expand Down Expand Up @@ -268,7 +268,7 @@ public void setUrl(@Nonnull final String url) {
* @return The same instance of this {@link AiArtifactPostData} class
*/
@Nonnull
public AiArtifactPostData description(@Nonnull final String description) {
public AiArtifactPostData description(@Nullable final String description) {
this.description = description;
return this;
}
Expand All @@ -288,7 +288,7 @@ public String getDescription() {
*
* @param description Description of the artifact
*/
public void setDescription(@Nonnull final String description) {
public void setDescription(@Nullable final String description) {
this.description = description;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void setScenarioId(@Nonnull final String scenarioId) {
*/
@Nonnull
public AiConfiguration parameterBindings(
@Nonnull final List<AiParameterArgumentBinding> parameterBindings) {
@Nullable final List<AiParameterArgumentBinding> parameterBindings) {
this.parameterBindings = parameterBindings;
return this;
}
Expand Down Expand Up @@ -200,7 +200,7 @@ public List<AiParameterArgumentBinding> getParameterBindings() {
* @param parameterBindings The parameterBindings of this {@link AiConfiguration}
*/
public void setParameterBindings(
@Nonnull final List<AiParameterArgumentBinding> parameterBindings) {
@Nullable final List<AiParameterArgumentBinding> parameterBindings) {
this.parameterBindings = parameterBindings;
}

Expand All @@ -213,7 +213,7 @@ public void setParameterBindings(
*/
@Nonnull
public AiConfiguration inputArtifactBindings(
@Nonnull final List<AiArtifactArgumentBinding> inputArtifactBindings) {
@Nullable final List<AiArtifactArgumentBinding> inputArtifactBindings) {
this.inputArtifactBindings = inputArtifactBindings;
return this;
}
Expand Down Expand Up @@ -251,7 +251,7 @@ public List<AiArtifactArgumentBinding> getInputArtifactBindings() {
* @param inputArtifactBindings The inputArtifactBindings of this {@link AiConfiguration}
*/
public void setInputArtifactBindings(
@Nonnull final List<AiArtifactArgumentBinding> inputArtifactBindings) {
@Nullable final List<AiArtifactArgumentBinding> inputArtifactBindings) {
this.inputArtifactBindings = inputArtifactBindings;
}

Expand Down Expand Up @@ -324,7 +324,7 @@ public void setCreatedAt(@Nonnull final OffsetDateTime createdAt) {
* @return The same instance of this {@link AiConfiguration} class
*/
@Nonnull
public AiConfiguration scenario(@Nonnull final AiScenario scenario) {
public AiConfiguration scenario(@Nullable final AiScenario scenario) {
this.scenario = scenario;
return this;
}
Expand All @@ -334,7 +334,7 @@ public AiConfiguration scenario(@Nonnull final AiScenario scenario) {
*
* @return scenario The scenario of this {@link AiConfiguration} instance.
*/
@Nonnull
@Nullable
public AiScenario getScenario() {
return scenario;
}
Expand All @@ -344,7 +344,7 @@ public AiScenario getScenario() {
*
* @param scenario The scenario of this {@link AiConfiguration}
*/
public void setScenario(@Nonnull final AiScenario scenario) {
public void setScenario(@Nullable final AiScenario scenario) {
this.scenario = scenario;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public void setScenarioId(@Nonnull final String scenarioId) {
*/
@Nonnull
public AiConfigurationBaseData parameterBindings(
@Nonnull final List<AiParameterArgumentBinding> parameterBindings) {
@Nullable final List<AiParameterArgumentBinding> parameterBindings) {
this.parameterBindings = parameterBindings;
return this;
}
Expand Down Expand Up @@ -193,7 +193,7 @@ public List<AiParameterArgumentBinding> getParameterBindings() {
* @param parameterBindings The parameterBindings of this {@link AiConfigurationBaseData}
*/
public void setParameterBindings(
@Nonnull final List<AiParameterArgumentBinding> parameterBindings) {
@Nullable final List<AiParameterArgumentBinding> parameterBindings) {
this.parameterBindings = parameterBindings;
}

Expand All @@ -206,7 +206,7 @@ public void setParameterBindings(
*/
@Nonnull
public AiConfigurationBaseData inputArtifactBindings(
@Nonnull final List<AiArtifactArgumentBinding> inputArtifactBindings) {
@Nullable final List<AiArtifactArgumentBinding> inputArtifactBindings) {
this.inputArtifactBindings = inputArtifactBindings;
return this;
}
Expand Down Expand Up @@ -244,7 +244,7 @@ public List<AiArtifactArgumentBinding> getInputArtifactBindings() {
* @param inputArtifactBindings The inputArtifactBindings of this {@link AiConfigurationBaseData}
*/
public void setInputArtifactBindings(
@Nonnull final List<AiArtifactArgumentBinding> inputArtifactBindings) {
@Nullable final List<AiArtifactArgumentBinding> inputArtifactBindings) {
this.inputArtifactBindings = inputArtifactBindings;
}

Expand Down
Loading

0 comments on commit 5f19baf

Please sign in to comment.