public class DirectoryEntityRestDTO extends Object
Constructor and Description |
---|
DirectoryEntityRestDTO(DirectoryEntityId id,
DirectoryEntityType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static DirectoryEntityRestDTO |
fromGroup(Group group) |
static DirectoryEntityRestDTO |
fromGroupName(long directoryId,
String groupName) |
static DirectoryEntityRestDTO |
fromUser(User user) |
static DirectoryEntityRestDTO |
fromUserData(UserData userData) |
static DirectoryEntityRestDTO |
fromUserName(long directoryId,
String userName) |
DirectoryEntityId |
getId() |
DirectoryEntityType |
getType() |
int |
hashCode() |
String |
toString() |
public DirectoryEntityRestDTO(DirectoryEntityId id, DirectoryEntityType type)
public static DirectoryEntityRestDTO fromGroup(Group group)
public static DirectoryEntityRestDTO fromUser(User user)
public static DirectoryEntityRestDTO fromUserData(UserData userData)
public static DirectoryEntityRestDTO fromUserName(long directoryId, String userName)
public static DirectoryEntityRestDTO fromGroupName(long directoryId, String groupName)
public DirectoryEntityId getId()
public DirectoryEntityType getType()
Copyright © 2020 Atlassian. All rights reserved.