public class AbstractNotification extends HeaderResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractNotification.Filter
List of filtering rules configured for event notification
|
| Modifier and Type | Field and Description |
|---|---|
protected List<EventTypeEnum> |
events |
protected AbstractNotification.Filter |
filter |
protected String |
id |
| Constructor and Description |
|---|
AbstractNotification() |
AbstractNotification(String id,
AbstractNotification.Filter filter,
List<EventTypeEnum> events)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getEvents()
Deprecated.
|
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)
Deprecated.
|
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 © 2019. All rights reserved.