com.aliyun.dingtalkstorage_1_0.models.GetMultipartFileUploadInfosRequest 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 GetMultipartFileUploadInfosRequest extends TeaModel {
@NameInMap("option")
public GetMultipartFileUploadInfosRequestOption option;
/**
* This parameter is required.
*/
@NameInMap("partNumbers")
public java.util.List partNumbers;
/**
* This parameter is required.
*
* example:
* upload_key
*/
@NameInMap("uploadKey")
public String uploadKey;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("unionId")
public String unionId;
public static GetMultipartFileUploadInfosRequest build(java.util.Map map) throws Exception {
GetMultipartFileUploadInfosRequest self = new GetMultipartFileUploadInfosRequest();
return TeaModel.build(map, self);
}
public GetMultipartFileUploadInfosRequest setOption(GetMultipartFileUploadInfosRequestOption option) {
this.option = option;
return this;
}
public GetMultipartFileUploadInfosRequestOption getOption() {
return this.option;
}
public GetMultipartFileUploadInfosRequest setPartNumbers(java.util.List partNumbers) {
this.partNumbers = partNumbers;
return this;
}
public java.util.List getPartNumbers() {
return this.partNumbers;
}
public GetMultipartFileUploadInfosRequest setUploadKey(String uploadKey) {
this.uploadKey = uploadKey;
return this;
}
public String getUploadKey() {
return this.uploadKey;
}
public GetMultipartFileUploadInfosRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public static class GetMultipartFileUploadInfosRequestOption extends TeaModel {
/**
* example:
* true
*/
@NameInMap("preferIntranet")
public Boolean preferIntranet;
public static GetMultipartFileUploadInfosRequestOption build(java.util.Map map) throws Exception {
GetMultipartFileUploadInfosRequestOption self = new GetMultipartFileUploadInfosRequestOption();
return TeaModel.build(map, self);
}
public GetMultipartFileUploadInfosRequestOption setPreferIntranet(Boolean preferIntranet) {
this.preferIntranet = preferIntranet;
return this;
}
public Boolean getPreferIntranet() {
return this.preferIntranet;
}
}
}