UserSettingService#
- class UserSettingService[source]#
Methods
Update preferences for notifications.
Update preferences for notifications.
Get ui preferences.
Update ui preferences.
- patch_notification_setting(json_body, *, token=Nothing)[source]#
Update preferences for notifications.
- Parameters:
json_body (
PatchNotificationSettingUserSettingData
) – The body of the request. SeePatchNotificationSettingUserSettingData
for information about the possible fields. You can provide this data as aPatchNotificationSettingUserSettingData
or 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. SeePatchUiPreferenceUserSettingData
for information about the possible fields. You can provide this data as aPatchUiPreferenceUserSettingData
or 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