com.dahuatech.icc.alarm.model.v202208.status.AlarmHostsAllRequest Maven / Gradle / Ivy
package com.dahuatech.icc.alarm.model.v202208.status;
import com.dahuatech.hutool.http.Method;
import com.dahuatech.icc.alarm.Constant.AlarmConstant;
import com.dahuatech.icc.exception.ClientException;
import com.dahuatech.icc.oauth.http.AbstractIccRequest;
import com.dahuatech.icc.oauth.model.v202010.HttpConfigInfo;
/**
* program:java-sdk
*
* @Author: 355079
* @Date:2022-08-18 13:59
* @Description:
*/
public class AlarmHostsAllRequest extends AbstractIccRequest {
private String orgCode;
private String nodeCode;
private Integer status;
public String getOrgCode() {
return orgCode;
}
public void setOrgCode(String orgCode) {
putBodyParameter("orgCode",orgCode);
this.orgCode = orgCode;
}
public String getNodeCode() {
return nodeCode;
}
public void setNodeCode(String nodeCode) {
putBodyParameter("nodeCode",nodeCode);
this.nodeCode = nodeCode;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
putBodyParameter("status",status);
this.status = status;
}
public AlarmHostsAllRequest() throws ClientException {
super(AlarmConstant.url(AlarmConstant.ALARM_HOSTS_ALL), Method.POST);
}
public AlarmHostsAllRequest(HttpConfigInfo httpConfigInfo, String url, Method method) throws ClientException {
super(httpConfigInfo.getPrefixUrl() + url, method, Boolean.TRUE);
}
@Override
public Class getResponseClass() {
return AlarmHostsAllResponse.class;
}
public void businessValid() {
}
}