![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.dingtalkoauth2_1_0.models.GetUserTokenRequest 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 GetUserTokenRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("clientId")
public String clientId;
@NameInMap("clientSecret")
public String clientSecret;
@NameInMap("code")
public String code;
@NameInMap("grantType")
public String grantType;
@NameInMap("refreshToken")
public String refreshToken;
public static GetUserTokenRequest build(java.util.Map map) throws Exception {
GetUserTokenRequest self = new GetUserTokenRequest();
return TeaModel.build(map, self);
}
public GetUserTokenRequest setClientId(String clientId) {
this.clientId = clientId;
return this;
}
public String getClientId() {
return this.clientId;
}
public GetUserTokenRequest setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
return this;
}
public String getClientSecret() {
return this.clientSecret;
}
public GetUserTokenRequest setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public GetUserTokenRequest setGrantType(String grantType) {
this.grantType = grantType;
return this;
}
public String getGrantType() {
return this.grantType;
}
public GetUserTokenRequest setRefreshToken(String refreshToken) {
this.refreshToken = refreshToken;
return this;
}
public String getRefreshToken() {
return this.refreshToken;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy