com.aliyun.dingtalkstorage_1_0.models.CommitFileResponseBody 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.dingtalkstorage_1_0.models;
import com.aliyun.tea.*;
public class CommitFileResponseBody extends TeaModel {
@NameInMap("dentry")
public CommitFileResponseBodyDentry dentry;
public static CommitFileResponseBody build(java.util.Map map) throws Exception {
CommitFileResponseBody self = new CommitFileResponseBody();
return TeaModel.build(map, self);
}
public CommitFileResponseBody setDentry(CommitFileResponseBodyDentry dentry) {
this.dentry = dentry;
return this;
}
public CommitFileResponseBodyDentry getDentry() {
return this.dentry;
}
public static class CommitFileResponseBodyDentryProperties extends TeaModel {
/**
* example:
* true
*/
@NameInMap("readOnly")
public Boolean readOnly;
public static CommitFileResponseBodyDentryProperties build(java.util.Map map) throws Exception {
CommitFileResponseBodyDentryProperties self = new CommitFileResponseBodyDentryProperties();
return TeaModel.build(map, self);
}
public CommitFileResponseBodyDentryProperties setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
public Boolean getReadOnly() {
return this.readOnly;
}
}
public static class CommitFileResponseBodyDentry 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 CommitFileResponseBodyDentryProperties 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;
/**
* example:
* file
*/
@NameInMap("type")
public String type;
/**
* example:
* uuid
*/
@NameInMap("uuid")
public String uuid;
/**
* example:
* 1
*/
@NameInMap("version")
public Long version;
public static CommitFileResponseBodyDentry build(java.util.Map map) throws Exception {
CommitFileResponseBodyDentry self = new CommitFileResponseBodyDentry();
return TeaModel.build(map, self);
}
public CommitFileResponseBodyDentry setAppProperties(java.util.Map> appProperties) {
this.appProperties = appProperties;
return this;
}
public java.util.Map> getAppProperties() {
return this.appProperties;
}
public CommitFileResponseBodyDentry setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public CommitFileResponseBodyDentry setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public CommitFileResponseBodyDentry setExtension(String extension) {
this.extension = extension;
return this;
}
public String getExtension() {
return this.extension;
}
public CommitFileResponseBodyDentry setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CommitFileResponseBodyDentry setModifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public String getModifiedTime() {
return this.modifiedTime;
}
public CommitFileResponseBodyDentry setModifierId(String modifierId) {
this.modifierId = modifierId;
return this;
}
public String getModifierId() {
return this.modifierId;
}
public CommitFileResponseBodyDentry setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CommitFileResponseBodyDentry setParentId(String parentId) {
this.parentId = parentId;
return this;
}
public String getParentId() {
return this.parentId;
}
public CommitFileResponseBodyDentry setPartitionType(String partitionType) {
this.partitionType = partitionType;
return this;
}
public String getPartitionType() {
return this.partitionType;
}
public CommitFileResponseBodyDentry setPath(String path) {
this.path = path;
return this;
}
public String getPath() {
return this.path;
}
public CommitFileResponseBodyDentry setProperties(CommitFileResponseBodyDentryProperties properties) {
this.properties = properties;
return this;
}
public CommitFileResponseBodyDentryProperties getProperties() {
return this.properties;
}
public CommitFileResponseBodyDentry setSize(Long size) {
this.size = size;
return this;
}
public Long getSize() {
return this.size;
}
public CommitFileResponseBodyDentry setSpaceId(String spaceId) {
this.spaceId = spaceId;
return this;
}
public String getSpaceId() {
return this.spaceId;
}
public CommitFileResponseBodyDentry setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public CommitFileResponseBodyDentry setStorageDriver(String storageDriver) {
this.storageDriver = storageDriver;
return this;
}
public String getStorageDriver() {
return this.storageDriver;
}
public CommitFileResponseBodyDentry setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public CommitFileResponseBodyDentry setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
public CommitFileResponseBodyDentry setVersion(Long version) {
this.version = version;
return this;
}
public Long getVersion() {
return this.version;
}
}
}