Package com.ngrok.definitions
Class ReservedDomainList
java.lang.Object
com.ngrok.definitions.ReservedDomainList
- All Implemented Interfaces:
Pageable
A class encapsulating the
ReservedDomainList resource.-
Constructor Summary
ConstructorsConstructorDescriptionReservedDomainList(List<ReservedDomain> reservedDomains, URI uri, Optional<URI> nextPageUri) Creates a new instance ofReservedDomainList. -
Method Summary
-
Constructor Details
-
ReservedDomainList
Creates a new instance ofReservedDomainList.- Parameters:
reservedDomains- the list of all reserved domains on this accounturi- URI of the reserved domain list API resourcenextPageUri- URI of the next page, or null if there is no next page
-
-
Method Details
-
getReservedDomains
the list of all reserved domains on this account- Returns:
- the value of the property as a
ListofReservedDomain
-
getUri
URI of the reserved domain 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:
getNextPageUriin interfacePageable- Returns:
- the value of the property as a
URIwrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-