com.aliyun.dingtalkdingmi_1_0.models.GetWebChannelUserTokenRequest 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.dingtalkdingmi_1_0.models;
import com.aliyun.tea.*;
public class GetWebChannelUserTokenRequest extends TeaModel {
// 登录用户在业务账号体系内的用户id
@NameInMap("foreignId")
public String foreignId;
// 登录用户在业务账号体系内的昵称
@NameInMap("nick")
public String nick;
// 调用方在小蜜客服平台申请的业务账号体系的id
@NameInMap("source")
public Long source;
public static GetWebChannelUserTokenRequest build(java.util.Map map) throws Exception {
GetWebChannelUserTokenRequest self = new GetWebChannelUserTokenRequest();
return TeaModel.build(map, self);
}
public GetWebChannelUserTokenRequest setForeignId(String foreignId) {
this.foreignId = foreignId;
return this;
}
public String getForeignId() {
return this.foreignId;
}
public GetWebChannelUserTokenRequest setNick(String nick) {
this.nick = nick;
return this;
}
public String getNick() {
return this.nick;
}
public GetWebChannelUserTokenRequest setSource(Long source) {
this.source = source;
return this;
}
public Long getSource() {
return this.source;
}
}