public class NotificationPreferences
extends java.lang.Object
| Constructor | Description |
|---|---|
NotificationPreferences() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
create(java.util.Map<java.lang.String,java.lang.Object> body,
Setup setup) |
This method is used to create a notification preference to receive Webhooks.
|
java.util.Map<java.lang.String,java.lang.Object> |
get(java.lang.String notificationPreferenceId,
Setup setup) |
This method is used to get the data of a created notification preference.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
list(Setup setup) |
This method is used to get all created notification preferences.
|
java.util.Map<java.lang.String,java.lang.Object> |
remove(java.lang.String notificationPreferenceId,
Setup setup) |
This method is used to remove a created notification preference.
|
public java.util.Map<java.lang.String,java.lang.Object> create(java.util.Map<java.lang.String,java.lang.Object> body,
Setup setup)
body - Map<String, Object> the map charged with request attributes.setup - Setup the setup object.Map<String, Object>public java.util.Map<java.lang.String,java.lang.Object> get(java.lang.String notificationPreferenceId,
Setup setup)
notificationPreferenceId - String the Moip notification preference external ID.setup - Setup the setup object.Map<String, Object>public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> list(Setup setup)
setup - Setup the setup object.List<Map<String, Object>>public java.util.Map<java.lang.String,java.lang.Object> remove(java.lang.String notificationPreferenceId,
Setup setup)
notificationPreferenceId - String the Moip notification preference external ID.setup - Setup the setup object.Map<String, Object>