Skip to content

Commit 4014b36

Browse files
committed
fix(assistant-v1): location is no longer a required parameter for RuntimeEntity
1 parent 4d5feac commit 4014b36

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

assistant/src/main/java/com/ibm/watson/assistant/v1/model/RuntimeEntity.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,10 @@ public Builder() {}
6161
* Instantiates a new builder with required properties.
6262
*
6363
* @param entity the entity
64-
* @param location the location
6564
* @param value the value
6665
*/
67-
public Builder(String entity, List<Long> location, String value) {
66+
public Builder(String entity, String value) {
6867
this.entity = entity;
69-
this.location = location;
7068
this.value = value;
7169
}
7270

@@ -226,7 +224,6 @@ public Builder role(RuntimeEntityRole role) {
226224

227225
protected RuntimeEntity(Builder builder) {
228226
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.entity, "entity cannot be null");
229-
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.location, "location cannot be null");
230227
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.value, "value cannot be null");
231228
entity = builder.entity;
232229
location = builder.location;

0 commit comments

Comments
 (0)