com.dingtalk.api.response.OapiProcessTemplateListResponse 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.process.template.list response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiProcessTemplateListResponse extends TaobaoResponse {
private static final long serialVersionUID = 7385942179269642772L;
/**
* dingOpenErrcode
*/
@ApiField("errcode")
private Long errcode;
/**
* errorMsg
*/
@ApiField("errmsg")
private String errmsg;
/**
* result
*/
@ApiField("result")
private CorpTemplateVo 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(CorpTemplateVo result) {
this.result = result;
}
public CorpTemplateVo 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);
}
/**
* list
*
* @author top auto create
* @since 1.0, null
*/
public static class Templatelist extends TaobaoObject {
private static final long serialVersionUID = 7599159198528995241L;
/**
* 是否可升级,加入收款账户组件
*/
@ApiField("can_be_upgraded")
private Boolean canBeUpgraded;
/**
* 是否有管理权限
*/
@ApiField("can_modify")
private Boolean canModify;
/**
* 模板内容
*/
@ApiField("form_content")
private String formContent;
/**
* 模板图标url
*/
@ApiField("icon_url")
private String iconUrl;
/**
* 模板名称
*/
@ApiField("name")
private String name;
/**
* 模板code
*/
@ApiField("process_code")
private String processCode;
/**
* 模板跳转地址
*/
@ApiField("url")
private String url;
public Boolean getCanBeUpgraded() {
return this.canBeUpgraded;
}
public void setCanBeUpgraded(Boolean canBeUpgraded) {
this.canBeUpgraded = canBeUpgraded;
}
public Boolean getCanModify() {
return this.canModify;
}
public void setCanModify(Boolean canModify) {
this.canModify = canModify;
}
public String getFormContent() {
return this.formContent;
}
public void setFormContent(String formContent) {
this.formContent = formContent;
}
public String getIconUrl() {
return this.iconUrl;
}
public void setIconUrl(String iconUrl) {
this.iconUrl = iconUrl;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getProcessCode() {
return this.processCode;
}
public void setProcessCode(String processCode) {
this.processCode = processCode;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
}
/**
* result
*
* @author top auto create
* @since 1.0, null
*/
public static class CorpTemplateVo extends TaobaoObject {
private static final long serialVersionUID = 4529637941584978865L;
/**
* 下次调用时的offset入参
*/
@ApiField("next_cursor")
private String nextCursor;
/**
* list
*/
@ApiListField("template_list")
@ApiField("templatelist")
private List templateList;
public String getNextCursor() {
return this.nextCursor;
}
public void setNextCursor(String nextCursor) {
this.nextCursor = nextCursor;
}
public List getTemplateList() {
return this.templateList;
}
public void setTemplateList(List templateList) {
this.templateList = templateList;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy