Skip to content

Commit 4ea7acc

Browse files
committed
chore(natural-language-understanding-v1): post-gen manual change
1 parent 8fd9054 commit 4ea7acc

File tree

1 file changed

+5
-1
lines changed
  • natural-language-understanding/src/main/java/com/ibm/watson/natural_language_understanding/v1/model

1 file changed

+5
-1
lines changed

natural-language-understanding/src/main/java/com/ibm/watson/natural_language_understanding/v1/model/CategoriesOptions.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class CategoriesOptions extends GenericModel {
3030
public static class Builder {
3131
private Boolean explanation;
3232
private Long limit;
33-
private String model;
33+
@Deprecated private String model;
3434

3535
private Builder(CategoriesOptions categoriesOptions) {
3636
this.explanation = categoriesOptions.explanation;
@@ -77,6 +77,8 @@ public Builder limit(long limit) {
7777
*
7878
* @param model the model
7979
* @return the CategoriesOptions builder
80+
* @deprecated the model parameter is no longer supported by the Natural Language Understanding
81+
* service and will be removed in the next major release
8082
*/
8183
public Builder model(String model) {
8284
this.model = model;
@@ -135,6 +137,8 @@ public Long limit() {
135137
* categories models will no longer be accessible in Knowledge Studio on 17 December 2019.
136138
*
137139
* @return the model
140+
* @deprecated the model parameter is no longer supported by the Natural Language Understanding
141+
* service and will be removed in the next major release
138142
*/
139143
public String model() {
140144
return model;

0 commit comments

Comments
 (0)