Package com.ngrok.definitions
Class EventDestinationList
java.lang.Object
com.ngrok.definitions.EventDestinationList
- All Implemented Interfaces:
Pageable
A class encapsulating the
EventDestinationList
resource.-
Constructor Summary
ConstructorDescriptionEventDestinationList
(List<EventDestination> eventDestinations, URI uri, Optional<URI> nextPageUri) Creates a new instance ofEventDestinationList
. -
Method Summary
-
Constructor Details
-
EventDestinationList
public EventDestinationList(List<EventDestination> eventDestinations, URI uri, Optional<URI> nextPageUri) Creates a new instance ofEventDestinationList
.- Parameters:
eventDestinations
- The list of all Event Destinations on this account.uri
- URI of the Event Destinations list API resource.nextPageUri
- URI of the next page, or null if there is no next page.
-
-
Method Details
-
getEventDestinations
The list of all Event Destinations on this account.- Returns:
- the value of the property as a
List
ofEventDestination
-
getUri
URI of the Event Destinations list API resource.- Returns:
- the value of the property as a
URI
-
getNextPageUri
URI of the 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
-