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