All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dahuatech.icc.event.model.v202011.EventSubscribeDelRequest Maven / Gradle / Ivy

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() {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy