Table of Contents

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

Name string

The full name of the carrier associated with the phone number. This is applicable to mobile numbers only.

NetworkType string

The type of network of the carrier associated with that phone_number. This enum is extensible; clients must handle unknown values.

CountryCode string

The country that phone_number is associated with. This is in ISO 3166-1 alpha-2 format.

NetworkCode string

Mobile country codes (MCC) + Mobile network codes (MNC). E.212 International mobile subscriber identity.

Status InsightStatus

Indicates 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

string

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

string

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

string

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

string

Status

Indicates the status of the information returned for the specified phone number.

[JsonPropertyName("status")]
public InsightStatus Status { get; init; }

Property Value

InsightStatus