com.aliyun.dingtalkoauth2_1_0.models.GetAccessTokenRequest 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetAccessTokenRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("appKey")
public String appKey;
@NameInMap("appSecret")
public String appSecret;
public static GetAccessTokenRequest build(java.util.Map map) throws Exception {
GetAccessTokenRequest self = new GetAccessTokenRequest();
return TeaModel.build(map, self);
}
public GetAccessTokenRequest setAppKey(String appKey) {
this.appKey = appKey;
return this;
}
public String getAppKey() {
return this.appKey;
}
public GetAccessTokenRequest setAppSecret(String appSecret) {
this.appSecret = appSecret;
return this;
}
public String getAppSecret() {
return this.appSecret;
}
}