Package com.vonage.client.common
Class HalLinks
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.common.HalLinks
- All Implemented Interfaces:
Jsonable
Represents the
_links section of a HAL response.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThehrefproperty offirst.Thehrefproperty oflast.Thehrefproperty ofnext.Thehrefproperty ofprev.Thehrefproperty ofself.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
HalLinks
protected HalLinks()
-
-
Method Details
-
getFirstUrl
Thehrefproperty offirst.- Returns:
- URL of the first page, or
nullif absent.
-
getSelfUrl
Thehrefproperty ofself.- Returns:
- URL of the current page, or
nullif absent.
-
getPrevUrl
Thehrefproperty ofprev.- Returns:
- URL of the previous page, or
nullif absent.
-
getNextUrl
Thehrefproperty ofnext.- Returns:
- URL of the next page, or
nullif absent.
-
getLastUrl
Thehrefproperty oflast.- Returns:
- URL of the last page, or
nullif absent.
-