com.dingtalk.api.response.OapiRetailUserTokenCheckResponse 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.retail.user.token.check response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiRetailUserTokenCheckResponse extends TaobaoResponse {
private static final long serialVersionUID = 4768971581276755466L;
/**
* 错误码
*/
@ApiField("errcode")
private Long errcode;
/**
* 错误信息
*/
@ApiField("errmsg")
private String errmsg;
/**
* xx
*/
@ApiField("result")
private UserBindDto result;
/**
* 成功失败
*/
@ApiField("success")
private Boolean success;
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(UserBindDto result) {
this.result = result;
}
public UserBindDto getResult( ) {
return this.result;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Boolean getSuccess( ) {
return this.success;
}
public boolean isSuccess() {
return getErrcode() == null || getErrcode().equals(0L);
}
/**
* xx
*
* @author top auto create
* @since 1.0, null
*/
public static class UserBindDto extends TaobaoObject {
private static final long serialVersionUID = 5884786438575593514L;
/**
* 中心组织唯一ID
*/
@ApiField("associate_union_id")
private String associateUnionId;
/**
* 扩展字段
*/
@ApiField("extension")
private String extension;
public String getAssociateUnionId() {
return this.associateUnionId;
}
public void setAssociateUnionId(String associateUnionId) {
this.associateUnionId = associateUnionId;
}
public String getExtension() {
return this.extension;
}
public void setExtension(String extension) {
this.extension = extension;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy