com.aliyun.dingtalkstorage_2_0.models.SearchWorkspacesRequest 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
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkstorage_2_0.models;
import com.aliyun.tea.*;
public class SearchWorkspacesRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* keyword
*/
@NameInMap("keyword")
public String keyword;
@NameInMap("option")
public SearchWorkspacesRequestOption option;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("operatorId")
public String operatorId;
public static SearchWorkspacesRequest build(java.util.Map map) throws Exception {
SearchWorkspacesRequest self = new SearchWorkspacesRequest();
return TeaModel.build(map, self);
}
public SearchWorkspacesRequest setKeyword(String keyword) {
this.keyword = keyword;
return this;
}
public String getKeyword() {
return this.keyword;
}
public SearchWorkspacesRequest setOption(SearchWorkspacesRequestOption option) {
this.option = option;
return this;
}
public SearchWorkspacesRequestOption getOption() {
return this.option;
}
public SearchWorkspacesRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public static class SearchWorkspacesRequestOption extends TeaModel {
/**
* example:
* 20
*/
@NameInMap("maxResults")
public Integer maxResults;
/**
* example:
* next_token
*/
@NameInMap("nextToken")
public String nextToken;
public static SearchWorkspacesRequestOption build(java.util.Map map) throws Exception {
SearchWorkspacesRequestOption self = new SearchWorkspacesRequestOption();
return TeaModel.build(map, self);
}
public SearchWorkspacesRequestOption setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
public Integer getMaxResults() {
return this.maxResults;
}
public SearchWorkspacesRequestOption setNextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
public String getNextToken() {
return this.nextToken;
}
}
}