Class SubscriptionList

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

public class SubscriptionList
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    SubscriptionList()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    HelixPagination getPagination()
    A cursor value, to be used in a subsequent request to specify the starting point of the next set of results.
    java.util.List<Subscription> getSubscriptions()
    The subscriptions.
    java.lang.Integer getTotal()
    The number of Twitch users subscribed to the broadcaster.
    int hashCode()  
    void setPagination​(HelixPagination pagination)
    A cursor value, to be used in a subsequent request to specify the starting point of the next set of results.
    void setSubscriptions​(java.util.List<Subscription> subscriptions)
    The subscriptions.
    void setTotal​(java.lang.Integer total)
    The number of Twitch users subscribed to the broadcaster.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SubscriptionList

      public SubscriptionList()
  • Method Details

    • getSubscriptions

      public java.util.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 java.lang.Integer getTotal()
      The number of Twitch users subscribed to the broadcaster.
    • setSubscriptions

      public void setSubscriptions​(java.util.List<Subscription> subscriptions)
      The subscriptions.
    • setPagination

      public void setPagination​(HelixPagination pagination)
      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

      public void setTotal​(java.lang.Integer total)
      The number of Twitch users subscribed to the broadcaster.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object