Skip to content

Commit 82a82a3

Browse files
fix(nlu): remove ListCategoriesModelsResponse
1 parent ab0c8a2 commit 82a82a3

File tree

1 file changed

+2
-7
lines changed
  • natural-language-understanding

1 file changed

+2
-7
lines changed

natural-language-understanding/v1.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -609,9 +609,9 @@ class NaturalLanguageUnderstandingV1 extends BaseService {
609609
*
610610
* @param {Object} [params] - The parameters to send to the service.
611611
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
612-
* @returns {Promise<NaturalLanguageUnderstandingV1.Response<NaturalLanguageUnderstandingV1.ListCategoriesModelsResponse>>}
612+
* @returns {Promise<NaturalLanguageUnderstandingV1.Response<NaturalLanguageUnderstandingV1.CategoriesModelList>>}
613613
*/
614-
public listCategoriesModels(params?: NaturalLanguageUnderstandingV1.ListCategoriesModelsParams): Promise<NaturalLanguageUnderstandingV1.Response<NaturalLanguageUnderstandingV1.ListCategoriesModelsResponse>> {
614+
public listCategoriesModels(params?: NaturalLanguageUnderstandingV1.ListCategoriesModelsParams): Promise<NaturalLanguageUnderstandingV1.Response<NaturalLanguageUnderstandingV1.CategoriesModelList>> {
615615
const _params = Object.assign({}, params);
616616

617617
const query = {
@@ -1832,11 +1832,6 @@ namespace NaturalLanguageUnderstandingV1 {
18321832
sentiment?: FeatureSentimentResults;
18331833
}
18341834

1835-
/** ListCategoriesModelsResponse. */
1836-
export interface ListCategoriesModelsResponse {
1837-
models?: CategoriesModelList[];
1838-
}
1839-
18401835
/** ListClassificationsModelsResponse. */
18411836
export interface ListClassificationsModelsResponse {
18421837
models?: ClassificationsModelList[];

0 commit comments

Comments
 (0)