Class ChannelTermsEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.common.events.TwitchEvent
com.github.twitch4j.pubsub.events.ChannelTermsEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
-
Constructor Summary
ConstructorsConstructorDescriptionChannelTermsEvent(String channelId, ChannelTermsAction data) Creates a newChannelTermsEventinstance. -
Method Summary
Methods inherited from class com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Constructor Details
-
ChannelTermsEvent
Creates a newChannelTermsEventinstance.- Parameters:
channelId- The ID for the channel where the channel terms action took place.data- Data regarding the channel terms action that took place.
-
-
Method Details
-
getChannelId
The ID for the channel where the channel terms action took place. -
getData
Data regarding the channel terms action that took place. -
toString
- Overrides:
toStringin classTwitchEvent
-
equals
- Overrides:
equalsin classTwitchEvent
-
canEqual
- Overrides:
canEqualin classTwitchEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classTwitchEvent
-