com.aliyun.dingtalksearch_1_0.models.GetSearchItemsByKeyWordRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalksearch_1_0.models;
import com.aliyun.tea.*;
public class GetSearchItemsByKeyWordRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 诺贝尔奖
*/
@NameInMap("keyWord")
public String keyWord;
/**
* This parameter is required.
*
* example:
* 10
*/
@NameInMap("maxResults")
public Integer maxResults;
/**
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("nextToken")
public String nextToken;
public static GetSearchItemsByKeyWordRequest build(java.util.Map map) throws Exception {
GetSearchItemsByKeyWordRequest self = new GetSearchItemsByKeyWordRequest();
return TeaModel.build(map, self);
}
public GetSearchItemsByKeyWordRequest setKeyWord(String keyWord) {
this.keyWord = keyWord;
return this;
}
public String getKeyWord() {
return this.keyWord;
}
public GetSearchItemsByKeyWordRequest setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
public Integer getMaxResults() {
return this.maxResults;
}
public GetSearchItemsByKeyWordRequest setNextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
public String getNextToken() {
return this.nextToken;
}
}