Class SubscriptionList

java.lang.Object
com.github.twitch4j.helix.domain.SubscriptionList

public class SubscriptionList extends Object
  • Constructor Details

    • SubscriptionList

      public SubscriptionList()
  • Method Details

    • getSubscriptions

      public List<Subscription> getSubscriptions()
      The subscriptions.
    • getPagination

      public HelixPagination getPagination()
      A cursor value, to be used in a subsequent request to specify the starting point of the next set of results. If this is empty, you are at the last page.
    • getTotal

      public Integer getTotal()
      The number of Twitch users subscribed to the broadcaster.
    • getPoints

      public Integer getPoints()
      The current number of subscriber points earned by this broadcaster.

      Points are based on the subscription tier of each user that subscribes to this broadcaster. For example, a Tier 1 subscription is worth 1 point, Tier 2 is worth 2 points, and Tier 3 is worth 6 points.

    • 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
    • setSubscriptions

      @Deprecated public void setSubscriptions(List<Subscription> subscriptions)
      Deprecated.
      The subscriptions.
    • setPagination

      @Deprecated public void setPagination(HelixPagination pagination)
      Deprecated.
      A cursor value, to be used in a subsequent request to specify the starting point of the next set of results. If this is empty, you are at the last page.
    • setTotal

      @Deprecated public void setTotal(Integer total)
      Deprecated.
      The number of Twitch users subscribed to the broadcaster.
    • setPoints

      @Deprecated public void setPoints(Integer points)
      Deprecated.
      The current number of subscriber points earned by this broadcaster.

      Points are based on the subscription tier of each user that subscribes to this broadcaster. For example, a Tier 1 subscription is worth 1 point, Tier 2 is worth 2 points, and Tier 3 is worth 6 points.