Class AutomaticReward

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

@Unofficial public class AutomaticReward extends Object
  • Constructor Details

    • AutomaticReward

      public AutomaticReward()
  • Method Details

    • isBitsRedemption

      @Unofficial public boolean isBitsRedemption()
    • getChannelId

      public String getChannelId()
    • getRewardType

      public AutomaticReward.RewardType getRewardType()
    • getCost

      public int getCost()
    • getDefaultCost

      public int getDefaultCost()
    • getMinCost

      public int getMinCost()
    • getBitsCost

      public int getBitsCost()
    • getDefaultBitsCost

      public int getDefaultBitsCost()
    • getPricingType

      public String getPricingType()
    • getImage

      @Nullable public ChannelPointsReward.Image getImage()
    • getDefaultImage

      public ChannelPointsReward.Image getDefaultImage()
    • getBackgroundColor

      @Nullable public @Nullable String getBackgroundColor()
    • getDefaultBackgroundColor

      public String getDefaultBackgroundColor()
    • getUpdatedForIndicatorAt

      @Nullable public @Nullable Instant getUpdatedForIndicatorAt()
    • getGloballyUpdatedForIndicatorAt

      public Instant getGloballyUpdatedForIndicatorAt()
    • getMaxPerStream

      public ChannelPointsReward.MaxPerStream getMaxPerStream()
    • getMaxPerUserPerStream

      public MaxPerUserPerStream getMaxPerUserPerStream()
    • getGlobalCooldown

      public GlobalCooldown getGlobalCooldown()
    • getCooldownExpiresAt

      @Nullable public @Nullable Instant getCooldownExpiresAt()
    • getRedemptionsRedeemedCurrentStream

      @Nullable public @Nullable Integer getRedemptionsRedeemedCurrentStream()
    • isEnabled

      public Boolean isEnabled()
    • isHiddenForSubs

      public Boolean isHiddenForSubs()
    • isInStock

      public Boolean isInStock()
    • 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