com.aliyun.dingtalkesign_2_0.models.GetFileUploadUrlRequest 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.dingtalkesign_2_0.models;
import com.aliyun.tea.*;
public class GetFileUploadUrlRequest extends TeaModel {
@NameInMap("contentMd5")
public String contentMd5;
@NameInMap("contentType")
public String contentType;
@NameInMap("convert2Pdf")
public Boolean convert2Pdf;
@NameInMap("fileName")
public String fileName;
@NameInMap("fileSize")
public Long fileSize;
public static GetFileUploadUrlRequest build(java.util.Map map) throws Exception {
GetFileUploadUrlRequest self = new GetFileUploadUrlRequest();
return TeaModel.build(map, self);
}
public GetFileUploadUrlRequest setContentMd5(String contentMd5) {
this.contentMd5 = contentMd5;
return this;
}
public String getContentMd5() {
return this.contentMd5;
}
public GetFileUploadUrlRequest setContentType(String contentType) {
this.contentType = contentType;
return this;
}
public String getContentType() {
return this.contentType;
}
public GetFileUploadUrlRequest setConvert2Pdf(Boolean convert2Pdf) {
this.convert2Pdf = convert2Pdf;
return this;
}
public Boolean getConvert2Pdf() {
return this.convert2Pdf;
}
public GetFileUploadUrlRequest setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
public GetFileUploadUrlRequest setFileSize(Long fileSize) {
this.fileSize = fileSize;
return this;
}
public Long getFileSize() {
return this.fileSize;
}
}