com.aliyun.dingtalkdoc_2_0.models.DentryVO 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 DentryVO extends TeaModel {
/**
* example:
* alidoc
*/
@NameInMap("contentType")
public String contentType;
/**
* This parameter is required.
*
* example:
* 1663918630284
*/
@NameInMap("createdTime")
public Long createdTime;
@NameInMap("creator")
public DentryVOCreator creator;
/**
* This parameter is required.
*
* example:
* YRBd*****KGDA
*/
@NameInMap("dentryId")
public String dentryId;
/**
* This parameter is required.
*
* example:
* file
*/
@NameInMap("dentryType")
public String dentryType;
/**
* This parameter is required.
*
* example:
* 6or0dp8Z****XWa91xzy3
*/
@NameInMap("dentryUuid")
public String dentryUuid;
/**
* example:
* v1GXn****KqD4
*/
@NameInMap("docKey")
public String docKey;
/**
* example:
* alidoc
*/
@NameInMap("extension")
public String extension;
/**
* This parameter is required.
*
* example:
* false
*/
@NameInMap("hasChildren")
public Boolean hasChildren;
@NameInMap("linkSourceInfo")
public LinkSourceInfo linkSourceInfo;
/**
* This parameter is required.
*
* example:
* 钉钉文档
*/
@NameInMap("name")
public String name;
/**
* example:
* 测试组织/测试知识库/abc
*/
@NameInMap("path")
public String path;
@NameInMap("space")
public SpaceModel space;
/**
* This parameter is required.
*
* example:
* YGv0****0xXAr
*/
@NameInMap("spaceId")
public String spaceId;
/**
* This parameter is required.
*
* example:
* 1663918630284
*/
@NameInMap("updatedTime")
public Long updatedTime;
@NameInMap("updater")
public DentryVOUpdater updater;
/**
* example:
*
*/
@NameInMap("url")
public String url;
@NameInMap("visitorInfo")
public DentryVOVisitorInfo visitorInfo;
public static DentryVO build(java.util.Map map) throws Exception {
DentryVO self = new DentryVO();
return TeaModel.build(map, self);
}
public DentryVO setContentType(String contentType) {
this.contentType = contentType;
return this;
}
public String getContentType() {
return this.contentType;
}
public DentryVO setCreatedTime(Long createdTime) {
this.createdTime = createdTime;
return this;
}
public Long getCreatedTime() {
return this.createdTime;
}
public DentryVO setCreator(DentryVOCreator creator) {
this.creator = creator;
return this;
}
public DentryVOCreator getCreator() {
return this.creator;
}
public DentryVO setDentryId(String dentryId) {
this.dentryId = dentryId;
return this;
}
public String getDentryId() {
return this.dentryId;
}
public DentryVO setDentryType(String dentryType) {
this.dentryType = dentryType;
return this;
}
public String getDentryType() {
return this.dentryType;
}
public DentryVO setDentryUuid(String dentryUuid) {
this.dentryUuid = dentryUuid;
return this;
}
public String getDentryUuid() {
return this.dentryUuid;
}
public DentryVO setDocKey(String docKey) {
this.docKey = docKey;
return this;
}
public String getDocKey() {
return this.docKey;
}
public DentryVO setExtension(String extension) {
this.extension = extension;
return this;
}
public String getExtension() {
return this.extension;
}
public DentryVO setHasChildren(Boolean hasChildren) {
this.hasChildren = hasChildren;
return this;
}
public Boolean getHasChildren() {
return this.hasChildren;
}
public DentryVO setLinkSourceInfo(LinkSourceInfo linkSourceInfo) {
this.linkSourceInfo = linkSourceInfo;
return this;
}
public LinkSourceInfo getLinkSourceInfo() {
return this.linkSourceInfo;
}
public DentryVO setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DentryVO setPath(String path) {
this.path = path;
return this;
}
public String getPath() {
return this.path;
}
public DentryVO setSpace(SpaceModel space) {
this.space = space;
return this;
}
public SpaceModel getSpace() {
return this.space;
}
public DentryVO setSpaceId(String spaceId) {
this.spaceId = spaceId;
return this;
}
public String getSpaceId() {
return this.spaceId;
}
public DentryVO setUpdatedTime(Long updatedTime) {
this.updatedTime = updatedTime;
return this;
}
public Long getUpdatedTime() {
return this.updatedTime;
}
public DentryVO setUpdater(DentryVOUpdater updater) {
this.updater = updater;
return this;
}
public DentryVOUpdater getUpdater() {
return this.updater;
}
public DentryVO setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
public DentryVO setVisitorInfo(DentryVOVisitorInfo visitorInfo) {
this.visitorInfo = visitorInfo;
return this;
}
public DentryVOVisitorInfo getVisitorInfo() {
return this.visitorInfo;
}
public static class DentryVOCreator extends TeaModel {
/**
* This parameter is required.
*
* example:
* DingTalk
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* YEp3JcM******UIbhwiE
*/
@NameInMap("unionId")
public String unionId;
public static DentryVOCreator build(java.util.Map map) throws Exception {
DentryVOCreator self = new DentryVOCreator();
return TeaModel.build(map, self);
}
public DentryVOCreator setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DentryVOCreator setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}
public static class DentryVOUpdater extends TeaModel {
/**
* This parameter is required.
*
* example:
* DingTalk
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* YEp3JcM******UIbhwiE
*/
@NameInMap("unionId")
public String unionId;
public static DentryVOUpdater build(java.util.Map map) throws Exception {
DentryVOUpdater self = new DentryVOUpdater();
return TeaModel.build(map, self);
}
public DentryVOUpdater setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DentryVOUpdater setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}
public static class DentryVOVisitorInfo extends TeaModel {
@NameInMap("dentryActions")
public java.util.List dentryActions;
/**
* example:
* 5
*/
@NameInMap("roleCode")
public String roleCode;
@NameInMap("spaceActions")
public java.util.List spaceActions;
public static DentryVOVisitorInfo build(java.util.Map map) throws Exception {
DentryVOVisitorInfo self = new DentryVOVisitorInfo();
return TeaModel.build(map, self);
}
public DentryVOVisitorInfo setDentryActions(java.util.List dentryActions) {
this.dentryActions = dentryActions;
return this;
}
public java.util.List getDentryActions() {
return this.dentryActions;
}
public DentryVOVisitorInfo setRoleCode(String roleCode) {
this.roleCode = roleCode;
return this;
}
public String getRoleCode() {
return this.roleCode;
}
public DentryVOVisitorInfo setSpaceActions(java.util.List spaceActions) {
this.spaceActions = spaceActions;
return this;
}
public java.util.List getSpaceActions() {
return this.spaceActions;
}
}
}