public interface Notifications
Notifications provides a handler for interacting with the
/api/notifications Foreman API endpoint.| Modifier and Type | Interface and Description |
|---|---|
static class |
Notifications.Notification
A notification.
|
| Modifier and Type | Method and Description |
|---|---|
List<Notifications.Notification> |
discord(int sinceId,
java.time.Instant sinceTimestamp)
Obtains the Discord notifications.
|
List<Notifications.Notification> |
googleChat(int sinceId,
java.time.Instant sinceTimestamp)
Obtains the Google Chat notifications.
|
List<Notifications.Notification> |
slack(int sinceId,
java.time.Instant sinceTimestamp)
Obtains the Slack notifications.
|
List<Notifications.Notification> |
telegram(int sinceId,
java.time.Instant sinceTimestamp)
Obtains the Telegram notifications.
|
List<Notifications.Notification> discord(int sinceId, java.time.Instant sinceTimestamp)
sinceId - The previously observed id (-1 to disable).sinceTimestamp - The cutoff date (null to disable).List<Notifications.Notification> googleChat(int sinceId, java.time.Instant sinceTimestamp)
sinceId - The previously observed id (-1 to disable).sinceTimestamp - The cutoff date (null to disable).List<Notifications.Notification> slack(int sinceId, java.time.Instant sinceTimestamp)
sinceId - The previously observed id (-1 to disable).sinceTimestamp - The cutoff date (null to disable).List<Notifications.Notification> telegram(int sinceId, java.time.Instant sinceTimestamp)
sinceId - The previously observed id (-1 to disable).sinceTimestamp - The cutoff date (null to disable).Copyright © 2023 OBM, LLC. All rights reserved.