com.aliyun.dingtalkdrive_1_0.models.GetDownloadInfoResponseBody 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.dingtalkdrive_1_0.models;
import com.aliyun.tea.*;
public class GetDownloadInfoResponseBody extends TeaModel {
// 下载加签url信息
@NameInMap("downloadInfo")
public GetDownloadInfoResponseBodyDownloadInfo downloadInfo;
// 文件所存储的区域
@NameInMap("region")
public String region;
public static GetDownloadInfoResponseBody build(java.util.Map map) throws Exception {
GetDownloadInfoResponseBody self = new GetDownloadInfoResponseBody();
return TeaModel.build(map, self);
}
public GetDownloadInfoResponseBody setDownloadInfo(GetDownloadInfoResponseBodyDownloadInfo downloadInfo) {
this.downloadInfo = downloadInfo;
return this;
}
public GetDownloadInfoResponseBodyDownloadInfo getDownloadInfo() {
return this.downloadInfo;
}
public GetDownloadInfoResponseBody setRegion(String region) {
this.region = region;
return this;
}
public String getRegion() {
return this.region;
}
public static class GetDownloadInfoResponseBodyDownloadInfo extends TeaModel {
// 加签url过期时间
@NameInMap("expirationSeconds")
public Integer expirationSeconds;
// headers
@NameInMap("headers")
public java.util.Map headers;
// 内网加签url
@NameInMap("internalResourceUrl")
public String internalResourceUrl;
// 加签url
@NameInMap("resourceUrl")
public String resourceUrl;
public static GetDownloadInfoResponseBodyDownloadInfo build(java.util.Map map) throws Exception {
GetDownloadInfoResponseBodyDownloadInfo self = new GetDownloadInfoResponseBodyDownloadInfo();
return TeaModel.build(map, self);
}
public GetDownloadInfoResponseBodyDownloadInfo setExpirationSeconds(Integer expirationSeconds) {
this.expirationSeconds = expirationSeconds;
return this;
}
public Integer getExpirationSeconds() {
return this.expirationSeconds;
}
public GetDownloadInfoResponseBodyDownloadInfo setHeaders(java.util.Map headers) {
this.headers = headers;
return this;
}
public java.util.Map getHeaders() {
return this.headers;
}
public GetDownloadInfoResponseBodyDownloadInfo setInternalResourceUrl(String internalResourceUrl) {
this.internalResourceUrl = internalResourceUrl;
return this;
}
public String getInternalResourceUrl() {
return this.internalResourceUrl;
}
public GetDownloadInfoResponseBodyDownloadInfo setResourceUrl(String resourceUrl) {
this.resourceUrl = resourceUrl;
return this;
}
public String getResourceUrl() {
return this.resourceUrl;
}
}
}