com.aliyun.dingtalkdoc_2_0.models.ListPinSpacesRequest 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.dingtalkdoc_2_0.models;
import com.aliyun.tea.*;
public class ListPinSpacesRequest extends TeaModel {
@NameInMap("option")
public ListPinSpacesRequestOption option;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("operatorId")
public String operatorId;
public static ListPinSpacesRequest build(java.util.Map map) throws Exception {
ListPinSpacesRequest self = new ListPinSpacesRequest();
return TeaModel.build(map, self);
}
public ListPinSpacesRequest setOption(ListPinSpacesRequestOption option) {
this.option = option;
return this;
}
public ListPinSpacesRequestOption getOption() {
return this.option;
}
public ListPinSpacesRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public static class ListPinSpacesRequestOption extends TeaModel {
/**
* example:
* 20
*/
@NameInMap("maxResults")
public Integer maxResults;
/**
* example:
* next_token
*/
@NameInMap("nextToken")
public String nextToken;
/**
* example:
* true
*/
@NameInMap("withSpaceCreatorInfo")
public Boolean withSpaceCreatorInfo;
/**
* example:
* true
*/
@NameInMap("withSpaceModifierInfo")
public Boolean withSpaceModifierInfo;
/**
* example:
* true
*/
@NameInMap("withSpacePermissionRole")
public Boolean withSpacePermissionRole;
/**
* example:
* true
*/
@NameInMap("withTeamDetail")
public Boolean withTeamDetail;
public static ListPinSpacesRequestOption build(java.util.Map map) throws Exception {
ListPinSpacesRequestOption self = new ListPinSpacesRequestOption();
return TeaModel.build(map, self);
}
public ListPinSpacesRequestOption setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
public Integer getMaxResults() {
return this.maxResults;
}
public ListPinSpacesRequestOption setNextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
public String getNextToken() {
return this.nextToken;
}
public ListPinSpacesRequestOption setWithSpaceCreatorInfo(Boolean withSpaceCreatorInfo) {
this.withSpaceCreatorInfo = withSpaceCreatorInfo;
return this;
}
public Boolean getWithSpaceCreatorInfo() {
return this.withSpaceCreatorInfo;
}
public ListPinSpacesRequestOption setWithSpaceModifierInfo(Boolean withSpaceModifierInfo) {
this.withSpaceModifierInfo = withSpaceModifierInfo;
return this;
}
public Boolean getWithSpaceModifierInfo() {
return this.withSpaceModifierInfo;
}
public ListPinSpacesRequestOption setWithSpacePermissionRole(Boolean withSpacePermissionRole) {
this.withSpacePermissionRole = withSpacePermissionRole;
return this;
}
public Boolean getWithSpacePermissionRole() {
return this.withSpacePermissionRole;
}
public ListPinSpacesRequestOption setWithTeamDetail(Boolean withTeamDetail) {
this.withTeamDetail = withTeamDetail;
return this;
}
public Boolean getWithTeamDetail() {
return this.withTeamDetail;
}
}
}