@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2018-12-07T19:30:21.793Z")
public class User
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
User.TypeEnum
Gets or Sets type
|
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Integer |
getId()
The user's unique ID
|
java.lang.String |
getName()
The user's display name
|
java.lang.String |
getPrincipal()
The user's principal.
|
User.TypeEnum |
getType()
Get type
|
int |
hashCode() |
User |
id(java.lang.Integer id) |
User |
isAdmin(java.lang.Boolean isAdmin) |
User |
isCurrent(java.lang.Boolean isCurrent) |
User |
isEnabled(java.lang.Boolean isEnabled) |
java.lang.Boolean |
isIsAdmin()
Flag indicating whether the user has the `admin` role.
|
java.lang.Boolean |
isIsCurrent()
Flag indicating whether the user is the same as the one currently logged-in to make the request.
|
java.lang.Boolean |
isIsEnabled()
Flag that states whether the user is \"enabled\" (disabled users may not log in, and don't count against your license)
|
java.lang.Boolean |
isIsSystem()
Flag indicating whether the user is the Code Dx \"system\" user.
|
User |
isSystem(java.lang.Boolean isSystem) |
User |
name(java.lang.String name) |
User |
principal(java.lang.String principal) |
void |
setId(java.lang.Integer id) |
void |
setIsAdmin(java.lang.Boolean isAdmin) |
void |
setIsCurrent(java.lang.Boolean isCurrent) |
void |
setIsEnabled(java.lang.Boolean isEnabled) |
void |
setIsSystem(java.lang.Boolean isSystem) |
void |
setName(java.lang.String name) |
void |
setPrincipal(java.lang.String principal) |
void |
setType(User.TypeEnum type) |
java.lang.String |
toString() |
User |
type(User.TypeEnum type) |
public User id(java.lang.Integer id)
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
public User type(User.TypeEnum type)
public User.TypeEnum getType()
public void setType(User.TypeEnum type)
public User name(java.lang.String name)
public java.lang.String getName()
public void setName(java.lang.String name)
public User principal(java.lang.String principal)
public java.lang.String getPrincipal()
public void setPrincipal(java.lang.String principal)
public User isEnabled(java.lang.Boolean isEnabled)
public java.lang.Boolean isIsEnabled()
public void setIsEnabled(java.lang.Boolean isEnabled)
public User isSystem(java.lang.Boolean isSystem)
public java.lang.Boolean isIsSystem()
public void setIsSystem(java.lang.Boolean isSystem)
public User isAdmin(java.lang.Boolean isAdmin)
public java.lang.Boolean isIsAdmin()
public void setIsAdmin(java.lang.Boolean isAdmin)
public User isCurrent(java.lang.Boolean isCurrent)
public java.lang.Boolean isIsCurrent()
public void setIsCurrent(java.lang.Boolean isCurrent)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object