Class WebhookSubscriptionList

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

public class WebhookSubscriptionList
extends java.lang.Object
Webhook Subscription List
  • Constructor Summary

    Constructors
    Constructor Description
    WebhookSubscriptionList()  
  • 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<WebhookSubscription> getSubscriptions()  
    java.lang.Integer getTotal()
    A hint at the total number of results returned, on all pages.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

    • WebhookSubscriptionList

      public WebhookSubscriptionList()
  • Method Details

    • getSubscriptions

      public java.util.List<WebhookSubscription> getSubscriptions()
    • getTotal

      public java.lang.Integer getTotal()
      A hint at the total number of results returned, on all pages.

      Note this is an approximation: as you page through the list, some subscriptions may expire and others may be added.

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