Class CustomRewardEventSubCondition
java.lang.Object
com.github.twitch4j.eventsub.condition.EventSubCondition
com.github.twitch4j.eventsub.condition.ChannelEventSubCondition
com.github.twitch4j.eventsub.condition.CustomRewardEventSubCondition
- Direct Known Subclasses:
ChannelPointsCustomRewardRedemptionAddCondition,ChannelPointsCustomRewardRedemptionUpdateCondition,ChannelPointsCustomRewardRemoveCondition,ChannelPointsCustomRewardUpdateCondition
public class CustomRewardEventSubCondition extends ChannelEventSubCondition
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<C extends CustomRewardEventSubCondition,B extends CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<C,B>>Nested classes/interfaces inherited from class com.github.twitch4j.eventsub.condition.ChannelEventSubCondition
ChannelEventSubCondition.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 protectedCustomRewardEventSubCondition(CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<?,?> b) -
Method Summary
Modifier and Type Method Description static CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<?,?>builder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetRewardId()Specify a reward id to only receive notifications for a specific reward.inthashCode()java.lang.StringtoString()Methods inherited from class com.github.twitch4j.eventsub.condition.ChannelEventSubCondition
getBroadcasterUserIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
CustomRewardEventSubCondition
protected CustomRewardEventSubCondition(CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<?,?> b)
-
-
Method Details
-
builder
-
getRewardId
public java.lang.String getRewardId()Specify a reward id to only receive notifications for a specific reward. -
toString
public java.lang.String toString()- Overrides:
toStringin classChannelEventSubCondition
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classChannelEventSubCondition
-
canEqual
protected boolean canEqual(java.lang.Object other)- Overrides:
canEqualin classChannelEventSubCondition
-
hashCode
public int hashCode()- Overrides:
hashCodein classChannelEventSubCondition
-