public class AbstractNotification extends HeaderResponse
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AbstractNotification.Filter
List of filtering rules configured for event notification
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<EventTypeEnum> |
events |
protected AbstractNotification.Filter |
filter |
protected String |
id |
| 构造器和说明 |
|---|
AbstractNotification() |
AbstractNotification(String id,
AbstractNotification.Filter filter,
List<EventTypeEnum> events)
Constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<String> |
getEvents()
已过时。
|
List<EventTypeEnum> |
getEventTypes()
Obtain the list of event types that need to be notified.
|
AbstractNotification.Filter |
getFilter()
Obtain the filtering rule group.
|
String |
getId()
Obtain the event notification configuration ID.
|
void |
setEvents(List<String> events)
已过时。
|
void |
setEventTypes(List<EventTypeEnum> events)
Set the list of event types that need to be notified.
|
void |
setFilter(AbstractNotification.Filter filter)
Set the filtering rule group.
|
void |
setId(String id)
Set the event notification configuration ID.
|
getRequestId, getResponseHeaders, getStatusCode, toStringprotected String id
protected AbstractNotification.Filter filter
protected List<EventTypeEnum> events
public AbstractNotification()
public AbstractNotification(String id, AbstractNotification.Filter filter, List<EventTypeEnum> events)
id - Event notification configuration IDfilter - Filtering rulesevents - List of event types that need to be notifiedpublic String getId()
public void setId(String id)
id - Event notification configuration ID@Deprecated public List<String> getEvents()
@Deprecated public void setEvents(List<String> events)
public List<EventTypeEnum> getEventTypes()
public void setEventTypes(List<EventTypeEnum> events)
events - List of event typespublic AbstractNotification.Filter getFilter()
public void setFilter(AbstractNotification.Filter filter)
filter - Filtering rulesCopyright © 2021. All rights reserved.