Class Insights
- Namespace
- Vonage.IdentityInsights.GetInsights
- Assembly
- Vonage.dll
A map of objects representing the requested insight(s), where each key corresponds to the name of the insight and the value contains the result and status of that insight.
public record Insights : IEquatable<Insights>
- Inheritance
-
Insights
- Implements
- Inherited Members
Constructors
Insights(FormatInsights, SimSwapInsights, CarrierInsights, CarrierInsights)
A map of objects representing the requested insight(s), where each key corresponds to the name of the insight and the value contains the result and status of that insight.
public Insights(FormatInsights Format, SimSwapInsights SimSwap, CarrierInsights OriginalCarrier, CarrierInsights CurrentCarrier)
Parameters
FormatFormatInsightsValidates the format of a phone number and provides information based on that format.
SimSwapSimSwapInsightsInformation about any recent SIM pairing changes related to a mobile account. A recent SIM swap may indicate a potential risk of account takeover.
OriginalCarrierCarrierInsightsInformation about the network the number was initially assigned. Information based on the numbering plan prefix.
CurrentCarrierCarrierInsightsInformation about the network the number is currently assigned. This is applicable to mobile numbers only.
Properties
CurrentCarrier
Information about the network the number is currently assigned. This is applicable to mobile numbers only.
[JsonPropertyName("current_carrier")]
public CarrierInsights CurrentCarrier { get; init; }
Property Value
Format
Validates the format of a phone number and provides information based on that format.
[JsonPropertyName("format")]
public FormatInsights Format { get; init; }
Property Value
OriginalCarrier
Information about the network the number was initially assigned. Information based on the numbering plan prefix.
[JsonPropertyName("original_carrier")]
public CarrierInsights OriginalCarrier { get; init; }
Property Value
SimSwap
Information about any recent SIM pairing changes related to a mobile account. A recent SIM swap may indicate a potential risk of account takeover.
[JsonPropertyName("sim_swap")]
public SimSwapInsights SimSwap { get; init; }