com.aliyun.dingtalkvillage_1_0.models.GetUserByUnionIdResponseBody 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.dingtalkvillage_1_0.models;
import com.aliyun.tea.*;
public class GetUserByUnionIdResponseBody extends TeaModel {
// 联系类型,0表示企业内部员工,1表示企业外部联系人
@NameInMap("contactType")
public Integer contactType;
// 用户id
@NameInMap("userId")
public String userId;
public static GetUserByUnionIdResponseBody build(java.util.Map map) throws Exception {
GetUserByUnionIdResponseBody self = new GetUserByUnionIdResponseBody();
return TeaModel.build(map, self);
}
public GetUserByUnionIdResponseBody setContactType(Integer contactType) {
this.contactType = contactType;
return this;
}
public Integer getContactType() {
return this.contactType;
}
public GetUserByUnionIdResponseBody setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}