@@ -26,8 +26,8 @@ public class NluEnrichmentEntities extends GenericModel {
2626 private Boolean mentions ;
2727 @ SerializedName ("mention_types" )
2828 private Boolean mentionTypes ;
29- @ SerializedName ("sentence_location " )
30- private Boolean sentenceLocation ;
29+ @ SerializedName ("sentence_locations " )
30+ private Boolean sentenceLocations ;
3131 private String model ;
3232
3333 /**
@@ -39,7 +39,7 @@ public static class Builder {
3939 private Long limit ;
4040 private Boolean mentions ;
4141 private Boolean mentionTypes ;
42- private Boolean sentenceLocation ;
42+ private Boolean sentenceLocations ;
4343 private String model ;
4444
4545 private Builder (NluEnrichmentEntities nluEnrichmentEntities ) {
@@ -48,7 +48,7 @@ private Builder(NluEnrichmentEntities nluEnrichmentEntities) {
4848 limit = nluEnrichmentEntities .limit ;
4949 mentions = nluEnrichmentEntities .mentions ;
5050 mentionTypes = nluEnrichmentEntities .mentionTypes ;
51- sentenceLocation = nluEnrichmentEntities .sentenceLocation ;
51+ sentenceLocations = nluEnrichmentEntities .sentenceLocations ;
5252 model = nluEnrichmentEntities .model ;
5353 }
5454
@@ -123,13 +123,13 @@ public Builder mentionTypes(Boolean mentionTypes) {
123123 }
124124
125125 /**
126- * Set the sentenceLocation .
126+ * Set the sentenceLocations .
127127 *
128- * @param sentenceLocation the sentenceLocation
128+ * @param sentenceLocations the sentenceLocations
129129 * @return the NluEnrichmentEntities builder
130130 */
131- public Builder sentenceLocation (Boolean sentenceLocation ) {
132- this .sentenceLocation = sentenceLocation ;
131+ public Builder sentenceLocations (Boolean sentenceLocations ) {
132+ this .sentenceLocations = sentenceLocations ;
133133 return this ;
134134 }
135135
@@ -151,7 +151,7 @@ private NluEnrichmentEntities(Builder builder) {
151151 limit = builder .limit ;
152152 mentions = builder .mentions ;
153153 mentionTypes = builder .mentionTypes ;
154- sentenceLocation = builder .sentenceLocation ;
154+ sentenceLocations = builder .sentenceLocations ;
155155 model = builder .model ;
156156 }
157157
@@ -220,15 +220,15 @@ public Boolean mentionTypes() {
220220 }
221221
222222 /**
223- * Gets the sentenceLocation .
223+ * Gets the sentenceLocations .
224224 *
225225 * When `true`, a list of sentence locations for each instance of each identified entity is recorded. The default is
226226 * `false`.
227227 *
228- * @return the sentenceLocation
228+ * @return the sentenceLocations
229229 */
230- public Boolean sentenceLocation () {
231- return sentenceLocation ;
230+ public Boolean sentenceLocations () {
231+ return sentenceLocations ;
232232 }
233233
234234 /**
0 commit comments