com.aliyun.dingtalksns_storage_1_0.models.GetFileDownloadInfoRequest 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.dingtalksns_storage_1_0.models;
import com.aliyun.tea.*;
public class GetFileDownloadInfoRequest extends TeaModel {
@NameInMap("option")
public GetFileDownloadInfoRequestOption option;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("unionId")
public String unionId;
public static GetFileDownloadInfoRequest build(java.util.Map map) throws Exception {
GetFileDownloadInfoRequest self = new GetFileDownloadInfoRequest();
return TeaModel.build(map, self);
}
public GetFileDownloadInfoRequest setOption(GetFileDownloadInfoRequestOption option) {
this.option = option;
return this;
}
public GetFileDownloadInfoRequestOption getOption() {
return this.option;
}
public GetFileDownloadInfoRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public static class GetFileDownloadInfoRequestOption extends TeaModel {
/**
* example:
* true
*/
@NameInMap("preferIntranet")
public Boolean preferIntranet;
/**
* example:
* 1
*/
@NameInMap("version")
public Long version;
public static GetFileDownloadInfoRequestOption build(java.util.Map map) throws Exception {
GetFileDownloadInfoRequestOption self = new GetFileDownloadInfoRequestOption();
return TeaModel.build(map, self);
}
public GetFileDownloadInfoRequestOption setPreferIntranet(Boolean preferIntranet) {
this.preferIntranet = preferIntranet;
return this;
}
public Boolean getPreferIntranet() {
return this.preferIntranet;
}
public GetFileDownloadInfoRequestOption setVersion(Long version) {
this.version = version;
return this;
}
public Long getVersion() {
return this.version;
}
}
}