Class CallerIdentity

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.insight.CallerIdentity
All Implemented Interfaces:
Jsonable

public class CallerIdentity extends JsonableBaseObject
  • Constructor Details

  • Method Details

    • getType

      public CallerType getType()
      Returns:
      The caller type, as an enum.
    • getName

      public String 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 true in the request.
    • getFirstName

      public String 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 true in the request.
    • getLastName

      public String 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 true in the request.