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 type
G - the group type
Direct Known Subclasses:
UserCloudDto, UserServerDto

public abstract class UserDto<R extends ApplicationRoleDto,G extends GroupDto> extends Object
The DTO when working with Jira users.
See Also:
  • Constructor Details

    • UserDto

      public UserDto()
  • Method Details

    • getActive

      public Boolean getActive()
      Whether the user is active.
    • getApplicationRoles

      public SimpleListWrapperDto<R> getApplicationRoles()
      The application roles the user is assigned to.
    • getAvatarUrls

      public com.google.gson.JsonObject getAvatarUrls()
      The avatars of the user.
    • getDisplayName

      public String getDisplayName()
      The display name of the user. Depending on the user’s privacy setting, this may return an alternative value.
    • getEmailAddress

      public String getEmailAddress()
      The email address of the user. Depending on the user’s privacy setting, this may be returned as null.
    • getExpand

      public String getExpand()
      Expand options that include additional user details in the response.
    • getGroups

      public SimpleListWrapperDto<G> getGroups()
      The groups that the user belongs to.
    • getLocale

      public String getLocale()
      The locale of the user. Depending on the user’s privacy setting, this may be returned as null.
    • getSelf

      public String getSelf()
      The URL of the user.
    • getTimeZone

      public String getTimeZone()
      The time zone specified in the user's profile. Depending on the user’s privacy setting, this may be returned as null.
    • setActive

      public void setActive(Boolean active)
      Whether the user is active.
    • setApplicationRoles

      public void setApplicationRoles(SimpleListWrapperDto<R> applicationRoles)
      The application roles the user is assigned to.
    • setAvatarUrls

      public void setAvatarUrls(com.google.gson.JsonObject avatarUrls)
      The avatars of the user.
    • setDisplayName

      public void setDisplayName(String displayName)
      The display name of the user. Depending on the user’s privacy setting, this may return an alternative value.
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
      The email address of the user. Depending on the user’s privacy setting, this may be returned as null.
    • setExpand

      public void setExpand(String expand)
      Expand options that include additional user details in the response.
    • setGroups

      public void setGroups(SimpleListWrapperDto<G> groups)
      The groups that the user belongs to.
    • setLocale

      public void setLocale(String locale)
      The locale of the user. Depending on the user’s privacy setting, this may be returned as null.
    • setSelf

      public void setSelf(String self)
      The URL of the user.
    • setTimeZone

      public void setTimeZone(String timeZone)
      The time zone specified in the user's profile. Depending on the user’s privacy setting, this may be returned as null.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object