UserSettingService#
- class UserSettingService[source]#
Methods
Update preferences for notifications.
Update preferences for notifications.
Get ui preferences.
Update ui preferences.
- get_all_notification_settings(*, token=Nothing)[source]#
Update preferences for notifications.
- patch_notification_setting(json_body, *, token=Nothing)[source]#
Update preferences for notifications.
- Parameters:
json_body (
PatchNotificationSettingUserSettingData) – The body of the request. SeePatchNotificationSettingUserSettingDatafor information about the possible fields. You can provide this data as aPatchNotificationSettingUserSettingDataor as a dictionary.token (
Union[Just[str],_Nothing[str]]) – The token with which you want to update the preferences, if not given the preferences are updated for the currently logged in user.
- Returns:
Nothing.
- Return type:
None
- get_ui_preference(*, name, token=Nothing)[source]#
Get ui preferences.
- Parameters:
- Returns:
The preferences for the user as described by the token.
- Return type:
- patch_ui_preference(json_body, *, token=Nothing)[source]#
Update ui preferences.
- Parameters:
json_body (
PatchUiPreferenceUserSettingData) – The body of the request. SeePatchUiPreferenceUserSettingDatafor information about the possible fields. You can provide this data as aPatchUiPreferenceUserSettingDataor as a dictionary.token (
Union[Just[str],_Nothing[str]]) – The token with which you want to update the preferences, if not given the preferences are updated for the currently logged in user.
- Returns:
Nothing.
- Return type:
None