Class CarrierInsights
- Namespace
- Vonage.IdentityInsights.GetInsights
- Assembly
- Vonage.dll
Information about the carrier associated with a phone number.
public record CarrierInsights : IEquatable<CarrierInsights>
- Inheritance
-
CarrierInsights
- Implements
- Inherited Members
Constructors
CarrierInsights(string, string, string, string, InsightStatus)
Information about the carrier associated with a phone number.
public CarrierInsights(string Name, string NetworkType, string CountryCode, string NetworkCode, InsightStatus Status)
Parameters
NamestringThe full name of the carrier associated with the phone number. This is applicable to mobile numbers only.
NetworkTypestringThe type of network of the carrier associated with that phone_number. This enum is extensible; clients must handle unknown values.
CountryCodestringThe country that phone_number is associated with. This is in ISO 3166-1 alpha-2 format.
NetworkCodestringMobile country codes (MCC) + Mobile network codes (MNC). E.212 International mobile subscriber identity.
StatusInsightStatusIndicates the status of the information returned for the specified phone number.
Properties
CountryCode
The country that phone_number is associated with. This is in ISO 3166-1 alpha-2 format.
[JsonPropertyName("country_code")]
public string CountryCode { get; init; }
Property Value
Name
The full name of the carrier associated with the phone number. This is applicable to mobile numbers only.
[JsonPropertyName("name")]
public string Name { get; init; }
Property Value
NetworkCode
Mobile country codes (MCC) + Mobile network codes (MNC). E.212 International mobile subscriber identity.
[JsonPropertyName("network_code")]
public string NetworkCode { get; init; }
Property Value
NetworkType
The type of network of the carrier associated with that phone_number. This enum is extensible; clients must handle unknown values.
[JsonPropertyName("network_type")]
public string NetworkType { get; init; }
Property Value
Status
Indicates the status of the information returned for the specified phone number.
[JsonPropertyName("status")]
public InsightStatus Status { get; init; }