Package com.github.twitch4j.helix.domain
Class BannedEvent.EventData
java.lang.Object
com.github.twitch4j.helix.domain.BannedEvent.EventData
- Enclosing class:
- BannedEvent
public static class BannedEvent.EventData
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description EventData() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)@NonNull java.lang.StringgetBroadcasterId()The id of the broadcaster where the event took placejava.lang.StringgetBroadcasterLogin()The login name of the broadcaster where the event took placejava.lang.StringgetBroadcasterName()The display name of the broadcaster where the event took placejava.time.InstantgetExpiresAt()When the timeout expires, if applicable@NonNull java.lang.StringgetUserId()The id of the user that was banned/unbannedjava.lang.StringgetUserLogin()The login name of the user that was banned/unbannedjava.lang.StringgetUserName()The display name of the user that was banned/unbannedinthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
EventData
public EventData()
-
-
Method Details
-
getBroadcasterId
@NonNull public @NonNull java.lang.String getBroadcasterId()The id of the broadcaster where the event took place -
getBroadcasterLogin
public java.lang.String getBroadcasterLogin()The login name of the broadcaster where the event took place -
getBroadcasterName
public java.lang.String getBroadcasterName()The display name of the broadcaster where the event took place -
getUserId
@NonNull public @NonNull java.lang.String getUserId()The id of the user that was banned/unbanned -
getUserLogin
public java.lang.String getUserLogin()The login name of the user that was banned/unbanned -
getUserName
public java.lang.String getUserName()The display name of the user that was banned/unbanned -
getExpiresAt
public java.time.Instant getExpiresAt()When the timeout expires, if applicable -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-