com.aliyun.dingtalkats_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
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkats_1_0.models;
import com.aliyun.tea.*;
public class GetFileUploadInfoResponseBody extends TeaModel {
/**
* This parameter is required.
*
* example:
* xxx
*/
@NameInMap("accessKeyId")
public String accessKeyId;
/**
* This parameter is required.
*
* example:
* xxx
*/
@NameInMap("accessKeySecret")
public String accessKeySecret;
/**
* This parameter is required.
*
* example:
* xxx
*/
@NameInMap("accessToken")
public String accessToken;
/**
* This parameter is required.
*
* example:
* 1626923829000
*/
@NameInMap("accessTokenExpirationMillis")
public Long accessTokenExpirationMillis;
/**
* This parameter is required.
*
* example:
* lippi-space-zjk
*/
@NameInMap("bucket")
public String bucket;
/**
* This parameter is required.
*
* example:
* oss-cn-zhangjiakou.aliyuncs.com
*/
@NameInMap("endPoint")
public String endPoint;
/**
* This parameter is required.
*
* example:
* xxx
*/
@NameInMap("mediaId")
public String mediaId;
public static GetFileUploadInfoResponseBody build(java.util.Map map) throws Exception {
GetFileUploadInfoResponseBody self = new GetFileUploadInfoResponseBody();
return TeaModel.build(map, self);
}
public GetFileUploadInfoResponseBody setAccessKeyId(String accessKeyId) {
this.accessKeyId = accessKeyId;
return this;
}
public String getAccessKeyId() {
return this.accessKeyId;
}
public GetFileUploadInfoResponseBody setAccessKeySecret(String accessKeySecret) {
this.accessKeySecret = accessKeySecret;
return this;
}
public String getAccessKeySecret() {
return this.accessKeySecret;
}
public GetFileUploadInfoResponseBody setAccessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
public String getAccessToken() {
return this.accessToken;
}
public GetFileUploadInfoResponseBody setAccessTokenExpirationMillis(Long accessTokenExpirationMillis) {
this.accessTokenExpirationMillis = accessTokenExpirationMillis;
return this;
}
public Long getAccessTokenExpirationMillis() {
return this.accessTokenExpirationMillis;
}
public GetFileUploadInfoResponseBody setBucket(String bucket) {
this.bucket = bucket;
return this;
}
public String getBucket() {
return this.bucket;
}
public GetFileUploadInfoResponseBody setEndPoint(String endPoint) {
this.endPoint = endPoint;
return this;
}
public String getEndPoint() {
return this.endPoint;
}
public GetFileUploadInfoResponseBody setMediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
public String getMediaId() {
return this.mediaId;
}
}