Class ListModsEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.chat.events.TwitchEvent
com.github.twitch4j.chat.events.AbstractChannelEvent
com.github.twitch4j.chat.events.channel.ListModsEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
public final class ListModsEvent extends AbstractChannelEvent
-
Constructor Summary
Constructors Constructor Description ListModsEvent(@NonNull com.github.twitch4j.common.events.domain.EventChannel channel, @NonNull java.util.List<java.lang.String> moderators)Event Constructor -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.util.List<java.lang.String>getModerators()The login names of the moderators of this channel.inthashCode()java.lang.StringtoString()Methods inherited from class com.github.twitch4j.chat.events.AbstractChannelEvent
ban, getChannel, timeout, unbanMethods inherited from class com.github.twitch4j.chat.events.TwitchEvent
getTwitchChatMethods 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
-
ListModsEvent
public ListModsEvent(@NonNull @NonNull com.github.twitch4j.common.events.domain.EventChannel channel, @NonNull @NonNull java.util.List<java.lang.String> moderators)Event Constructor- Parameters:
channel- The channel that this event originates from.moderators- The login names of the moderators of this channel.
-
-
Method Details
-
getModerators
public java.util.List<java.lang.String> getModerators()The login names of the moderators of this channel. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classAbstractChannelEvent
-
canEqual
protected boolean canEqual(java.lang.Object other)- Overrides:
canEqualin classAbstractChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractChannelEvent
-
toString
public java.lang.String toString()- Overrides:
toStringin classAbstractChannelEvent
-