MyselfApi class
Jira Cloud platform REST API documentation
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteLocale(
) → Future - Deprecated, use Update a user profile from the user management REST API instead.
-
getCurrentUser(
{String? expand}) → Future< User> - Returns details for the current user.
-
getLocale(
) → Future< Locale> - Returns the locale for the user.
-
getPreference(
String key) → Future< String> - Returns the value of a preference of the current user.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removePreference(
String key) → Future< void> - Deletes a preference of the user, which restores the default value of system defined settings.
-
setLocale(
{required Locale body}) → Future - Deprecated, use Update a user profile from the user management REST API instead.
-
setPreference(
{required String key, required String body}) → Future -
Creates a preference for the user or updates a preference's value by
sending a plain text string. For example,
false
. An arbitrary preference can be created with the value containing up to 255 characters. In addition, the following keys define system preferences that can be set or created: -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited