Class AutomaticReward

java.lang.Object
com.github.twitch4j.eventsub.domain.AutomaticReward

public class AutomaticReward extends Object
  • Constructor Details

    • AutomaticReward

      public AutomaticReward()
  • Method Details

    • getType

      public AutomaticReward.Type getType()
      The type of reward.
    • getCost

      public int getCost()
      The reward cost.
    • getUnlockedEmote

      @Nullable public @Nullable SimpleEmote getUnlockedEmote()
      The emote that was unlocked.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object