Class EventSubModerationEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubUserChannelEvent
com.github.twitch4j.eventsub.events.EventSubModerationEvent
- Direct Known Subclasses:
ChannelBanEvent,ChannelUnbanEvent
public abstract class EventSubModerationEvent extends EventSubUserChannelEvent
-
Constructor Summary
Constructors Constructor Description EventSubModerationEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetModeratorUserId()The user ID of the issuer of the moderation action.java.lang.StringgetModeratorUserLogin()The user login of the issuer of the moderation action.java.lang.StringgetModeratorUserName()The user name of the issuer of the moderation action.inthashCode()java.lang.StringtoString()Methods inherited from class com.github.twitch4j.eventsub.events.EventSubUserChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName, getUserId, getUserLogin, getUserNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
EventSubModerationEvent
public EventSubModerationEvent()
-
-
Method Details
-
getModeratorUserId
public java.lang.String getModeratorUserId()The user ID of the issuer of the moderation action. -
getModeratorUserLogin
public java.lang.String getModeratorUserLogin()The user login of the issuer of the moderation action. -
getModeratorUserName
public java.lang.String getModeratorUserName()The user name of the issuer of the moderation action. -
toString
public java.lang.String toString()- Overrides:
toStringin classEventSubUserChannelEvent
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classEventSubUserChannelEvent
-
canEqual
protected boolean canEqual(java.lang.Object other)- Overrides:
canEqualin classEventSubUserChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classEventSubUserChannelEvent
-