com.dingtalk.api.response.OapiUserAssociatedUnionidTransferResponse Maven / Gradle / Ivy
The newest version!
package com.dingtalk.api.response;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;
import com.taobao.api.TaobaoResponse;
/**
* TOP DingTalk-API: dingtalk.oapi.user.associated_unionid.transfer response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiUserAssociatedUnionidTransferResponse extends TaobaoResponse {
private static final long serialVersionUID = 6572615657686485134L;
/**
* 错误码,0为成功
*/
@ApiField("errcode")
private Long errcode;
/**
* 错误信息
*/
@ApiField("errmsg")
private String errmsg;
/**
* 用户userid结果
*/
@ApiField("result")
private UseridVo result;
public void setErrcode(Long errcode) {
this.errcode = errcode;
}
public Long getErrcode( ) {
return this.errcode;
}
public void setErrmsg(String errmsg) {
this.errmsg = errmsg;
}
public String getErrmsg( ) {
return this.errmsg;
}
public void setResult(UseridVo result) {
this.result = result;
}
public UseridVo getResult( ) {
return this.result;
}
public boolean isSuccess() {
return getErrcode() == null || getErrcode().equals(0L);
}
/**
* 用户userid结果
*
* @author top auto create
* @since 1.0, null
*/
public static class UseridVo extends TaobaoObject {
private static final long serialVersionUID = 1339867985745465969L;
/**
* 用户通讯录类型,0为内部,1为外部
*/
@ApiField("contact_type")
private Long contactType;
/**
* 用户在企业中userid
*/
@ApiField("userid")
private String userid;
public Long getContactType() {
return this.contactType;
}
public void setContactType(Long contactType) {
this.contactType = contactType;
}
public String getUserid() {
return this.userid;
}
public void setUserid(String userid) {
this.userid = userid;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy