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