Class ChatModerationEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.common.events.TwitchEvent
com.github.twitch4j.pubsub.events.ChatModerationEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
public class ChatModerationEvent
extends com.github.twitch4j.common.events.TwitchEvent
-
Constructor Summary
Constructors Constructor Description ChatModerationEvent(java.lang.String channelId, ChatModerationAction data) -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannelId()The ID for the channel where the moderation action took placeChatModerationActiongetData()Data regarding the moderation action that took placeinthashCode()java.lang.StringtoString()Methods inherited from class com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediatorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ChatModerationEvent
-
-
Method Details
-
getChannelId
public java.lang.String getChannelId()The ID for the channel where the moderation action took place -
getData
Data regarding the moderation action that took place -
toString
public java.lang.String toString()- Overrides:
toStringin classcom.github.twitch4j.common.events.TwitchEvent
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classcom.github.twitch4j.common.events.TwitchEvent
-
canEqual
protected boolean canEqual(java.lang.Object other)- Overrides:
canEqualin classcom.github.twitch4j.common.events.TwitchEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.github.twitch4j.common.events.TwitchEvent
-