@@ -30,7 +30,6 @@ public class AddCorpusOptions extends GenericModel {
3030 private InputStream corpusFile ;
3131 private String corpusFilename ;
3232 private Boolean allowOverwrite ;
33- private String corpusFileContentType ;
3433
3534 /**
3635 * Builder.
@@ -41,15 +40,13 @@ public static class Builder {
4140 private InputStream corpusFile ;
4241 private String corpusFilename ;
4342 private Boolean allowOverwrite ;
44- private String corpusFileContentType ;
4543
4644 private Builder (AddCorpusOptions addCorpusOptions ) {
4745 customizationId = addCorpusOptions .customizationId ;
4846 corpusName = addCorpusOptions .corpusName ;
4947 corpusFile = addCorpusOptions .corpusFile ;
5048 corpusFilename = addCorpusOptions .corpusFilename ;
5149 allowOverwrite = addCorpusOptions .allowOverwrite ;
52- corpusFileContentType = addCorpusOptions .corpusFileContentType ;
5350 }
5451
5552 /**
@@ -102,17 +99,6 @@ public Builder corpusName(String corpusName) {
10299 return this ;
103100 }
104101
105- /**
106- * Set the corpusFileContentType.
107- *
108- * @param corpusFileContentType the corpusFileContentType
109- * @return the AddCorpusOptions builder
110- */
111- public Builder corpusFileContentType (String corpusFileContentType ) {
112- this .corpusFileContentType = corpusFileContentType ;
113- return this ;
114- }
115-
116102 /**
117103 * Set the corpusFile.
118104 *
@@ -170,7 +156,6 @@ private AddCorpusOptions(Builder builder) {
170156 corpusFile = builder .corpusFile ;
171157 corpusFilename = builder .corpusFilename ;
172158 allowOverwrite = builder .allowOverwrite ;
173- corpusFileContentType = builder .corpusFileContentType ;
174159 }
175160
176161 /**
@@ -235,23 +220,12 @@ public String corpusFilename() {
235220 * Gets the allowOverwrite.
236221 *
237222 * If `true`, the specified corpus or audio resource overwrites an existing corpus or audio resource with the same
238- * name. If `false` (the default) , the request fails if a corpus or audio resource with the same name already exists.
239- * The parameter has no effect if a corpus or audio resource with the same name does not already exist.
223+ * name. If `false`, the request fails if a corpus or audio resource with the same name already exists. The parameter
224+ * has no effect if a corpus or audio resource with the same name does not already exist.
240225 *
241226 * @return the allowOverwrite
242227 */
243228 public Boolean allowOverwrite () {
244229 return allowOverwrite ;
245230 }
246-
247- /**
248- * Gets the corpusFileContentType.
249- *
250- * The content type of corpusFile. Values for this parameter can be obtained from the HttpMediaType class.
251- *
252- * @return the corpusFileContentType
253- */
254- public String corpusFileContentType () {
255- return corpusFileContentType ;
256- }
257231}
0 commit comments