Table of Contents

Class ReachabilityInsights

Namespace
Vonage.IdentityInsights.GetInsights
Assembly
Vonage.dll

Checks the connectivity status for a given device, including whether it is connected to the network for data, SMS, or both.

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

Constructors

ReachabilityInsights(DateTimeOffset, bool, string[], InsightStatus)

Checks the connectivity status for a given device, including whether it is connected to the network for data, SMS, or both.

public ReachabilityInsights(DateTimeOffset LatestStatusAt, bool IsReachable, string[] Connectivity, InsightStatus Status)

Parameters

LatestStatusAt DateTimeOffset

Date and time in UTC ISO 8601 of the last time the associated device connectivity status was updated.

IsReachable bool

Indicates overall device reachability. true if the device is connected to the network.

Connectivity string[]

Indicates if the device is connected to the network for DATA or SMS usage. Only returned when IsReachable is true. This enum is extensible; clients must handle unknown values.

Status InsightStatus

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

Properties

Connectivity

Indicates if the device is connected to the network for DATA or SMS usage. Only returned when IsReachable is true. This enum is extensible; clients must handle unknown values.

[JsonPropertyName("connectivity")]
public string[] Connectivity { get; init; }

Property Value

string[]

IsReachable

Indicates overall device reachability. true if the device is connected to the network.

[JsonPropertyName("is_reachable")]
public bool IsReachable { get; init; }

Property Value

bool

LatestStatusAt

Date and time in UTC ISO 8601 of the last time the associated device connectivity status was updated.

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