com.aliyun.dingtalkdoc_2_0.models.GetUserInfoByOpenTokenRequest 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.dingtalkdoc_2_0.models;
import com.aliyun.tea.*;
public class GetUserInfoByOpenTokenRequest extends TeaModel {
// 文档docKey,标识一篇文档的key。
@NameInMap("docKey")
public String docKey;
// 文档颁发给三方应用的 OpenToken,用于三方应用在文档中的免登。
@NameInMap("openToken")
public String openToken;
public static GetUserInfoByOpenTokenRequest build(java.util.Map map) throws Exception {
GetUserInfoByOpenTokenRequest self = new GetUserInfoByOpenTokenRequest();
return TeaModel.build(map, self);
}
public GetUserInfoByOpenTokenRequest setDocKey(String docKey) {
this.docKey = docKey;
return this;
}
public String getDocKey() {
return this.docKey;
}
public GetUserInfoByOpenTokenRequest setOpenToken(String openToken) {
this.openToken = openToken;
return this;
}
public String getOpenToken() {
return this.openToken;
}
}