Class User

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

public class User
extends java.lang.Object
User
  • Constructor Summary

    Constructors
    Constructor Description
    User()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getBroadcasterType()
    User’s broadcaster type: "partner", "affiliate", or "".
    java.time.Instant getCreatedAt()
    Date when the user was created.
    java.lang.String getDescription()
    User’s channel description.
    java.lang.String getDisplayName()
    User’s display name.
    java.lang.String getEmail()
    User’s email address.
    java.lang.String getId()
    User’s ID.
    java.lang.String getLogin()
    User’s login name.
    java.lang.String getOfflineImageUrl()
    URL of the user’s offline image.
    java.lang.String getProfileImageUrl()
    URL of the user’s profile image.
    java.lang.String getType()
    User’s type: "staff", "admin", "global_mod", or "".
    java.lang.Integer getViewCount()
    Total number of views of the user’s channel.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • User

      public User()
  • Method Details

    • getId

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

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

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

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

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

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

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

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

      public java.lang.Integer getViewCount()
      Total number of views of the user’s channel.
    • getEmail

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

      public java.time.Instant getCreatedAt()
      Date when the user was created.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object