com.aliyun.dingtalksns_storage_1_0.models.GetDentriesResponseBody 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.dingtalksns_storage_1_0.models;
import com.aliyun.tea.*;
public class GetDentriesResponseBody extends TeaModel {
@NameInMap("resultItems")
public java.util.List resultItems;
public static GetDentriesResponseBody build(java.util.Map map) throws Exception {
GetDentriesResponseBody self = new GetDentriesResponseBody();
return TeaModel.build(map, self);
}
public GetDentriesResponseBody setResultItems(java.util.List resultItems) {
this.resultItems = resultItems;
return this;
}
public java.util.List getResultItems() {
return this.resultItems;
}
public static class GetDentriesResponseBodyResultItemsDentryProperties extends TeaModel {
/**
* example:
* true
*/
@NameInMap("readOnly")
public Boolean readOnly;
public static GetDentriesResponseBodyResultItemsDentryProperties build(java.util.Map map) throws Exception {
GetDentriesResponseBodyResultItemsDentryProperties self = new GetDentriesResponseBodyResultItemsDentryProperties();
return TeaModel.build(map, self);
}
public GetDentriesResponseBodyResultItemsDentryProperties setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
public Boolean getReadOnly() {
return this.readOnly;
}
}
public static class GetDentriesResponseBodyResultItemsDentryThumbnail extends TeaModel {
/**
* example:
* 64
*/
@NameInMap("height")
public Integer height;
/**
* example:
* url
*/
@NameInMap("url")
public String url;
/**
* example:
* 64
*/
@NameInMap("width")
public Integer width;
public static GetDentriesResponseBodyResultItemsDentryThumbnail build(java.util.Map map) throws Exception {
GetDentriesResponseBodyResultItemsDentryThumbnail self = new GetDentriesResponseBodyResultItemsDentryThumbnail();
return TeaModel.build(map, self);
}
public GetDentriesResponseBodyResultItemsDentryThumbnail setHeight(Integer height) {
this.height = height;
return this;
}
public Integer getHeight() {
return this.height;
}
public GetDentriesResponseBodyResultItemsDentryThumbnail setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
public GetDentriesResponseBodyResultItemsDentryThumbnail setWidth(Integer width) {
this.width = width;
return this;
}
public Integer getWidth() {
return this.width;
}
}
public static class GetDentriesResponseBodyResultItemsDentry extends TeaModel {
@NameInMap("appProperties")
public java.util.Map> appProperties;
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("createTime")
public String createTime;
/**
* example:
* creator_id
*/
@NameInMap("creatorId")
public String creatorId;
/**
* example:
* txt
*/
@NameInMap("extension")
public String extension;
/**
* example:
* dentry_id
*/
@NameInMap("id")
public String id;
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("modifiedTime")
public String modifiedTime;
/**
* example:
* modifier_id
*/
@NameInMap("modifierId")
public String modifierId;
/**
* example:
* dentry_name
*/
@NameInMap("name")
public String name;
/**
* example:
* parent_id
*/
@NameInMap("parentId")
public String parentId;
/**
* example:
* PUBLIC_OSS_PARTITION
*/
@NameInMap("partitionType")
public String partitionType;
/**
* example:
* dentry_path
*/
@NameInMap("path")
public String path;
@NameInMap("properties")
public GetDentriesResponseBodyResultItemsDentryProperties properties;
/**
* example:
* 512
*/
@NameInMap("size")
public Long size;
/**
* example:
* space_id
*/
@NameInMap("spaceId")
public String spaceId;
/**
* example:
* NORMAL
*/
@NameInMap("status")
public String status;
/**
* example:
* DINGTALK
*/
@NameInMap("storageDriver")
public String storageDriver;
@NameInMap("thumbnail")
public GetDentriesResponseBodyResultItemsDentryThumbnail thumbnail;
/**
* example:
* file
*/
@NameInMap("type")
public String type;
/**
* example:
* uuid
*/
@NameInMap("uuid")
public String uuid;
/**
* example:
* 1
*/
@NameInMap("version")
public Long version;
public static GetDentriesResponseBodyResultItemsDentry build(java.util.Map map) throws Exception {
GetDentriesResponseBodyResultItemsDentry self = new GetDentriesResponseBodyResultItemsDentry();
return TeaModel.build(map, self);
}
public GetDentriesResponseBodyResultItemsDentry setAppProperties(java.util.Map> appProperties) {
this.appProperties = appProperties;
return this;
}
public java.util.Map> getAppProperties() {
return this.appProperties;
}
public GetDentriesResponseBodyResultItemsDentry setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public GetDentriesResponseBodyResultItemsDentry setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public GetDentriesResponseBodyResultItemsDentry setExtension(String extension) {
this.extension = extension;
return this;
}
public String getExtension() {
return this.extension;
}
public GetDentriesResponseBodyResultItemsDentry setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public GetDentriesResponseBodyResultItemsDentry setModifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public String getModifiedTime() {
return this.modifiedTime;
}
public GetDentriesResponseBodyResultItemsDentry setModifierId(String modifierId) {
this.modifierId = modifierId;
return this;
}
public String getModifierId() {
return this.modifierId;
}
public GetDentriesResponseBodyResultItemsDentry setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetDentriesResponseBodyResultItemsDentry setParentId(String parentId) {
this.parentId = parentId;
return this;
}
public String getParentId() {
return this.parentId;
}
public GetDentriesResponseBodyResultItemsDentry setPartitionType(String partitionType) {
this.partitionType = partitionType;
return this;
}
public String getPartitionType() {
return this.partitionType;
}
public GetDentriesResponseBodyResultItemsDentry setPath(String path) {
this.path = path;
return this;
}
public String getPath() {
return this.path;
}
public GetDentriesResponseBodyResultItemsDentry setProperties(GetDentriesResponseBodyResultItemsDentryProperties properties) {
this.properties = properties;
return this;
}
public GetDentriesResponseBodyResultItemsDentryProperties getProperties() {
return this.properties;
}
public GetDentriesResponseBodyResultItemsDentry setSize(Long size) {
this.size = size;
return this;
}
public Long getSize() {
return this.size;
}
public GetDentriesResponseBodyResultItemsDentry setSpaceId(String spaceId) {
this.spaceId = spaceId;
return this;
}
public String getSpaceId() {
return this.spaceId;
}
public GetDentriesResponseBodyResultItemsDentry setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public GetDentriesResponseBodyResultItemsDentry setStorageDriver(String storageDriver) {
this.storageDriver = storageDriver;
return this;
}
public String getStorageDriver() {
return this.storageDriver;
}
public GetDentriesResponseBodyResultItemsDentry setThumbnail(GetDentriesResponseBodyResultItemsDentryThumbnail thumbnail) {
this.thumbnail = thumbnail;
return this;
}
public GetDentriesResponseBodyResultItemsDentryThumbnail getThumbnail() {
return this.thumbnail;
}
public GetDentriesResponseBodyResultItemsDentry setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public GetDentriesResponseBodyResultItemsDentry setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
public GetDentriesResponseBodyResultItemsDentry setVersion(Long version) {
this.version = version;
return this;
}
public Long getVersion() {
return this.version;
}
}
public static class GetDentriesResponseBodyResultItems extends TeaModel {
@NameInMap("dentry")
public GetDentriesResponseBodyResultItemsDentry dentry;
/**
* example:
* dentry_id
*/
@NameInMap("dentryId")
public String dentryId;
/**
* example:
* permissionDenied
*/
@NameInMap("errorCode")
public String errorCode;
/**
* example:
* space_id
*/
@NameInMap("spaceId")
public String spaceId;
/**
* example:
* true
*/
@NameInMap("success")
public Boolean success;
public static GetDentriesResponseBodyResultItems build(java.util.Map map) throws Exception {
GetDentriesResponseBodyResultItems self = new GetDentriesResponseBodyResultItems();
return TeaModel.build(map, self);
}
public GetDentriesResponseBodyResultItems setDentry(GetDentriesResponseBodyResultItemsDentry dentry) {
this.dentry = dentry;
return this;
}
public GetDentriesResponseBodyResultItemsDentry getDentry() {
return this.dentry;
}
public GetDentriesResponseBodyResultItems setDentryId(String dentryId) {
this.dentryId = dentryId;
return this;
}
public String getDentryId() {
return this.dentryId;
}
public GetDentriesResponseBodyResultItems setErrorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
public String getErrorCode() {
return this.errorCode;
}
public GetDentriesResponseBodyResultItems setSpaceId(String spaceId) {
this.spaceId = spaceId;
return this;
}
public String getSpaceId() {
return this.spaceId;
}
public GetDentriesResponseBodyResultItems setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
}