Class UpdateRealmNewUserDefaultSettingsApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.server.request.UpdateRealmNewUserDefaultSettingsApiRequest
- All Implemented Interfaces:
ExecutableApiRequest<List<String>>
public class UpdateRealmNewUserDefaultSettingsApiRequest
extends ZulipApiRequest
implements ExecutableApiRequest<List<String>>
Zulip API request builder for updating realm level default settings for new users.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()Invokes the HTTP client to send the request to the Zulip REST API and returns a response as type T.Sets the topics to follow automatically.withAutomaticallyFollowTopicsWhereMentioned(boolean enable) Sets whether the server will automatically mark the user as following topics where the user is mentioned.Sets the topics to unmute automatically in muted streams.withColorScheme(ColorScheme colorScheme) Sets the color scheme to use.withDemoteInactiveStreams(DemoteInactiveStreamOption demoteInactiveStreamOption) Sets whether to demote inactive streams.withDesktopIconCountDisplay(DesktopIconCountDisplay desktopIconCountDisplay) Sets whether to display an unread count summary on the Zulip UI.withDisplayEmojiReactionUsers(boolean displayEmojiReactionUsers) Sets whether to display the names of reacting users on a message.Sets the policy for which other users in this organization can see the users real email address.withEmailNotificationsBatchingPeriodSeconds(int duration) Sets the duration in seconds for which the Zulip server should wait to batch email notifications before sending them.withEmojiSet(EmojiSet emojiSet) The emoji set used to display emoji on the Zulip UI.withEnableDesktopNotifications(boolean enable) Sets whether desktop notifications are enabled.withEnableDigestEmails(boolean enable) Sets whether digest emails are enabled.withEnableDraftsSynchronization(boolean enable) Sets whether synchronizing drafts is enabled.withEnableFollowedTopicAudibleNotifications(boolean enable) Sets whether audible desktop notifications for messages sent to followed topics is enabled.withEnableFollowedTopicDesktopNotifications(boolean enable) Sets whether visual desktop notifications for messages sent to followed topics is enabled.withEnableFollowedTopicEmailNotifications(boolean enable) Sets whether email notifications for messages sent to followed topics is enabled.withEnableFollowedTopicPushNotifications(boolean enable) Sets whether push notifications for messages sent to followed topics is enabled.withEnableFollowedTopicWildcardMentionsNotify(boolean enable) Sets whether wildcard mentions in messages sent to followed topics should send notifications like a personal mention is enabled.withEnableOfflineEmailNotifications(boolean enable) Sets whether offline email notifications are enabled.withEnableOfflinePushNotifications(boolean enable) Sets whether offline push notifications are enabled.withEnableOnlinePushNotifications(boolean enable) Sets whether online push notifications are enabled.withEnableSounds(boolean enable) Sets whether sounds are enabled.withEnableStreamAudibleNotifications(boolean enable) Sets whether stream audible notifications should be enabled.withEnableStreamDesktopNotifications(boolean enable) Sets whether stream desktop notifications should be enabled.withEnableStreamEmailNotifications(boolean enable) Sets whether stream email notifications should be enabled.withEnableStreamPushNotifications(boolean enable) Sets whether stream push notifications should be enabled.withEnterSends(boolean enterSends) Sets whether pressing the enter key on the Zulip UI sends a message.withFluidLayoutWidth(boolean fluidLayoutWidth) Whether to use the maximum available screen width for the Zulip web UI center panel.withHighContrastMode(boolean highContrastMode) Whether to enable variations in the Zulip UI to help visually impaired users.withLeftSideUserList(boolean leftSideUserList) Whether the users list on left sidebar in narrow windows.withMessageContentInEmailNotifications(boolean messageContentInEmailNotifications) Sets whether message content is present in email notifications.withNotificationSound(String notificationSound) Sets the notification sound.withPmContentInDesktopNotifications(boolean pmContentInDesktopNotifications) Sets whether private message content shows in desktop notifications.withPresenceEnabled(boolean enable) Sets whether to display the presence status to other users when online.Sets whether to include the organization name in the subject of message notification emails.withRealmNameInNotifications(boolean realmNameInNotifications) Deprecated.use withRealmNameInEmailNotifications insteadwithReceivesTypingNotifications(boolean receivesTypingNotifications) Sets whether the user is configured to receive typing notifications from other users.withResolvedTopicNoticeAutoReadPolicy(ResolvedTopicNoticeAutoReadPolicy resolvedTopicNoticeAutoReadPolicy) Sets whether resolved topic notices are marked as read.withSendPrivateTypingNotifications(boolean sendPrivateTypingNotifications) Sets whether typing notifications be sent when composing private messages.withSendReadReceipts(boolean sendReadReceipts) Sets whether other users are allowed to see whether you have read messages.withSendStreamTypingNotifications(boolean sendStreamTypingNotifications) Sets whether typing notifications be sent when composing stream messages.withStarredMessageCounts(boolean starredMessageCounts) Sets whether to display the number of starred messages.withTranslateEmoticons(boolean translateEmoticons) Sets whether to translate emoticons to emoji in messages the user sends.withTwentyFourHourTime(boolean enable) Sets whether time should be displayed in 24-hour notation.withUserListStyle(UserListStyle userListStyle) Sets the style selected by the user for the right sidebar user list.withWebAnimateImagePreviews(WebAnimateImageOption webAnimateImageOption) Sets how animated images should be played in the message feed.withWebChannelDefaultView(WebChannelView webChannelView) Sets the default navigation behavior when clicking on a channel link.withWebEscapeNavigatesToHomeView(boolean webEscapeNavigatesToHomeView) Sets whether pressing the escape key navigates to the web home view.withWebFontPx(int fontSize) Sets the user primary font size in pixels.withWebHomeView(WebHomeView webHomeView) Sets the web home view to use.withWebLeftSidebarShowChannelFolders(boolean webLeftSidebarShowChannelFolders) Sets whether the left sidebar displays channel folders configured by the organization.withWebLeftSidebarUnreadsCountSummary(boolean webLeftSidebarUnreadsCountSummary) Sets whether the left sidebar displays the unread message count summary.withWebLineHeightPercent(int webLineHeightPercent) Sets the user primary line height for the Zulip web UI in percent.Sets whether or not to mark messages as read when the user scrolls through their feed.withWebNavigateToSentMessage(boolean webNavigateToSentMessage) Sets whether the user view should automatically go to the conversation where they sent a message.Sets which streams should be displayed with a numeric unread count in the left sidebar in the Zulip UI.withWebSuggestUpdateTimezone(boolean webSuggestUpdateTimezone) Sets whether the user should be shown an alert, offering to update their profile time zone, when the time displayed for the profile time zone differs from the current time displayed by the time zone configured on their device.withWildcardMentionsNotify(boolean wildcardMentionsNotify) 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
-
AUTOMATICALLY_FOLLOW_TOPICS_POLICY
- See Also:
-
AUTOMATICALLY_UNMUTE_TOPICS_IN_MUTED_STREAMS_POLICY
- See Also:
-
AUTOMATICALLY_FOLLOW_TOPICS_WHERE_MENTIONED
- See Also:
-
COLOR_SCHEME
- See Also:
-
DEMOTE_INACTIVE_STREAMS
- See Also:
-
DISPLAY_EMOJI_REACTION_USERS
- See Also:
-
DESKTOP_ICON_COUNT_DISPLAY
- See Also:
-
ENABLE_DESKTOP_NOTIFICATIONS
- See Also:
-
EMAIL_ADDRESS_VISIBILITY
- See Also:
-
EMAIL_NOTIFICATIONS_BATCHING_PERIOD_SECONDS
- See Also:
-
EMOJISET
- See Also:
-
ENABLE_DIGEST_EMAILS
- See Also:
-
ENABLE_DRAFTS_SYNCHRONIZATION
- See Also:
-
ENABLE_FOLLOWED_TOPIC_DESKTOP_NOTIFICATIONS
- See Also:
-
ENABLE_FOLLOWED_TOPIC_EMAIL_NOTIFICATIONS
- See Also:
-
ENABLE_FOLLOWED_TOPIC_PUSH_NOTIFICATIONS
- See Also:
-
ENABLE_FOLLOWED_TOPIC_AUDIBLE_NOTIFICATIONS
- See Also:
-
ENABLE_FOLLOWED_TOPIC_WILDCARD_MENTIONS_NOTIFY
- See Also:
-
ENABLE_OFFLINE_EMAIL_NOTIFICATIONS
- See Also:
-
ENABLE_OFFLINE_PUSH_NOTIFICATIONS
- See Also:
-
ENABLE_ONLINE_PUSH_NOTIFICATIONS
- See Also:
-
ENABLE_SOUNDS
- See Also:
-
ENABLE_STREAM_AUDIBLE_NOTIFICATIONS
- See Also:
-
ENABLE_STREAM_DESKTOP_NOTIFICATIONS
- See Also:
-
ENABLE_STREAM_EMAIL_NOTIFICATIONS
- See Also:
-
ENABLE_STREAM_PUSH_NOTIFICATIONS
- See Also:
-
ENTER_SENDS
- See Also:
-
FLUID_LAYOUT_WIDTH
- See Also:
-
HIGH_CONTRAST_MODE
- See Also:
-
LEFT_SIDE_USERLIST
- See Also:
-
MESSAGE_CONTENT_IN_EMAIL_NOTIFICATIONS
- See Also:
-
NOTIFICATION_SOUND
- See Also:
-
PM_CONTENT_IN_DESKTOP_NOTIFICATIONS
- See Also:
-
PRESENCE_ENABLED
- See Also:
-
REALM_NAME_IN_NOTIFICATIONS
- See Also:
-
REALM_NAME_IN_EMAIL_NOTIFICATIONS_POLICY
- See Also:
-
RECEIVES_TYPING_NOTIFICATIONS
- See Also:
-
SEND_PRIVATE_TYPING_NOTIFICATIONS
- See Also:
-
SEND_READ_RECEIPTS
- See Also:
-
SEND_STREAM_TYPING_NOTIFICATIONS
- See Also:
-
STARRED_MESSAGE_COUNTS
- See Also:
-
TRANSLATE_EMOTICONS
- See Also:
-
TWENTY_FOUR_HOUR_TIME
- See Also:
-
USER_LIST_STYLE
- See Also:
-
WEB_ANIMATE_IMAGE_PREVIEWS
- See Also:
-
WEB_CHANNEL_DEFAULT_VIEW
- See Also:
-
WEB_ESCAPE_NAVIGATES_TO_HOME_VIEW
- See Also:
-
WEB_FONT_SIZE_PX
- See Also:
-
WEB_LINE_HEIGHT_PERCENT
- See Also:
-
WEB_MARK_READ_ON_SCROLL_POLICY
- See Also:
-
WEB_NAVIGATE_TO_SENT_MESSAGE
- See Also:
-
WEB_HOME_VIEW
- See Also:
-
WEB_STREAM_UNREADS_COUNT_DISPLAY_POLICY
- See Also:
-
WEB_SUGGEST_UPDATE_TIMEZONE
- See Also:
-
WILDCARD_MENTIONS_NOTIFY
- See Also:
-
WEB_LEFT_SIDEBAR_SHOW_CHANNEL_FOLDERS
- See Also:
-
WEB_LEFT_SIDEBAR_UNREADS_COUNT_SUMMARY
- See Also:
-
RESOLVED_TOPIC_NOTICE_AUTO_READ_POLICY
- See Also:
-
-
Constructor Details
-
UpdateRealmNewUserDefaultSettingsApiRequest
Constructs aUpdateRealmNewUserDefaultSettingsApiRequest.- Parameters:
client- The Zulip HTTP client
-
-
Method Details
-
withAutomaticallyFollowTopicsPolicy
public UpdateRealmNewUserDefaultSettingsApiRequest withAutomaticallyFollowTopicsPolicy(TopicFollowPolicy policy) Sets the topics to follow automatically.- Parameters:
policy- TheTopicFollowPolicyto use- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withAutomaticallyUnmuteTopicsInMutedStreamsPolicy
public UpdateRealmNewUserDefaultSettingsApiRequest withAutomaticallyUnmuteTopicsInMutedStreamsPolicy(UnmuteTopicInMutedStreamsPolicy policy) Sets the topics to unmute automatically in muted streams.- Parameters:
policy- TheUnmuteTopicInMutedStreamsPolicyto use- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withAutomaticallyFollowTopicsWhereMentioned
public UpdateRealmNewUserDefaultSettingsApiRequest withAutomaticallyFollowTopicsWhereMentioned(boolean enable) Sets whether the server will automatically mark the user as following topics where the user is mentioned.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withColorScheme
Sets the color scheme to use.- Parameters:
colorScheme- The color scheme to use- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withWebHomeView
Sets the web home view to use.- Parameters:
webHomeView- The default web home view to use- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance - See Also:
-
withDemoteInactiveStreams
public UpdateRealmNewUserDefaultSettingsApiRequest withDemoteInactiveStreams(DemoteInactiveStreamOption demoteInactiveStreamOption) Sets whether to demote inactive streams.- Parameters:
demoteInactiveStreamOption- The option to control how inactive streams are demoted- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance - See Also:
-
withDesktopIconCountDisplay
public UpdateRealmNewUserDefaultSettingsApiRequest withDesktopIconCountDisplay(DesktopIconCountDisplay desktopIconCountDisplay) Sets whether to display an unread count summary on the Zulip UI.- Parameters:
desktopIconCountDisplay- TheDesktopIconCountDisplaysetting- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withDisplayEmojiReactionUsers
public UpdateRealmNewUserDefaultSettingsApiRequest withDisplayEmojiReactionUsers(boolean displayEmojiReactionUsers) Sets whether to display the names of reacting users on a message.- Parameters:
displayEmojiReactionUsers-trueto to display the names of reacting users on a message.falseto not display the names of reacting users on a message- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEmailNotificationsBatchingPeriodSeconds
public UpdateRealmNewUserDefaultSettingsApiRequest withEmailNotificationsBatchingPeriodSeconds(int duration) Sets the duration in seconds for which the Zulip server should wait to batch email notifications before sending them.- Parameters:
duration- The batching period duration in seconds- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEmojiSet
The emoji set used to display emoji on the Zulip UI.- Parameters:
emojiSet- The emoji set to use- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableDesktopNotifications
Sets whether desktop notifications are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEmailAddressVisibility
public UpdateRealmNewUserDefaultSettingsApiRequest withEmailAddressVisibility(EmailAddressVisibilityPolicy policy) Sets the policy for which other users in this organization can see the users real email address.- Parameters:
policy- TheEmailAddressVisibilityPolicyto apply- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableDigestEmails
Sets whether digest emails are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableDraftsSynchronization
Sets whether synchronizing drafts is enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableFollowedTopicDesktopNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableFollowedTopicDesktopNotifications(boolean enable) Sets whether visual desktop notifications for messages sent to followed topics is enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableFollowedTopicEmailNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableFollowedTopicEmailNotifications(boolean enable) Sets whether email notifications for messages sent to followed topics is enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableFollowedTopicPushNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableFollowedTopicPushNotifications(boolean enable) Sets whether push notifications for messages sent to followed topics is enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableFollowedTopicAudibleNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableFollowedTopicAudibleNotifications(boolean enable) Sets whether audible desktop notifications for messages sent to followed topics is enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableFollowedTopicWildcardMentionsNotify
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableFollowedTopicWildcardMentionsNotify(boolean enable) Sets whether wildcard mentions in messages sent to followed topics should send notifications like a personal mention is enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableOfflineEmailNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableOfflineEmailNotifications(boolean enable) Sets whether offline email notifications are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableOfflinePushNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableOfflinePushNotifications(boolean enable) Sets whether offline push notifications are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableOnlinePushNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableOnlinePushNotifications(boolean enable) Sets whether online push notifications are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableSounds
Sets whether sounds are enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableStreamAudibleNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableStreamAudibleNotifications(boolean enable) Sets whether stream audible notifications should be enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableStreamDesktopNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableStreamDesktopNotifications(boolean enable) Sets whether stream desktop notifications should be enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableStreamEmailNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableStreamEmailNotifications(boolean enable) Sets whether stream email notifications should be enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnableStreamPushNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withEnableStreamPushNotifications(boolean enable) Sets whether stream push notifications should be enabled.- Parameters:
enable-trueto enable.falseto disable- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withEnterSends
Sets whether pressing the enter key on the Zulip UI sends a message.- Parameters:
enterSends-truecauses the enter key press to send the message.falsedoes not send a message when the enter key is pressed- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withFluidLayoutWidth
Whether to use the maximum available screen width for the Zulip web UI center panel.- Parameters:
fluidLayoutWidth-truecauses the Zulip UI to use the maximum available screen width for the center panel.falsecauses the UI to not use the maximum available width for the UI center panel- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withHighContrastMode
Whether to enable variations in the Zulip UI to help visually impaired users.- Parameters:
highContrastMode-trueenables high contrast mode.falsedisables high contrast mode- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withLeftSideUserList
Whether the users list on left sidebar in narrow windows.- Parameters:
leftSideUserList-truemakes the users list appear on the left side bar in the Zulip web UI.falseplaces the users list elsewhere in the Web UI- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withMessageContentInEmailNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withMessageContentInEmailNotifications(boolean messageContentInEmailNotifications) 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
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withNotificationSound
Sets the notification sound.- Parameters:
notificationSound- The name of the notification sound to play- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withPmContentInDesktopNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withPmContentInDesktopNotifications(boolean pmContentInDesktopNotifications) 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
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withPresenceEnabled
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
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withRealmNameInNotifications
@Deprecated public UpdateRealmNewUserDefaultSettingsApiRequest withRealmNameInNotifications(boolean realmNameInNotifications) Deprecated.use withRealmNameInEmailNotifications insteadSets 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
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withRealmNameInEmailNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withRealmNameInEmailNotifications(RealmNameInNotificationsPolicy policy) Sets whether to include the organization name in the subject of message notification emails.- Parameters:
policy- TheRealmNameInNotificationsPolicyto determine whether to include the organization name in the subject of message notification emails- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withReceivesTypingNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withReceivesTypingNotifications(boolean receivesTypingNotifications) Sets whether the user is configured to receive typing notifications from other users.- Parameters:
receivesTypingNotifications- true to receive typing notifications from other users.falseto not receive typing notifications from other users.- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withSendPrivateTypingNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withSendPrivateTypingNotifications(boolean sendPrivateTypingNotifications) Sets whether typing notifications be sent when composing private messages.- Parameters:
sendPrivateTypingNotifications-trueto send typing notifications.falseto not send typing notifications- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance - See Also:
-
withSendReadReceipts
Sets whether other users are allowed to see whether you have read messages.- Parameters:
sendReadReceipts-trueto allow others see whether you have read messages.falseto disallow users seeing whether you have read messages- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withSendStreamTypingNotifications
public UpdateRealmNewUserDefaultSettingsApiRequest withSendStreamTypingNotifications(boolean sendStreamTypingNotifications) Sets whether typing notifications be sent when composing stream messages.- Parameters:
sendStreamTypingNotifications-trueto send typing notifications.falseto not send typing notifications- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance - See Also:
-
withStarredMessageCounts
public UpdateRealmNewUserDefaultSettingsApiRequest withStarredMessageCounts(boolean starredMessageCounts) Sets whether to display the number of starred messages.- Parameters:
starredMessageCounts-trueto display the number of starred messages.falseto not display the number of starred messages- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance - See Also:
-
withTranslateEmoticons
public UpdateRealmNewUserDefaultSettingsApiRequest withTranslateEmoticons(boolean translateEmoticons) Sets whether to translate emoticons to emoji in messages the user sends.- Parameters:
translateEmoticons-trueto translate emoticons to emoji.falseto not translate emoticons- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance - See Also:
-
withTwentyFourHourTime
Sets whether time should be displayed in 24-hour notation.- Parameters:
enable-trueto display the time in 24-hour notation.falseto not display time in 24-hour notation- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance - See Also:
-
withUserListStyle
Sets the style selected by the user for the right sidebar user list.- Parameters:
userListStyle-trueThe style selected by the user for the right sidebar user list- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withWebAnimateImagePreviews
public UpdateRealmNewUserDefaultSettingsApiRequest withWebAnimateImagePreviews(WebAnimateImageOption webAnimateImageOption) Sets how animated images should be played in the message feed.- Parameters:
webAnimateImageOption- The option determining how animated images should be played- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withWebChannelDefaultView
public UpdateRealmNewUserDefaultSettingsApiRequest withWebChannelDefaultView(WebChannelView webChannelView) Sets the default navigation behavior when clicking on a channel link.- Parameters:
webChannelView- for the default channel view- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withWebFontPx
Sets the user primary font size in pixels.- Parameters:
fontSize- The size of the font used on the Zulip web UI- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withWebLineHeightPercent
public UpdateRealmNewUserDefaultSettingsApiRequest withWebLineHeightPercent(int webLineHeightPercent) Sets the user primary line height for the Zulip web UI in percent.- Parameters:
webLineHeightPercent- The line height percentage value- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withWebMarkReadOnScrollPolicy
public UpdateRealmNewUserDefaultSettingsApiRequest withWebMarkReadOnScrollPolicy(MarkReadOnScrollPolicy policy) Sets whether or not to mark messages as read when the user scrolls through their feed.- Parameters:
policy- TheMarkReadOnScrollPolicyto determine whether when messages are marked as read- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withWebStreamUnreadsCountDisplayPolicy
public UpdateRealmNewUserDefaultSettingsApiRequest withWebStreamUnreadsCountDisplayPolicy(WebStreamUnreadsCountDisplayPolicy policy) Sets which streams should be displayed with a numeric unread count in the left sidebar in the Zulip UI.- Parameters:
policy- TheWebStreamUnreadsCountDisplayPolicyto determine which streams are to be displayed- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withWebSuggestUpdateTimezone
public UpdateRealmNewUserDefaultSettingsApiRequest withWebSuggestUpdateTimezone(boolean webSuggestUpdateTimezone) Sets whether the user should be shown an alert, offering to update their profile time zone, when the time displayed for the profile time zone differs from the current time displayed by the time zone configured on their device.- Parameters:
webSuggestUpdateTimezone-trueto show a user alert offering to update their profile time zone. false to not show an alert.- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withWildcardMentionsNotify
public UpdateRealmNewUserDefaultSettingsApiRequest withWildcardMentionsNotify(boolean wildcardMentionsNotify) 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
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withWebLeftSidebarShowChannelFolders
public UpdateRealmNewUserDefaultSettingsApiRequest withWebLeftSidebarShowChannelFolders(boolean webLeftSidebarShowChannelFolders) Sets whether the left sidebar displays channel folders configured by the organization.- Parameters:
webLeftSidebarShowChannelFolders-trueto display channel folders configured by the organization.falseto not display folders- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withWebLeftSidebarUnreadsCountSummary
public UpdateRealmNewUserDefaultSettingsApiRequest withWebLeftSidebarUnreadsCountSummary(boolean webLeftSidebarUnreadsCountSummary) Sets whether the left sidebar displays the unread message count summary.- Parameters:
webLeftSidebarUnreadsCountSummary-trueto display the unread message count summary.falseto not display the message count summary- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
withResolvedTopicNoticeAutoReadPolicy
public UpdateRealmNewUserDefaultSettingsApiRequest withResolvedTopicNoticeAutoReadPolicy(ResolvedTopicNoticeAutoReadPolicy resolvedTopicNoticeAutoReadPolicy) Sets whether resolved topic notices are marked as read.- Parameters:
resolvedTopicNoticeAutoReadPolicy- TheResolvedTopicNoticeAutoReadPolicyto apply- Returns:
- This
UpdateRealmNewUserDefaultSettingsApiRequestinstance
-
execute
Description copied from interface:ExecutableApiRequestInvokes the HTTP client to send the request to the Zulip REST API and returns a response as type T.- Specified by:
executein interfaceExecutableApiRequest<List<String>>- Returns:
- The response for type T
- Throws:
ZulipClientException- if an error occurs for the API request
-