Class UserResponse
java.lang.Object
com.atlassian.jira.plugins.auditing.rest.responses.UserResponse
-
Constructor Summary
ConstructorsConstructorDescriptionUserResponse(String username, String fullName, URI avatarUrl, Boolean deleted) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UserResponseTries to resolve the user based on the provided user key.static UserResponsefromUser(ApplicationUser user) inthashCode()
-
Constructor Details
-
UserResponse
-
UserResponse
public UserResponse()
-
-
Method Details
-
getUsername
-
getFullName
-
getAvatarUrl
-
getDeleted
-
equals
-
hashCode
public int hashCode() -
fromUser
-
fromKey
Tries to resolve the user based on the provided user key. In case the user is not found, a new user is returned with as the value for all fields. Returns null if the key is null.- Parameters:
userKey- the user key for which an user is requested- Returns:
- a new instance of
UserResponse
-