Class User

java.lang.Object
com.github.twitch4j.helix.domain.User

public class User extends Object
User
  • Constructor Details

    • User

      public User()
  • Method Details

    • getId

      public String getId()
      User’s ID.
    • getLogin

      public String getLogin()
      User’s login name.
    • getDisplayName

      public String getDisplayName()
      User’s display name.
    • getType

      public String getType()
      User’s type: "staff", "admin", "global_mod", or "".
    • getBroadcasterType

      public String getBroadcasterType()
      User’s broadcaster type: "partner", "affiliate", or "".
    • getDescription

      public String getDescription()
      User’s channel description.
    • getProfileImageUrl

      public String getProfileImageUrl()
      URL of the user’s profile image.
    • getOfflineImageUrl

      public String getOfflineImageUrl()
      URL of the user’s offline image.
    • getViewCount

      @Deprecated @Nullable public @Nullable Integer getViewCount()
      Total number of views of the user’s channel.
    • getEmail

      public String getEmail()
      User’s email address. Returned if the request includes the user:read:email scope.
    • getCreatedAt

      public Instant getCreatedAt()
      Date when the user was created.
    • 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