Package com.ngrok.definitions
Class EventSubscriptionList
java.lang.Object
com.ngrok.definitions.EventSubscriptionList
- All Implemented Interfaces:
Pageable
A class encapsulating the
EventSubscriptionList
resource.-
Constructor Summary
ConstructorDescriptionEventSubscriptionList
(List<EventSubscription> eventSubscriptions, URI uri, Optional<URI> nextPageUri) Creates a new instance ofEventSubscriptionList
. -
Method Summary
-
Constructor Details
-
EventSubscriptionList
public EventSubscriptionList(List<EventSubscription> eventSubscriptions, URI uri, Optional<URI> nextPageUri) Creates a new instance ofEventSubscriptionList
.- Parameters:
eventSubscriptions
- The list of all Event Subscriptions on this account.uri
- URI of the Event Subscriptions list API resource.nextPageUri
- URI of next page, or null if there is no next page.
-
-
Method Details
-
getEventSubscriptions
The list of all Event Subscriptions on this account.- Returns:
- the value of the property as a
List
ofEventSubscription
-
getUri
URI of the Event Subscriptions list API resource.- Returns:
- the value of the property as a
URI
-
getNextPageUri
URI of next page, or null if there is no next page.- Specified by:
getNextPageUri
in interfacePageable
- Returns:
- the value of the property as a
URI
wrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-