com.aliyun.dingtalkwiki_2_0.models.GetWorkspacesRequest 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.dingtalkwiki_2_0.models;
import com.aliyun.tea.*;
public class GetWorkspacesRequest extends TeaModel {
@NameInMap("option")
public GetWorkspacesRequestOption option;
/**
* This parameter is required.
*/
@NameInMap("workspaceIds")
public java.util.List workspaceIds;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("operatorId")
public String operatorId;
public static GetWorkspacesRequest build(java.util.Map map) throws Exception {
GetWorkspacesRequest self = new GetWorkspacesRequest();
return TeaModel.build(map, self);
}
public GetWorkspacesRequest setOption(GetWorkspacesRequestOption option) {
this.option = option;
return this;
}
public GetWorkspacesRequestOption getOption() {
return this.option;
}
public GetWorkspacesRequest setWorkspaceIds(java.util.List workspaceIds) {
this.workspaceIds = workspaceIds;
return this;
}
public java.util.List getWorkspaceIds() {
return this.workspaceIds;
}
public GetWorkspacesRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public static class GetWorkspacesRequestOption extends TeaModel {
/**
* example:
* false
*/
@NameInMap("withPermissionRole")
public Boolean withPermissionRole;
public static GetWorkspacesRequestOption build(java.util.Map map) throws Exception {
GetWorkspacesRequestOption self = new GetWorkspacesRequestOption();
return TeaModel.build(map, self);
}
public GetWorkspacesRequestOption setWithPermissionRole(Boolean withPermissionRole) {
this.withPermissionRole = withPermissionRole;
return this;
}
public Boolean getWithPermissionRole() {
return this.withPermissionRole;
}
}
}