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

com.dahuatech.icc.alarm.model.v202208.status.AlarmHostsOneRequest 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 14:24
 * @Description:
 */
public class AlarmHostsOneRequest extends AbstractIccRequest {
    private String deviceCode;

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public AlarmHostsOneRequest() throws ClientException {
        super(AlarmConstant.url(AlarmConstant.ALARM_HOSTS_ALL), Method.GET);
    }

    public AlarmHostsOneRequest(HttpConfigInfo httpConfigInfo, String url, Method method) throws ClientException {
        super(httpConfigInfo.getPrefixUrl() + url, method, Boolean.TRUE);
    }

    @Override
    public Class getResponseClass() {
        return  AlarmHostsOneResponse.class;
    }

    public void businessValid() {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy