Class SimSwapInsights
- Namespace
- Vonage.IdentityInsights.GetInsights
- Assembly
- Vonage.dll
Information about any recent SIM pairing changes related to a mobile account. A recent SIM swap may indicate a potential risk of account takeover.
public record SimSwapInsights : IEquatable<SimSwapInsights>
- Inheritance
-
SimSwapInsights
- Implements
- Inherited Members
Constructors
SimSwapInsights(DateTimeOffset, bool, InsightStatus)
Information about any recent SIM pairing changes related to a mobile account. A recent SIM swap may indicate a potential risk of account takeover.
public SimSwapInsights(DateTimeOffset LatestSimSwap, bool IsSwapped, InsightStatus Status)
Parameters
LatestSimSwapDateTimeOffsetDate and time in UTC ISO 8601 of latest SIM swap performed.
IsSwappedboolIndicates whether the SIM card has been swapped during the period.
StatusInsightStatusIndicates the status of the information returned for the specified phone number.
Properties
IsSwapped
Indicates whether the SIM card has been swapped during the period.
[JsonPropertyName("is_swapped")]
public bool IsSwapped { get; init; }
Property Value
LatestSimSwap
Date and time in UTC ISO 8601 of latest SIM swap performed.
[JsonPropertyName("latest_sim_swap_at")]
public DateTimeOffset LatestSimSwap { get; init; }
Property Value
Status
Indicates the status of the information returned for the specified phone number.
[JsonPropertyName("status")]
public InsightStatus Status { get; init; }