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) |
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) |
Boolean |
getActive() |
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)
public static UserData fromUser(User user, DirectoryData directoryData)
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 static UserData.Builder builder()
public static UserData.Builder builder(UserData data)
Copyright © 2020 Atlassian. All rights reserved.