Class ChannelBitsData.BadgeEntitlement

java.lang.Object
com.github.twitch4j.pubsub.domain.ChannelBitsData.BadgeEntitlement
Enclosing class:
ChannelBitsData

public static class ChannelBitsData.BadgeEntitlement extends Object
  • Constructor Details

    • BadgeEntitlement

      public BadgeEntitlement()
  • Method Details

    • getPreviousVersion

      public int getPreviousVersion()
      The number of bits associated with the previous badge
    • getNewVersion

      public int getNewVersion()
      The number of bits associated with the new badge
    • 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
    • setPreviousVersion

      @Deprecated public void setPreviousVersion(int previousVersion)
      Deprecated.
      The number of bits associated with the previous badge
    • setNewVersion

      @Deprecated public void setNewVersion(int newVersion)
      Deprecated.
      The number of bits associated with the new badge