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

com.aliyun.datahub.client.model.AlarmRule Maven / Gradle / Ivy

The newest version!
package com.aliyun.datahub.client.model;

import com.aliyun.datahub.client.impl.serializer.AlarmRuleSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.List;

@JsonSerialize(using = AlarmRuleSerializer.class)
public abstract class AlarmRule {
    protected AlarmType alarmType;
    protected List phoneList;
    protected List mailList;
    protected AlarmLevel level;

    AlarmRule(AlarmType alarmType) {
        this.alarmType = alarmType;
    }

    public AlarmType getAlarmType() {
        return alarmType;
    }

    public List getPhoneList() {
        return phoneList;
    }

    public void setPhoneList(List phoneList) {
        this.phoneList = phoneList;
    }

    public List getMailList() {
        return mailList;
    }

    public void setMailList(List mailList) {
        this.mailList = mailList;
    }

    public AlarmLevel getLevel() {
        return level;
    }

    public void setLevel(AlarmLevel level) {
        this.level = level;
    }

    public String getExtraResource() { return null; }

    public String getExtraResourceName() { return null; }

    /********************
     * for internal use
     ********************/
    protected List empIdList;
    protected List methodList;

    public List getEmpIdList() {
        return empIdList;
    }

    public void setEmpIdList(List empIdList) {
        this.empIdList = empIdList;
    }

    public List getMethodList() {
        return methodList;
    }

    public void setMethodList(List methodList) {
        this.methodList = methodList;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy