com.aliyun.dingtalkoauth2_1_0.models.GetCorpAccessTokenRequest 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 GetCorpAccessTokenRequest extends TeaModel {
// OAuth 2.0 临时授权码
@NameInMap("authCorpId")
public String authCorpId;
// 应用id
@NameInMap("suiteKey")
public String suiteKey;
// 应用密码
@NameInMap("suiteSecret")
public String suiteSecret;
// suiteTicket
@NameInMap("suiteTicket")
public String suiteTicket;
public static GetCorpAccessTokenRequest build(java.util.Map map) throws Exception {
GetCorpAccessTokenRequest self = new GetCorpAccessTokenRequest();
return TeaModel.build(map, self);
}
public GetCorpAccessTokenRequest setAuthCorpId(String authCorpId) {
this.authCorpId = authCorpId;
return this;
}
public String getAuthCorpId() {
return this.authCorpId;
}
public GetCorpAccessTokenRequest setSuiteKey(String suiteKey) {
this.suiteKey = suiteKey;
return this;
}
public String getSuiteKey() {
return this.suiteKey;
}
public GetCorpAccessTokenRequest setSuiteSecret(String suiteSecret) {
this.suiteSecret = suiteSecret;
return this;
}
public String getSuiteSecret() {
return this.suiteSecret;
}
public GetCorpAccessTokenRequest setSuiteTicket(String suiteTicket) {
this.suiteTicket = suiteTicket;
return this;
}
public String getSuiteTicket() {
return this.suiteTicket;
}
}