com.aliyun.dingtalkdoc_2_0.models.ListPinSpacesResponseBody 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.dingtalkdoc_2_0.models;
import com.aliyun.tea.*;
public class ListPinSpacesResponseBody extends TeaModel {
/**
* example:
* next_token
*/
@NameInMap("nextToken")
public String nextToken;
@NameInMap("resultItems")
public java.util.List resultItems;
public static ListPinSpacesResponseBody build(java.util.Map map) throws Exception {
ListPinSpacesResponseBody self = new ListPinSpacesResponseBody();
return TeaModel.build(map, self);
}
public ListPinSpacesResponseBody setNextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
public String getNextToken() {
return this.nextToken;
}
public ListPinSpacesResponseBody setResultItems(java.util.List resultItems) {
this.resultItems = resultItems;
return this;
}
public java.util.List getResultItems() {
return this.resultItems;
}
public static class ListPinSpacesResponseBodyResultItemsSpaceInfoCreator extends TeaModel {
/**
* example:
* user_name
*/
@NameInMap("name")
public String name;
/**
* example:
* union_id
*/
@NameInMap("userId")
public String userId;
public static ListPinSpacesResponseBodyResultItemsSpaceInfoCreator build(java.util.Map map) throws Exception {
ListPinSpacesResponseBodyResultItemsSpaceInfoCreator self = new ListPinSpacesResponseBodyResultItemsSpaceInfoCreator();
return TeaModel.build(map, self);
}
public ListPinSpacesResponseBodyResultItemsSpaceInfoCreator setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfoCreator setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class ListPinSpacesResponseBodyResultItemsSpaceInfoIconVO extends TeaModel {
/**
* example:
* icon_url
*/
@NameInMap("icon")
public String icon;
/**
* example:
* URL
*/
@NameInMap("type")
public String type;
public static ListPinSpacesResponseBodyResultItemsSpaceInfoIconVO build(java.util.Map map) throws Exception {
ListPinSpacesResponseBodyResultItemsSpaceInfoIconVO self = new ListPinSpacesResponseBodyResultItemsSpaceInfoIconVO();
return TeaModel.build(map, self);
}
public ListPinSpacesResponseBodyResultItemsSpaceInfoIconVO setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfoIconVO setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
public static class ListPinSpacesResponseBodyResultItemsSpaceInfoModifier extends TeaModel {
/**
* example:
* user_name
*/
@NameInMap("name")
public String name;
/**
* example:
* union_id
*/
@NameInMap("userId")
public String userId;
public static ListPinSpacesResponseBodyResultItemsSpaceInfoModifier build(java.util.Map map) throws Exception {
ListPinSpacesResponseBodyResultItemsSpaceInfoModifier self = new ListPinSpacesResponseBodyResultItemsSpaceInfoModifier();
return TeaModel.build(map, self);
}
public ListPinSpacesResponseBodyResultItemsSpaceInfoModifier setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfoModifier setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class ListPinSpacesResponseBodyResultItemsSpaceInfo extends TeaModel {
/**
* example:
* space_cover
*/
@NameInMap("cover")
public String cover;
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("createTime")
public String createTime;
@NameInMap("creator")
public ListPinSpacesResponseBodyResultItemsSpaceInfoCreator creator;
/**
* example:
* description
*/
@NameInMap("description")
public String description;
@NameInMap("iconVO")
public ListPinSpacesResponseBodyResultItemsSpaceInfoIconVO iconVO;
/**
* example:
* space_id
*/
@NameInMap("id")
public String id;
/**
* example:
* mobile_url
*/
@NameInMap("mobileUrl")
public String mobileUrl;
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("modifiedTime")
public String modifiedTime;
@NameInMap("modifier")
public ListPinSpacesResponseBodyResultItemsSpaceInfoModifier modifier;
/**
* example:
* space_name
*/
@NameInMap("name")
public String name;
/**
* example:
* pc_url
*/
@NameInMap("pcUrl")
public String pcUrl;
public static ListPinSpacesResponseBodyResultItemsSpaceInfo build(java.util.Map map) throws Exception {
ListPinSpacesResponseBodyResultItemsSpaceInfo self = new ListPinSpacesResponseBodyResultItemsSpaceInfo();
return TeaModel.build(map, self);
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo setCover(String cover) {
this.cover = cover;
return this;
}
public String getCover() {
return this.cover;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo setCreator(ListPinSpacesResponseBodyResultItemsSpaceInfoCreator creator) {
this.creator = creator;
return this;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfoCreator getCreator() {
return this.creator;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo setIconVO(ListPinSpacesResponseBodyResultItemsSpaceInfoIconVO iconVO) {
this.iconVO = iconVO;
return this;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfoIconVO getIconVO() {
return this.iconVO;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo setMobileUrl(String mobileUrl) {
this.mobileUrl = mobileUrl;
return this;
}
public String getMobileUrl() {
return this.mobileUrl;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo setModifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public String getModifiedTime() {
return this.modifiedTime;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo setModifier(ListPinSpacesResponseBodyResultItemsSpaceInfoModifier modifier) {
this.modifier = modifier;
return this;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfoModifier getModifier() {
return this.modifier;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo setPcUrl(String pcUrl) {
this.pcUrl = pcUrl;
return this;
}
public String getPcUrl() {
return this.pcUrl;
}
}
public static class ListPinSpacesResponseBodyResultItemsTeamInfo extends TeaModel {
/**
* example:
* team_id
*/
@NameInMap("id")
public String id;
/**
* example:
* team_name
*/
@NameInMap("name")
public String name;
public static ListPinSpacesResponseBodyResultItemsTeamInfo build(java.util.Map map) throws Exception {
ListPinSpacesResponseBodyResultItemsTeamInfo self = new ListPinSpacesResponseBodyResultItemsTeamInfo();
return TeaModel.build(map, self);
}
public ListPinSpacesResponseBodyResultItemsTeamInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public ListPinSpacesResponseBodyResultItemsTeamInfo setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
public static class ListPinSpacesResponseBodyResultItems extends TeaModel {
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("createTime")
public String createTime;
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("modifiedTime")
public String modifiedTime;
@NameInMap("spaceInfo")
public ListPinSpacesResponseBodyResultItemsSpaceInfo spaceInfo;
/**
* example:
* NO_PERMISSION
*/
@NameInMap("spacePermissionRole")
public String spacePermissionRole;
@NameInMap("teamInfo")
public ListPinSpacesResponseBodyResultItemsTeamInfo teamInfo;
public static ListPinSpacesResponseBodyResultItems build(java.util.Map map) throws Exception {
ListPinSpacesResponseBodyResultItems self = new ListPinSpacesResponseBodyResultItems();
return TeaModel.build(map, self);
}
public ListPinSpacesResponseBodyResultItems setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public ListPinSpacesResponseBodyResultItems setModifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public String getModifiedTime() {
return this.modifiedTime;
}
public ListPinSpacesResponseBodyResultItems setSpaceInfo(ListPinSpacesResponseBodyResultItemsSpaceInfo spaceInfo) {
this.spaceInfo = spaceInfo;
return this;
}
public ListPinSpacesResponseBodyResultItemsSpaceInfo getSpaceInfo() {
return this.spaceInfo;
}
public ListPinSpacesResponseBodyResultItems setSpacePermissionRole(String spacePermissionRole) {
this.spacePermissionRole = spacePermissionRole;
return this;
}
public String getSpacePermissionRole() {
return this.spacePermissionRole;
}
public ListPinSpacesResponseBodyResultItems setTeamInfo(ListPinSpacesResponseBodyResultItemsTeamInfo teamInfo) {
this.teamInfo = teamInfo;
return this;
}
public ListPinSpacesResponseBodyResultItemsTeamInfo getTeamInfo() {
return this.teamInfo;
}
}
}