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 String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated. -
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, 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
-true
to enable.false
to disable- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withEnableStreamEmailNotifications
Deprecated.Sets whether stream email notifications should be enabled.- Parameters:
enable
-true
to enable.false
to disable- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withEnableStreamPushNotifications
Deprecated.Sets whether stream push notifications should be enabled.- Parameters:
enable
-true
to enable.false
to disable- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withEnableStreamAudibleNotifications
Deprecated.Sets whether stream audible notifications should be enabled.- Parameters:
enable
-true
to enable.false
to disable- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withNotificationSound
Deprecated.Sets the notification sound- Parameters:
notificationSound
- The name of the notification sound to play- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withEnableDesktopNotifications
Deprecated.Sets whether desktop notifications are enabled.- Parameters:
enable
-true
to enable.false
to disable- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withEnableSounds
Deprecated.Sets whether sounds are enabled.- Parameters:
enable
-true
to enable.false
to disable- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withEnableOfflineEmailNotifications
Deprecated.Sets whether offline email notifications are enabled.- Parameters:
enable
-true
to enable.false
to disable- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withEnableOfflinePushNotifications
Deprecated.Sets whether offline push notifications are enabled.- Parameters:
enable
-true
to enable.false
to disable- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withEnableOnlinePushNotifications
Deprecated.Sets whether online push notifications are enabled.- Parameters:
enable
-true
to enable.false
to disable- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withEnableDigestEmails
Deprecated.Sets whether digest emails are enabled.- Parameters:
enable
-true
to enable.false
to disable- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withEnableLoginEmails
Deprecated.Sets whether login emails are enabled.- Parameters:
enable
-true
to enable.false
to disable- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withMessageContentInEmailNotifications
public UpdateNotificationSettingsApiRequest withMessageContentInEmailNotifications(boolean messageContentInEmailNotifications) Deprecated.Sets whether message content is present in email notifications.- Parameters:
messageContentInEmailNotifications
-true
to show message content in email notifications.false
to not show message content in email notifications- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withPmContentInDesktopNotifications
public UpdateNotificationSettingsApiRequest withPmContentInDesktopNotifications(boolean pmContentInDesktopNotifications) Deprecated.Sets whether private message content shows in desktop notifications.- Parameters:
pmContentInDesktopNotifications
-true
to have private message content show in desktop notifications.false
to not have private message content show in desktop notifications- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withWildcardMentionsNotify
public UpdateNotificationSettingsApiRequest withWildcardMentionsNotify(boolean wildcardMentionsNotify) Deprecated.Sets whether to be notified when wildcard mentions are triggered.- Parameters:
wildcardMentionsNotify
-true
to be notified when wildcard mentions are triggered.false
to not be notified when wildcard mentions are triggered- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withDesktopIconCountDisplay
public UpdateNotificationSettingsApiRequest withDesktopIconCountDisplay(DesktopIconCountDisplay desktopIconCountDisplay) Deprecated.Sets whether to display an unread count summary on the Zulip UI.- Parameters:
desktopIconCountDisplay
- TheDesktopIconCountDisplay
setting- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withRealmNameInNotifications
public UpdateNotificationSettingsApiRequest withRealmNameInNotifications(boolean realmNameInNotifications) Deprecated.Sets whether to include organization name in subject of missed message emails.- Parameters:
realmNameInNotifications
-true
to include the organization name in the subject of missed message emails.false
to not include the organization name in the subject of missed message emails- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
withPresenceEnabled
Deprecated.Sets whether to display the presence status to other users when online.- Parameters:
enable
-true
to display the presence status to other users when online.false
to not display the presence status to other users when online- Returns:
- This
UpdateNotificationSettingsApiRequest
instance
-
execute
Deprecated.Executes the Zulip API request for updating user notification settings.- Specified by:
execute
in interfaceExecutableApiRequest<Map<String,
Object>> - Returns:
- Map of updated user notification settings
- Throws:
ZulipClientException
- if the request was not successful
-