Class ChannelEventSubCondition
java.lang.Object
com.github.twitch4j.eventsub.condition.EventSubCondition
com.github.twitch4j.eventsub.condition.ChannelEventSubCondition
- Direct Known Subclasses:
ChannelBanCondition,ChannelCheerCondition,ChannelFollowCondition,ChannelModeratorAddCondition,ChannelModeratorRemoveCondition,ChannelPointsCustomRewardAddCondition,ChannelPollBeginCondition,ChannelPollEndCondition,ChannelPollProgressCondition,ChannelPredictionBeginCondition,ChannelPredictionEndCondition,ChannelPredictionLockCondition,ChannelPredictionProgressCondition,ChannelSubscribeCondition,ChannelSubscriptionGiftCondition,ChannelUnbanCondition,ChannelUnsubscribeCondition,ChannelUpdateCondition,CustomRewardEventSubCondition,HypeTrainBeginCondition,HypeTrainEndCondition,HypeTrainProgressCondition,StreamOfflineCondition,StreamOnlineCondition
public class ChannelEventSubCondition extends EventSubCondition
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannelEventSubCondition.ChannelEventSubConditionBuilder<C extends ChannelEventSubCondition,B extends ChannelEventSubCondition.ChannelEventSubConditionBuilder<C,B>>Nested classes/interfaces inherited from class com.github.twitch4j.eventsub.condition.EventSubCondition
EventSubCondition.EventSubConditionBuilder<C extends EventSubCondition,B extends EventSubCondition.EventSubConditionBuilder<C,B>> -
Constructor Summary
Constructors Modifier Constructor Description protectedChannelEventSubCondition(ChannelEventSubCondition.ChannelEventSubConditionBuilder<?,?> b) -
Method Summary
Modifier and Type Method Description static ChannelEventSubCondition.ChannelEventSubConditionBuilder<?,?>builder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetBroadcasterUserId()The broadcaster user ID for the channel you want to get notifications for.inthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ChannelEventSubCondition
protected ChannelEventSubCondition(ChannelEventSubCondition.ChannelEventSubConditionBuilder<?,?> b)
-
-
Method Details
-
builder
-
getBroadcasterUserId
public java.lang.String getBroadcasterUserId()The broadcaster user ID for the channel you want to get notifications for. -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-