TautulliCommandHandler_Notifications class
Facilitates, encapsulates, and manages individual calls related to notifications within Tautulli.
TautulliCommandHandler_Notifications internally handles routing the HTTP client to the API calls.
Constructors
- TautulliCommandHandler_Notifications(Dio _client)
-
Create a notification command handler using an initialized
Dio
client.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addNewsletterConfig(
{required int agentId}) → Future< void> - Handler for add_newsletter_config.
-
addNotifierConfig(
{required int agentId}) → Future< void> - Handler for add_notifier_config.
-
deleteMobileDevice(
{required int mobileDeviceId}) → Future< void> - Handler for delete_mobile_device.
-
deleteNewsletter(
{required int newsletterId}) → Future< void> - Handler for delete_newsletter.
-
deleteNotifier(
{required int notifierId}) → Future< void> - Handler for delete_notifier.
-
getNewsletterConfig(
{required int newsletterId}) → Future< TautulliNewsletterConfig> - Handler for get_newsletter_config.
-
getNewsletterLog(
{TautulliNewsletterLogOrderColumn? orderColumn, TautulliOrderDirection? orderDirection, int? start, int? length, String? search}) → Future< TautulliNewsletterLogs> - Handler for get_newsletter_log.
-
getNewsletters(
) → Future< List< TautulliNewsletter> > - Handler for get_newsletters.
-
getNotificationLog(
{TautulliNotificationLogOrderColumn? orderColumn, TautulliOrderDirection? orderDirection, int? start, int? length, String? search}) → Future< TautulliNotificationLogs> - Handler for get_notification_log.
-
getNotifierConfig(
{required int notifierId}) → Future< TautulliNotifierConfig> - Handler for get_notifier_config.
-
getNotifierParameters(
) → Future< List< TautulliNotifierParameter> > - Handler for get_notifier_parameters.
-
getNotifiers(
{String? notifyAction}) → Future< List< TautulliNotifier> > - Handler for get_notifiers.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
{required int notifierId, required String subject, required String body, String? headers, String? scriptArgs}) → Future< void> - Handler for notify.
-
notifyNewsletter(
{required int newsletterId, String? subject, String? body, String? message}) → Future< void> - Handler for notify_newsletter.
-
notifyRecentlyAdded(
{required int ratingKey, int? notifierId}) → Future< void> - Handler for notify_recently_added.
-
registerDevice(
{required String deviceName, required String deviceId, String? friendlyName}) → Future< void> - Handler for register_device.
-
setMobileDeviceConfig(
{required int mobileDeviceId, String? friendlyName}) → Future< void> - Handler for set_mobile_device_config.
-
setNewsletterConfig(
{required int newsletterId, required int agentId, required Map< String, dynamic> newsletterOptions}) → Future<void> - Handler for set_newsletter_config.
-
setNotifierConfig(
{required int agentId, required int notifierId, required Map< String, dynamic> notifierOptions}) → Future<void> - Handler for set_notifier_config.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited