com.dingtalk.api.response.OapiWorkspaceProjectNoticeSendResponse Maven / Gradle / Ivy
The newest version!
package com.dingtalk.api.response;
import java.util.List;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import com.taobao.api.TaobaoObject;
import com.taobao.api.TaobaoResponse;
/**
* TOP DingTalk-API: dingtalk.oapi.workspace.project.notice.send response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiWorkspaceProjectNoticeSendResponse extends TaobaoResponse {
private static final long serialVersionUID = 7136717433178899494L;
/**
* 错误码
*/
@ApiField("errcode")
private Long errcode;
/**
* 错误信息
*/
@ApiField("errmsg")
private String errmsg;
/**
* 发送结果
*/
@ApiField("result")
private OpenSendNoticeResponseDto 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(OpenSendNoticeResponseDto result) {
this.result = result;
}
public OpenSendNoticeResponseDto 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);
}
/**
* 发送结果
*
* @author top auto create
* @since 1.0, null
*/
public static class OpenSendNoticeResponseDto extends TaobaoObject {
private static final long serialVersionUID = 3633249222515276131L;
/**
* 被发送额度控制的userids
*/
@ApiListField("limit_userids")
@ApiField("string")
private List limitUserids;
public List getLimitUserids() {
return this.limitUserids;
}
public void setLimitUserids(List limitUserids) {
this.limitUserids = limitUserids;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy