Table of Contents

Class DeviceSwapInsights

Namespace
Vonage.IdentityInsights.GetInsights
Assembly
Vonage.dll

Information about any recent physical device change for a mobile phone number. A recent device swap may indicate a potential risk of account takeover.

public record DeviceSwapInsights : IEquatable<DeviceSwapInsights>
Inheritance
DeviceSwapInsights
Implements
Inherited Members

Constructors

DeviceSwapInsights(DateTimeOffset, bool, InsightStatus)

Information about any recent physical device change for a mobile phone number. A recent device swap may indicate a potential risk of account takeover.

public DeviceSwapInsights(DateTimeOffset LatestDeviceSwap, bool IsSwapped, InsightStatus Status)

Parameters

LatestDeviceSwap DateTimeOffset

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

IsSwapped bool

Indicates whether the device 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 device has been swapped during the period.

[JsonPropertyName("is_swapped")]
public bool IsSwapped { get; init; }

Property Value

bool

LatestDeviceSwap

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

[JsonPropertyName("latest_device_swap_at")]
public DateTimeOffset LatestDeviceSwap { 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