Table of Contents

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

LatestSimSwap DateTimeOffset

Date and time in UTC ISO 8601 of latest SIM swap performed.

IsSwapped bool

Indicates whether the SIM card has been swapped during the period.

Status InsightStatus

Indicates 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

bool

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

DateTimeOffset

Status

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

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

Property Value

InsightStatus