Class BannedUser

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

public class BannedUser extends Object
  • Constructor Details

    • BannedUser

      public BannedUser()
  • Method Details

    • getUserId

      @NonNull public @NonNull String getUserId()
      User ID of a user who has been banned.
    • getUserLogin

      public String getUserLogin()
      Login of a user who has been banned.
    • getUserName

      public String getUserName()
      Display name of a user who has been banned.
    • getExpiresAt

      public Instant getExpiresAt()
      Timestamp for timeouts, empty for bans
    • getCreatedAt

      public Instant getCreatedAt()
      The UTC date and time (in RFC3999 format) when the ban was created.
    • getReason

      @Nullable public @Nullable String getReason()
      The reason for the ban if provided by the moderator.
    • getModeratorId

      public String getModeratorId()
      User ID of the moderator who initiated the ban.
    • getModeratorLogin

      public String getModeratorLogin()
      Login name of the moderator who initiated the ban.
    • getModeratorName

      public String getModeratorName()
      Display name of the moderator who initiated the ban.
    • 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