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
LatestDeviceSwapDateTimeOffsetDate and time in UTC ISO 8601 of the latest device swap performed.
IsSwappedboolIndicates whether the device has been swapped during the period.
StatusInsightStatusIndicates 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
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
Status
Indicates the status of the information returned for the specified phone number.
[JsonPropertyName("status")]
public InsightStatus Status { get; init; }