com.aliyun.dingtalkconv_file_1_0.models.SendResponseBody 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.dingtalkconv_file_1_0.models;
import com.aliyun.tea.*;
public class SendResponseBody extends TeaModel {
@NameInMap("file")
public SendResponseBodyFile file;
public static SendResponseBody build(java.util.Map map) throws Exception {
SendResponseBody self = new SendResponseBody();
return TeaModel.build(map, self);
}
public SendResponseBody setFile(SendResponseBodyFile file) {
this.file = file;
return this;
}
public SendResponseBodyFile getFile() {
return this.file;
}
public static class SendResponseBodyFile extends TeaModel {
/**
* example:
* open_conversation_id
*/
@NameInMap("conversationId")
public String conversationId;
/**
* 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:
* file_id
*/
@NameInMap("id")
public String id;
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("modifiedTime")
public String modifiedTime;
/**
* example:
* modified_id
*/
@NameInMap("modifierId")
public String modifierId;
/**
* example:
* file_name
*/
@NameInMap("name")
public String name;
/**
* example:
* parent_id
*/
@NameInMap("parentId")
public String parentId;
/**
* example:
* file_path
*/
@NameInMap("path")
public String path;
/**
* example:
* 256
*/
@NameInMap("size")
public Long size;
/**
* example:
* space_id
*/
@NameInMap("spaceId")
public String spaceId;
/**
* example:
* NORMAL
*/
@NameInMap("status")
public String status;
/**
* example:
* file
*/
@NameInMap("type")
public String type;
/**
* example:
* uuid
*/
@NameInMap("uuid")
public String uuid;
/**
* example:
* 1
*/
@NameInMap("version")
public Long version;
public static SendResponseBodyFile build(java.util.Map map) throws Exception {
SendResponseBodyFile self = new SendResponseBodyFile();
return TeaModel.build(map, self);
}
public SendResponseBodyFile setConversationId(String conversationId) {
this.conversationId = conversationId;
return this;
}
public String getConversationId() {
return this.conversationId;
}
public SendResponseBodyFile setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public SendResponseBodyFile setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public SendResponseBodyFile setExtension(String extension) {
this.extension = extension;
return this;
}
public String getExtension() {
return this.extension;
}
public SendResponseBodyFile setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public SendResponseBodyFile setModifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public String getModifiedTime() {
return this.modifiedTime;
}
public SendResponseBodyFile setModifierId(String modifierId) {
this.modifierId = modifierId;
return this;
}
public String getModifierId() {
return this.modifierId;
}
public SendResponseBodyFile setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public SendResponseBodyFile setParentId(String parentId) {
this.parentId = parentId;
return this;
}
public String getParentId() {
return this.parentId;
}
public SendResponseBodyFile setPath(String path) {
this.path = path;
return this;
}
public String getPath() {
return this.path;
}
public SendResponseBodyFile setSize(Long size) {
this.size = size;
return this;
}
public Long getSize() {
return this.size;
}
public SendResponseBodyFile setSpaceId(String spaceId) {
this.spaceId = spaceId;
return this;
}
public String getSpaceId() {
return this.spaceId;
}
public SendResponseBodyFile setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public SendResponseBodyFile setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public SendResponseBodyFile setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
public SendResponseBodyFile setVersion(Long version) {
this.version = version;
return this;
}
public Long getVersion() {
return this.version;
}
}
}