Modifier and Type | Class and Description |
---|---|
static class |
UserDTO.Builder<S extends UserDTO.Builder>
Builder class for constructing a UserDTO instance.
|
Modifier | Constructor and Description |
---|---|
protected |
UserDTO()
Default constructor for Jackson deserialization.
|
protected |
UserDTO(java.lang.String name,
java.util.List<java.lang.String> roles,
AuditDTO audit)
Creates a new instance of UserDTO.
|
Modifier and Type | Method and Description |
---|---|
Audit |
auditInfo() |
static UserDTO.Builder |
builder()
Creates a new Builder for constructing a User DTO.
|
java.lang.String |
name()
The name of the user.
|
java.util.List<java.lang.String> |
roles()
The roles of the user.
|
protected UserDTO()
protected UserDTO(java.lang.String name, java.util.List<java.lang.String> roles, AuditDTO audit)
name
- The name of the User DTO.roles
- The roles of the User DTO.audit
- The audit information of the User DTO.public java.lang.String name()
User
public java.util.List<java.lang.String> roles()
public Audit auditInfo()
public static UserDTO.Builder builder()