com.aliyun.dingtalkdoc_2_0.models.SpaceModel 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 SpaceModel extends TeaModel {
/**
* example:
*
*/
@NameInMap("cover")
public String cover;
/**
* example:
* This is some description.
*/
@NameInMap("description")
public String description;
@NameInMap("hdIconVO")
public SpaceModelHdIconVO hdIconVO;
@NameInMap("iconVO")
public SpaceModelIconVO iconVO;
/**
* This parameter is required.
*
* example:
* abc
*/
@NameInMap("id")
public String id;
/**
* This parameter is required.
*
* example:
* hello
*/
@NameInMap("name")
public String name;
@NameInMap("owner")
public SpaceModelOwner owner;
@NameInMap("recentList")
public java.util.List recentList;
/**
* example:
* 1
*/
@NameInMap("type")
public Integer type;
/**
* example:
*
*/
@NameInMap("url")
public String url;
@NameInMap("visitorInfo")
public SpaceModelVisitorInfo visitorInfo;
public static SpaceModel build(java.util.Map map) throws Exception {
SpaceModel self = new SpaceModel();
return TeaModel.build(map, self);
}
public SpaceModel setCover(String cover) {
this.cover = cover;
return this;
}
public String getCover() {
return this.cover;
}
public SpaceModel setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public SpaceModel setHdIconVO(SpaceModelHdIconVO hdIconVO) {
this.hdIconVO = hdIconVO;
return this;
}
public SpaceModelHdIconVO getHdIconVO() {
return this.hdIconVO;
}
public SpaceModel setIconVO(SpaceModelIconVO iconVO) {
this.iconVO = iconVO;
return this;
}
public SpaceModelIconVO getIconVO() {
return this.iconVO;
}
public SpaceModel setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public SpaceModel setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public SpaceModel setOwner(SpaceModelOwner owner) {
this.owner = owner;
return this;
}
public SpaceModelOwner getOwner() {
return this.owner;
}
public SpaceModel setRecentList(java.util.List recentList) {
this.recentList = recentList;
return this;
}
public java.util.List getRecentList() {
return this.recentList;
}
public SpaceModel setType(Integer type) {
this.type = type;
return this;
}
public Integer getType() {
return this.type;
}
public SpaceModel setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
public SpaceModel setVisitorInfo(SpaceModelVisitorInfo visitorInfo) {
this.visitorInfo = visitorInfo;
return this;
}
public SpaceModelVisitorInfo getVisitorInfo() {
return this.visitorInfo;
}
public static class SpaceModelHdIconVO extends TeaModel {
/**
* This parameter is required.
*
* example:
*
*/
@NameInMap("icon")
public String icon;
/**
* This parameter is required.
*
* example:
* url
*/
@NameInMap("type")
public String type;
public static SpaceModelHdIconVO build(java.util.Map map) throws Exception {
SpaceModelHdIconVO self = new SpaceModelHdIconVO();
return TeaModel.build(map, self);
}
public SpaceModelHdIconVO setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public SpaceModelHdIconVO setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
public static class SpaceModelIconVO extends TeaModel {
/**
* This parameter is required.
*
* example:
*
*/
@NameInMap("icon")
public String icon;
/**
* This parameter is required.
*
* example:
* url
*/
@NameInMap("type")
public String type;
public static SpaceModelIconVO build(java.util.Map map) throws Exception {
SpaceModelIconVO self = new SpaceModelIconVO();
return TeaModel.build(map, self);
}
public SpaceModelIconVO setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public SpaceModelIconVO setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
public static class SpaceModelOwner extends TeaModel {
/**
* This parameter is required.
*
* example:
* dingtalk
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* abcd
*/
@NameInMap("unionId")
public String unionId;
public static SpaceModelOwner build(java.util.Map map) throws Exception {
SpaceModelOwner self = new SpaceModelOwner();
return TeaModel.build(map, self);
}
public SpaceModelOwner setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public SpaceModelOwner setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}
public static class SpaceModelVisitorInfo extends TeaModel {
@NameInMap("dentryActions")
public java.util.List dentryActions;
/**
* example:
* 3
*/
@NameInMap("roleCode")
public String roleCode;
@NameInMap("spaceActions")
public java.util.List spaceActions;
public static SpaceModelVisitorInfo build(java.util.Map map) throws Exception {
SpaceModelVisitorInfo self = new SpaceModelVisitorInfo();
return TeaModel.build(map, self);
}
public SpaceModelVisitorInfo setDentryActions(java.util.List dentryActions) {
this.dentryActions = dentryActions;
return this;
}
public java.util.List getDentryActions() {
return this.dentryActions;
}
public SpaceModelVisitorInfo setRoleCode(String roleCode) {
this.roleCode = roleCode;
return this;
}
public String getRoleCode() {
return this.roleCode;
}
public SpaceModelVisitorInfo setSpaceActions(java.util.List spaceActions) {
this.spaceActions = spaceActions;
return this;
}
public java.util.List getSpaceActions() {
return this.spaceActions;
}
}
}