Package com.vonage.client.insight
Class AdvancedInsightResponse
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.insight.BasicInsightResponse
com.vonage.client.insight.StandardInsightResponse
com.vonage.client.insight.AdvancedInsightResponse
- All Implemented Interfaces:
Jsonable
Response object constructed from the JSON payload returned for Advanced number insight requests.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vonage.client.insight.StandardInsightResponse
getCallerIdentity, getCallerName, getCallerType, getCurrentCarrier, getFirstName, getLastName, getOriginalCarrier, getPorted, getRefundPrice, getRemainingBalance, getRequestPriceMethods inherited from class com.vonage.client.insight.BasicInsightResponse
getCountryCode, getCountryCodeIso3, getCountryName, getCountryPrefix, getInternationalFormatNumber, getNationalFormatNumber, getRequestId, getStatus, getStatusMessageMethods 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
-
AdvancedInsightResponse
public AdvancedInsightResponse()
-
-
Method Details
-
fromJson
-
getValidNumber
- Returns:
- Whether the number exists, as an enum.
-
getReachability
- Returns:
- Whether the number can be called, as an enum.
-
getLookupOutcome
- Returns:
- The outcome, as an enum.
-
getLookupOutcomeMessage
- Returns:
- Shows if all information about a phone number has been returned, as a String.
-
getRoaming
- Returns:
- The roaming information, as an enum.
-
getRealTimeData
- Returns:
- Real-time data about the number if it was requested,
nullotherwise.
-
getErrorText
- Returns:
- The status description of your request. This field is equivalent to status_message field in the other endpoints.
-