com.aliyun.dingtalkoauth2_1_0.models.GetAccessTokenResponseBody 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.dingtalkoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetAccessTokenResponseBody extends TeaModel {
// accessToken
@NameInMap("accessToken")
public String accessToken;
// 超时时间
@NameInMap("expireIn")
public Long expireIn;
public static GetAccessTokenResponseBody build(java.util.Map map) throws Exception {
GetAccessTokenResponseBody self = new GetAccessTokenResponseBody();
return TeaModel.build(map, self);
}
public GetAccessTokenResponseBody setAccessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
public String getAccessToken() {
return this.accessToken;
}
public GetAccessTokenResponseBody setExpireIn(Long expireIn) {
this.expireIn = expireIn;
return this;
}
public Long getExpireIn() {
return this.expireIn;
}
}