Package de.qytera.qtaf.xray.dto.jira
Class UserDto<R extends ApplicationRoleDto,G extends GroupDto>
java.lang.Object
de.qytera.qtaf.xray.dto.jira.UserDto<R,G>
- Type Parameters:
R- the application role typeG- the group type
- Direct Known Subclasses:
UserCloudDto,UserServerDto
The DTO when working with Jira users.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanWhether the user is active.The application roles the user is assigned to.com.google.gson.JsonObjectThe avatars of the user.The display name of the user.The email address of the user.Expand options that include additional user details in the response.The groups that the user belongs to.The locale of the user.getSelf()The URL of the user.The time zone specified in the user's profile.inthashCode()voidWhether the user is active.voidsetApplicationRoles(SimpleListWrapperDto<R> applicationRoles) The application roles the user is assigned to.voidsetAvatarUrls(com.google.gson.JsonObject avatarUrls) The avatars of the user.voidsetDisplayName(String displayName) The display name of the user.voidsetEmailAddress(String emailAddress) The email address of the user.voidExpand options that include additional user details in the response.voidsetGroups(SimpleListWrapperDto<G> groups) The groups that the user belongs to.voidThe locale of the user.voidThe URL of the user.voidsetTimeZone(String timeZone) The time zone specified in the user's profile.toString()
-
Constructor Details
-
UserDto
public UserDto()
-
-
Method Details
-
getActive
Whether the user is active. -
getApplicationRoles
The application roles the user is assigned to. -
getAvatarUrls
public com.google.gson.JsonObject getAvatarUrls()The avatars of the user. -
getDisplayName
The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. -
getEmailAddress
The email address of the user. Depending on the user’s privacy setting, this may be returned as null. -
getExpand
Expand options that include additional user details in the response. -
getGroups
The groups that the user belongs to. -
getLocale
The locale of the user. Depending on the user’s privacy setting, this may be returned as null. -
getSelf
The URL of the user. -
getTimeZone
The time zone specified in the user's profile. Depending on the user’s privacy setting, this may be returned as null. -
setActive
Whether the user is active. -
setApplicationRoles
The application roles the user is assigned to. -
setAvatarUrls
public void setAvatarUrls(com.google.gson.JsonObject avatarUrls) The avatars of the user. -
setDisplayName
The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. -
setEmailAddress
The email address of the user. Depending on the user’s privacy setting, this may be returned as null. -
setExpand
Expand options that include additional user details in the response. -
setGroups
The groups that the user belongs to. -
setLocale
The locale of the user. Depending on the user’s privacy setting, this may be returned as null. -
setSelf
The URL of the user. -
setTimeZone
The time zone specified in the user's profile. Depending on the user’s privacy setting, this may be returned as null. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-