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
ConstructorDescriptionChannelTermsEvent
(String channelId, ChannelTermsAction data) Creates a newChannelTermsEvent
instance. -
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 newChannelTermsEvent
instance.- 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:
toString
in classTwitchEvent
-
equals
- Overrides:
equals
in classTwitchEvent
-
canEqual
- Overrides:
canEqual
in classTwitchEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTwitchEvent
-