com.dahuatech.icc.multiinone.event.vo.CancelSubcribeRequest Maven / Gradle / Ivy
The newest version!
package com.dahuatech.icc.multiinone.event.vo;
import com.dahuatech.icc.multiinone.exception.BusinessException;
import com.dahuatech.icc.multiinone.utils.StringUtils;
import com.dahuatech.icc.multiinone.vo.BaseRequest;
/**
* 取消事件订阅请求类
*/
public class CancelSubcribeRequest extends BaseRequest {
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public void businessValid() {
if(StringUtils.isEmpty(name)){
throw new BusinessException("订阅标识name为空");
}
}
}