Class UserImpl

java.lang.Object
pw.chew.clickup4j.internal.entities.UserImpl
All Implemented Interfaces:
User

public class UserImpl extends Object implements User
  • Constructor Details

    • UserImpl

      public UserImpl(org.json.JSONObject data, ClickUp4j api)
  • Method Details

    • getId

      public long getId()
      Description copied from interface: User
      The unique ID of the user.
      Specified by:
      getId in interface User
      Returns:
      the user ID
    • getUsername

      @NotNull public @NotNull String getUsername()
      Description copied from interface: User
      This user's username. This is what is displayed in the ClickUp UI.
      Specified by:
      getUsername in interface User
      Returns:
      the username
    • getColor

      @NotNull public @NotNull Color getColor()
      Description copied from interface: User
      The color for this user.
      Specified by:
      getColor in interface User
      Returns:
      the color
    • getProfilePicture

      @NotNull public @NotNull String getProfilePicture()
      Description copied from interface: User
      Returns a link to this user's profile picture.
      This will be null if the user has no profile picture.
      Specified by:
      getProfilePicture in interface User
      Returns:
      the possibly-null profile picture link
    • getClickUp4j

      @NotNull public @NotNull ClickUp4j getClickUp4j()
      Description copied from interface: User
      Returns this ClickUp4j instance.
      Specified by:
      getClickUp4j in interface User
      Returns:
      the ClickUp4j instance