Class UpdateNotificationSettingsApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.user.request.UpdateNotificationSettingsApiRequest
- All Implemented Interfaces:
ExecutableApiRequest<Map<String,Object>>
@Deprecated
public class UpdateNotificationSettingsApiRequest
extends ZulipApiRequest
implements ExecutableApiRequest<Map<String,Object>>
Deprecated.
Zulip API request builder for updating user notification settings.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()Deprecated.Executes the Zulip API request for updating user notification settings.withDesktopIconCountDisplay(DesktopIconCountDisplay desktopIconCountDisplay) Deprecated.Sets whether to display an unread count summary on the Zulip UI.withEnableDesktopNotifications(boolean enable) Deprecated.Sets whether desktop notifications are enabled.withEnableDigestEmails(boolean enable) Deprecated.Sets whether digest emails are enabled.withEnableLoginEmails(boolean enable) Deprecated.Sets whether login emails are enabled.withEnableOfflineEmailNotifications(boolean enable) Deprecated.Sets whether offline email notifications are enabled.withEnableOfflinePushNotifications(boolean enable) Deprecated.Sets whether offline push notifications are enabled.withEnableOnlinePushNotifications(boolean enable) Deprecated.Sets whether online push notifications are enabled.withEnableSounds(boolean enable) Deprecated.Sets whether sounds are enabled.withEnableStreamAudibleNotifications(boolean enable) Deprecated.Sets whether stream audible notifications should be enabled.withEnableStreamDesktopNotifications(boolean enable) Deprecated.Sets whether stream desktop notifications should be enabled.withEnableStreamEmailNotifications(boolean enable) Deprecated.Sets whether stream email notifications should be enabled.withEnableStreamPushNotifications(boolean enable) Deprecated.Sets whether stream push notifications should be enabled.withMessageContentInEmailNotifications(boolean messageContentInEmailNotifications) Deprecated.Sets whether message content is present in email notifications.withNotificationSound(String notificationSound) Deprecated.Sets the notification soundwithPmContentInDesktopNotifications(boolean pmContentInDesktopNotifications) Deprecated.Sets whether private message content shows in desktop notifications.withPresenceEnabled(boolean enable) Deprecated.Sets whether to display the presence status to other users when online.withRealmNameInNotifications(boolean realmNameInNotifications) Deprecated.Sets whether to include organization name in subject of missed message emails.withWildcardMentionsNotify(boolean wildcardMentionsNotify) Deprecated.Sets whether to be notified when wildcard mentions are triggered.Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParam, getParams, putParam, putParamAsJsonString, putParamAsWrappedObject
-
Field Details
-
ENABLE_STREAM_DESKTOP_NOTIFICATIONS
Deprecated.- See Also:
-
ENABLE_STREAM_EMAIL_NOTIFICATIONS
Deprecated.- See Also:
-
ENABLE_STREAM_PUSH_NOTIFICATIONS
Deprecated.- See Also:
-
ENABLE_STREAM_AUDIBLE_NOTIFICATIONS
Deprecated.- See Also:
-
NOTIFICATION_SOUND
Deprecated.- See Also:
-
ENABLE_DESKTOP_NOTIFICATIONS
Deprecated.- See Also:
-
ENABLE_SOUNDS
Deprecated.- See Also:
-
ENABLE_OFFLINE_EMAIL_NOTIFICATIONS
Deprecated.- See Also:
-
ENABLE_OFFLINE_PUSH_NOTIFICATIONS
Deprecated.- See Also:
-
ENABLE_ONLINE_PUSH_NOTIFICATIONS
Deprecated.- See Also:
-
ENABLE_DIGEST_EMAILS
Deprecated.- See Also:
-
ENABLE_LOGIN_EMAILS
Deprecated.- See Also:
-
MESSAGE_CONTENT_IN_EMAIL_NOTIFICATIONS
Deprecated.- See Also:
-
PM_CONTENT_IN_DESKTOP_NOTIFICATIONS
Deprecated.- See Also:
-
WILDCARD_MENTIONS_NOTIFY
Deprecated.- See Also:
-
DESKTOP_ICON_COUNT_DISPLAY
Deprecated.- See Also:
-
REALM_NAME_IN_NOTIFICATIONS
Deprecated.- See Also:
-
PRESENCE_ENABLED
Deprecated.- See Also:
-
-
Constructor Details
-
UpdateNotificationSettingsApiRequest
Deprecated.Constructs aUpdateNotificationSettingsApiRequest.- Parameters:
client- The Zulip HTTP client
-
-
Method Details
-
withEnableStreamDesktopNotifications
Deprecated.Sets whether stream desktop notifications should be enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withEnableStreamEmailNotifications
Deprecated.Sets whether stream email notifications should be enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withEnableStreamPushNotifications
Deprecated.Sets whether stream push notifications should be enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withEnableStreamAudibleNotifications
Deprecated.Sets whether stream audible notifications should be enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withNotificationSound
Deprecated.Sets the notification sound- Parameters:
notificationSound- The name of the notification sound to play- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withEnableDesktopNotifications
Deprecated.Sets whether desktop notifications are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withEnableSounds
Deprecated.Sets whether sounds are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withEnableOfflineEmailNotifications
Deprecated.Sets whether offline email notifications are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withEnableOfflinePushNotifications
Deprecated.Sets whether offline push notifications are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withEnableOnlinePushNotifications
Deprecated.Sets whether online push notifications are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withEnableDigestEmails
Deprecated.Sets whether digest emails are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withEnableLoginEmails
Deprecated.Sets whether login emails are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withMessageContentInEmailNotifications
public UpdateNotificationSettingsApiRequest withMessageContentInEmailNotifications(boolean messageContentInEmailNotifications) Deprecated.Sets whether message content is present in email notifications.- Parameters:
messageContentInEmailNotifications-trueto show message content in email notifications.falseto not show message content in email notifications- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withPmContentInDesktopNotifications
public UpdateNotificationSettingsApiRequest withPmContentInDesktopNotifications(boolean pmContentInDesktopNotifications) Deprecated.Sets whether private message content shows in desktop notifications.- Parameters:
pmContentInDesktopNotifications-trueto have private message content show in desktop notifications.falseto not have private message content show in desktop notifications- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withWildcardMentionsNotify
public UpdateNotificationSettingsApiRequest withWildcardMentionsNotify(boolean wildcardMentionsNotify) Deprecated.Sets whether to be notified when wildcard mentions are triggered.- Parameters:
wildcardMentionsNotify-trueto be notified when wildcard mentions are triggered.falseto not be notified when wildcard mentions are triggered- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withDesktopIconCountDisplay
public UpdateNotificationSettingsApiRequest withDesktopIconCountDisplay(DesktopIconCountDisplay desktopIconCountDisplay) Deprecated.Sets whether to display an unread count summary on the Zulip UI.- Parameters:
desktopIconCountDisplay- TheDesktopIconCountDisplaysetting- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withRealmNameInNotifications
public UpdateNotificationSettingsApiRequest withRealmNameInNotifications(boolean realmNameInNotifications) Deprecated.Sets whether to include organization name in subject of missed message emails.- Parameters:
realmNameInNotifications-trueto include the organization name in the subject of missed message emails.falseto not include the organization name in the subject of missed message emails- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
withPresenceEnabled
Deprecated.Sets whether to display the presence status to other users when online.- Parameters:
enable-trueto display the presence status to other users when online.falseto not display the presence status to other users when online- Returns:
- This
UpdateNotificationSettingsApiRequestinstance
-
execute
Deprecated.Executes the Zulip API request for updating user notification settings.- Specified by:
executein interfaceExecutableApiRequest<Map<String,Object>> - Returns:
- Map of updated user notification settings
- Throws:
ZulipClientException- if the request was not successful
-