public class UserData extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UserData.Builder |
Constructor and Description |
---|
UserData(DirectoryEntityId id,
String username,
String displayName,
String email,
Boolean active,
DirectoryData directory,
String avatarUrl) |
Modifier and Type | Method and Description |
---|---|
static UserData.Builder |
builder() |
static UserData.Builder |
builder(DirectoryData directory,
String name) |
static UserData.Builder |
builder(UserData data) |
boolean |
equals(Object o) |
static UserData |
fromUser(User user) |
static UserData |
fromUser(User user,
Directory directory) |
static UserData |
fromUser(User user,
DirectoryData directoryData) |
static UserData |
fromUserWithAvatarUrl(User user,
DirectoryData directoryData,
String avatarUrl) |
Boolean |
getActive() |
String |
getAvatarUrl() |
DirectoryData |
getDirectory() |
String |
getDisplayName() |
String |
getEmail() |
DirectoryEntityId |
getId() |
String |
getUsername() |
int |
hashCode() |
UserData.Builder |
toBuilder() |
String |
toString() |
public UserData(DirectoryEntityId id, String username, String displayName, String email, Boolean active, DirectoryData directory, String avatarUrl)
public static UserData fromUser(User user, DirectoryData directoryData)
public static UserData fromUserWithAvatarUrl(User user, DirectoryData directoryData, String avatarUrl)
public static UserData.Builder builder(DirectoryData directory, String name)
public UserData.Builder toBuilder()
public DirectoryEntityId getId()
public String getUsername()
public String getDisplayName()
public String getEmail()
public Boolean getActive()
public DirectoryData getDirectory()
public String getAvatarUrl()
public static UserData.Builder builder()
public static UserData.Builder builder(UserData data)
Copyright © 2021 Atlassian. All rights reserved.