com.dahuatech.icc.event.model.v202011.EventSubscribeDelRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk-event Show documentation
Show all versions of java-sdk-event Show documentation
Dahua ICC Open API SDK for Java
The newest version!
package com.dahuatech.icc.event.model.v202011;
import com.dahuatech.hutool.http.Method;
import com.dahuatech.icc.event.constant.EventConstant;
import com.dahuatech.icc.exception.ClientException;
import com.dahuatech.icc.oauth.exception.BusinessException;
import com.dahuatech.icc.oauth.http.AbstractIccRequest;
import com.dahuatech.icc.util.StringUtils;
/**
* 事件取消订阅请求
*
* @author 232676
* @since 1.0.0 2020/11/16 20:33
*/
public class EventSubscribeDelRequest extends AbstractIccRequest {
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public EventSubscribeDelRequest(String name) {
super(EventConstant.url(EventConstant.EVENT_URL_SUBSCRIBE_DEL_DELETE + name), Method.DELETE);
this.name = name;
}
@Override
public Class getResponseClass() {
return EventSubscribeDelResponse.class;
}
public void businessValid() {
}
}