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

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

There is a newer version: 2.25.6
Show 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;


    public List getEmpIdList() {
        return empIdList;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy