com.aliyun.dingtalkstorage_1_0.models.GetFileUploadInfoResponseBody 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.dingtalkstorage_1_0.models;
import com.aliyun.tea.*;
public class GetFileUploadInfoResponseBody extends TeaModel {
@NameInMap("headerSignatureInfo")
public GetFileUploadInfoResponseBodyHeaderSignatureInfo headerSignatureInfo;
/**
* example:
* HEADER_SIGNATURE
*/
@NameInMap("protocol")
public String protocol;
/**
* example:
* DINGTALK
*/
@NameInMap("storageDriver")
public String storageDriver;
/**
* example:
* upload_key
*/
@NameInMap("uploadKey")
public String uploadKey;
public static GetFileUploadInfoResponseBody build(java.util.Map map) throws Exception {
GetFileUploadInfoResponseBody self = new GetFileUploadInfoResponseBody();
return TeaModel.build(map, self);
}
public GetFileUploadInfoResponseBody setHeaderSignatureInfo(GetFileUploadInfoResponseBodyHeaderSignatureInfo headerSignatureInfo) {
this.headerSignatureInfo = headerSignatureInfo;
return this;
}
public GetFileUploadInfoResponseBodyHeaderSignatureInfo getHeaderSignatureInfo() {
return this.headerSignatureInfo;
}
public GetFileUploadInfoResponseBody setProtocol(String protocol) {
this.protocol = protocol;
return this;
}
public String getProtocol() {
return this.protocol;
}
public GetFileUploadInfoResponseBody setStorageDriver(String storageDriver) {
this.storageDriver = storageDriver;
return this;
}
public String getStorageDriver() {
return this.storageDriver;
}
public GetFileUploadInfoResponseBody setUploadKey(String uploadKey) {
this.uploadKey = uploadKey;
return this;
}
public String getUploadKey() {
return this.uploadKey;
}
public static class GetFileUploadInfoResponseBodyHeaderSignatureInfo extends TeaModel {
/**
* example:
* 900
*/
@NameInMap("expirationSeconds")
public Integer expirationSeconds;
@NameInMap("headers")
public java.util.Map headers;
@NameInMap("internalResourceUrls")
public java.util.List internalResourceUrls;
/**
* example:
* ZHANGJIAKOU
*/
@NameInMap("region")
public String region;
@NameInMap("resourceUrls")
public java.util.List resourceUrls;
public static GetFileUploadInfoResponseBodyHeaderSignatureInfo build(java.util.Map map) throws Exception {
GetFileUploadInfoResponseBodyHeaderSignatureInfo self = new GetFileUploadInfoResponseBodyHeaderSignatureInfo();
return TeaModel.build(map, self);
}
public GetFileUploadInfoResponseBodyHeaderSignatureInfo setExpirationSeconds(Integer expirationSeconds) {
this.expirationSeconds = expirationSeconds;
return this;
}
public Integer getExpirationSeconds() {
return this.expirationSeconds;
}
public GetFileUploadInfoResponseBodyHeaderSignatureInfo setHeaders(java.util.Map headers) {
this.headers = headers;
return this;
}
public java.util.Map getHeaders() {
return this.headers;
}
public GetFileUploadInfoResponseBodyHeaderSignatureInfo setInternalResourceUrls(java.util.List internalResourceUrls) {
this.internalResourceUrls = internalResourceUrls;
return this;
}
public java.util.List getInternalResourceUrls() {
return this.internalResourceUrls;
}
public GetFileUploadInfoResponseBodyHeaderSignatureInfo setRegion(String region) {
this.region = region;
return this;
}
public String getRegion() {
return this.region;
}
public GetFileUploadInfoResponseBodyHeaderSignatureInfo setResourceUrls(java.util.List resourceUrls) {
this.resourceUrls = resourceUrls;
return this;
}
public java.util.List getResourceUrls() {
return this.resourceUrls;
}
}
}