com.aliyun.dingtalkdrive_1_0.models.GetUploadInfoRequest 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.dingtalkdrive_1_0.models;
import com.aliyun.tea.*;
public class GetUploadInfoRequest extends TeaModel {
@NameInMap("addConflictPolicy")
public String addConflictPolicy;
@NameInMap("callerRegion")
public String callerRegion;
/**
* This parameter is required.
*/
@NameInMap("fileName")
public String fileName;
/**
* This parameter is required.
*/
@NameInMap("fileSize")
public Long fileSize;
/**
* This parameter is required.
*/
@NameInMap("md5")
public String md5;
@NameInMap("mediaId")
public String mediaId;
/**
* This parameter is required.
*/
@NameInMap("unionId")
public String unionId;
@NameInMap("withInternalEndPoint")
public Boolean withInternalEndPoint;
@NameInMap("withRegion")
public Boolean withRegion;
public static GetUploadInfoRequest build(java.util.Map map) throws Exception {
GetUploadInfoRequest self = new GetUploadInfoRequest();
return TeaModel.build(map, self);
}
public GetUploadInfoRequest setAddConflictPolicy(String addConflictPolicy) {
this.addConflictPolicy = addConflictPolicy;
return this;
}
public String getAddConflictPolicy() {
return this.addConflictPolicy;
}
public GetUploadInfoRequest setCallerRegion(String callerRegion) {
this.callerRegion = callerRegion;
return this;
}
public String getCallerRegion() {
return this.callerRegion;
}
public GetUploadInfoRequest setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
public GetUploadInfoRequest setFileSize(Long fileSize) {
this.fileSize = fileSize;
return this;
}
public Long getFileSize() {
return this.fileSize;
}
public GetUploadInfoRequest setMd5(String md5) {
this.md5 = md5;
return this;
}
public String getMd5() {
return this.md5;
}
public GetUploadInfoRequest setMediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
public String getMediaId() {
return this.mediaId;
}
public GetUploadInfoRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public GetUploadInfoRequest setWithInternalEndPoint(Boolean withInternalEndPoint) {
this.withInternalEndPoint = withInternalEndPoint;
return this;
}
public Boolean getWithInternalEndPoint() {
return this.withInternalEndPoint;
}
public GetUploadInfoRequest setWithRegion(Boolean withRegion) {
this.withRegion = withRegion;
return this;
}
public Boolean getWithRegion() {
return this.withRegion;
}
}