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 {
/**
* This parameter is required.
*
* example:
* 123abc
*/
@NameInMap("foreignId")
public String foreignId;
/**
* This parameter is required.
*
* example:
* 客户abc
*/
@NameInMap("nick")
public String nick;
/**
* This parameter is required.
*
* example:
* 123
*/
@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;
}
}