
com.aliyun.dingtalkh5package_1_0.models.GetAccessTokenResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkh5package_1_0.models;
import com.aliyun.tea.*;
public class GetAccessTokenResponseBody extends TeaModel {
/**
* example:
* STS.NUPjgnMhCVWvo1HSxfftf
*/
@NameInMap("accessKeyId")
public String accessKeyId;
/**
* example:
* ASviryNDy9tTuS5KiYMA6fCYf81vHg4KdoX7CVHz4CSx
*/
@NameInMap("accessKeySecret")
public String accessKeySecret;
/**
* example:
* dingtalk-bucket
*/
@NameInMap("bucket")
public String bucket;
/**
* example:
* oss-cn-shanghai.aliyuncs.com
*/
@NameInMap("endpoint")
public String endpoint;
/**
* example:
* 2022-09-21T09:32:16Z
*/
@NameInMap("expiration")
public String expiration;
/**
* example:
* 5000000002761167/1663751835956
*/
@NameInMap("name")
public String name;
/**
* example:
* oss-cn-shanghai
*/
@NameInMap("region")
public String region;
/**
* example:
* CAIS0QJ1q6Ft5B2yfSjIr5blId3aoLdi4ZWdbRf5t3gzavt...
*/
@NameInMap("stsToken")
public String stsToken;
public static GetAccessTokenResponseBody build(java.util.Map map) throws Exception {
GetAccessTokenResponseBody self = new GetAccessTokenResponseBody();
return TeaModel.build(map, self);
}
public GetAccessTokenResponseBody setAccessKeyId(String accessKeyId) {
this.accessKeyId = accessKeyId;
return this;
}
public String getAccessKeyId() {
return this.accessKeyId;
}
public GetAccessTokenResponseBody setAccessKeySecret(String accessKeySecret) {
this.accessKeySecret = accessKeySecret;
return this;
}
public String getAccessKeySecret() {
return this.accessKeySecret;
}
public GetAccessTokenResponseBody setBucket(String bucket) {
this.bucket = bucket;
return this;
}
public String getBucket() {
return this.bucket;
}
public GetAccessTokenResponseBody setEndpoint(String endpoint) {
this.endpoint = endpoint;
return this;
}
public String getEndpoint() {
return this.endpoint;
}
public GetAccessTokenResponseBody setExpiration(String expiration) {
this.expiration = expiration;
return this;
}
public String getExpiration() {
return this.expiration;
}
public GetAccessTokenResponseBody setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetAccessTokenResponseBody setRegion(String region) {
this.region = region;
return this;
}
public String getRegion() {
return this.region;
}
public GetAccessTokenResponseBody setStsToken(String stsToken) {
this.stsToken = stsToken;
return this;
}
public String getStsToken() {
return this.stsToken;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy