Class BannedEvent.EventData

java.lang.Object
com.github.twitch4j.helix.domain.BannedEvent.EventData
Enclosing class:
BannedEvent

public static class BannedEvent.EventData extends Object
  • Constructor Details

    • EventData

      public EventData()
  • Method Details

    • getBroadcasterId

      @NonNull public @NonNull String getBroadcasterId()
      The id of the broadcaster where the event took place
    • getBroadcasterLogin

      public String getBroadcasterLogin()
      The login name of the broadcaster where the event took place
    • getBroadcasterName

      public String getBroadcasterName()
      The display name of the broadcaster where the event took place
    • getUserId

      @NonNull public @NonNull String getUserId()
      The id of the user that was banned/unbanned
    • getUserLogin

      public String getUserLogin()
      The login name of the user that was banned/unbanned
    • getUserName

      public String getUserName()
      The display name of the user that was banned/unbanned
    • getExpiresAt

      public Instant getExpiresAt()
      When the timeout expires, if applicable
    • 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