Class CallerId
- Namespace
- Vonage.NumberInsights
- Assembly
- Vonage.dll
Represents caller identity (CNAM) information for a phone number. Only available for US numbers when CNAM lookup is enabled in the request.
public class CallerId
- Inheritance
-
CallerId
- Inherited Members
Properties
CallerName
Full name of the person or business who owns the phone number. Unknown if this information is not available. This parameter is only present if cnam had a value of true within the request.
[JsonProperty("caller_name")]
public string CallerName { get; set; }
Property Value
CallerType
The value will be business if the owner of a phone number is a business. If the owner is an individual the value will be consumer. The value will be unknown if this information is not available. This parameter is only present if cnam had a value of true within the request.
[JsonProperty("caller_type")]
[JsonConverter(typeof(StringEnumConverter))]
public CallerType CallerType { get; set; }
Property Value
FirstName
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 within the request.
[JsonProperty("first_name")]
public string FirstName { get; set; }
Property Value
LastName
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 within the request.
[JsonProperty("last_name")]
public string LastName { get; set; }