Package com.vonage.client.insight
Class CallerIdentity
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.insight.CallerIdentity
- All Implemented Interfaces:
Jsonable
-
Constructor Summary
Constructors -
Method Summary
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
-
CallerIdentity
public CallerIdentity()
-
-
Method Details
-
getType
- Returns:
- The caller type, as an enum.
-
getName
- Returns:
- Full name of the person or business who owns the phone number, or "unknown" if this
information is not available. This parameter is only present if cnam had a value of
truein the request.
-
getFirstName
- Returns:
- First name of the person who owns the phone number if the owner is an individual.
This parameter is only present if cnam had a value of
truein the request.
-
getLastName
- Returns:
- Last name of the person who owns the phone number if the owner is an individual.
This parameter is only present if cnam had a value of
truein the request.
-