Skip to content

Commit

Permalink
fix(assistant-v1): location is no longer a required parameter for Run…
Browse files Browse the repository at this point in the history
…timeEntity
  • Loading branch information
kevinkowa committed Sep 9, 2021
1 parent 4d5feac commit 4014b36
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,10 @@ public Builder() {}
* Instantiates a new builder with required properties.
*
* @param entity the entity
* @param location the location
* @param value the value
*/
public Builder(String entity, List<Long> location, String value) {
public Builder(String entity, String value) {
this.entity = entity;
this.location = location;
this.value = value;
}

Expand Down Expand Up @@ -226,7 +224,6 @@ public Builder role(RuntimeEntityRole role) {

protected RuntimeEntity(Builder builder) {
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.entity, "entity cannot be null");
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.location, "location cannot be null");
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.value, "value cannot be null");
entity = builder.entity;
location = builder.location;
Expand Down

0 comments on commit 4014b36

Please sign in to comment.