com.dingtalk.api.response.OapiImpaasUserAddprofileResponse 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.impaas.user.addprofile response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiImpaasUserAddprofileResponse extends TaobaoResponse {
private static final long serialVersionUID = 1274932455559194426L;
/**
* dingOpenErrcode
*/
@ApiField("errcode")
private Long errcode;
/**
* errorMsg
*/
@ApiField("errmsg")
private String errmsg;
/**
* result
*/
@ApiField("result")
private AddProfileResp result;
/**
* success
*/
@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(AddProfileResp result) {
this.result = result;
}
public AddProfileResp 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);
}
/**
* result
*
* @author top auto create
* @since 1.0, null
*/
public static class AddProfileResp extends TaobaoObject {
private static final long serialVersionUID = 4622953273713363128L;
/**
* imOpenId
*/
@ApiField("im_openid")
private String imOpenid;
public String getImOpenid() {
return this.imOpenid;
}
public void setImOpenid(String imOpenid) {
this.imOpenid = imOpenid;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy