public class NetuitiveNotificationRestClient extends BasicAuthRestClient implements NetuitiveNotificationClient
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENTS_ENDPOINT |
API_HOST, BASE_API_URL, SCHEME
Constructor and Description |
---|
NetuitiveNotificationRestClient(java.lang.String username,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
NotificationWrapper |
create(NotificationWrapper notificationWrapper) |
void |
delete(java.lang.Long id) |
NotificationWrapper |
get(java.lang.Long id) |
NotificationsWrapper |
list() |
java.lang.String |
sendTestNotification(NotificationWrapper notificationWrapper) |
NotificationWrapper |
update(java.lang.Long id,
NotificationWrapper notificationWrapper) |
send
request
public static final java.lang.String ELEMENTS_ENDPOINT
public NetuitiveNotificationRestClient(java.lang.String username, java.lang.String password)
public NotificationWrapper create(NotificationWrapper notificationWrapper)
create
in interface NetuitiveNotificationClient
public void delete(java.lang.Long id)
delete
in interface NetuitiveNotificationClient
public NotificationWrapper get(java.lang.Long id)
get
in interface NetuitiveNotificationClient
public NotificationsWrapper list()
list
in interface NetuitiveNotificationClient
public NotificationWrapper update(java.lang.Long id, NotificationWrapper notificationWrapper)
update
in interface NetuitiveNotificationClient
public java.lang.String sendTestNotification(NotificationWrapper notificationWrapper)
sendTestNotification
in interface NetuitiveNotificationClient