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
LatestStatusAtDateTimeOffsetDate and time in UTC ISO 8601 of the last time the associated device connectivity status was updated.
IsReachableboolIndicates overall device reachability.
trueif the device is connected to the network.Connectivitystring[]Indicates if the device is connected to the network for
DATAorSMSusage. Only returned when IsReachable istrue. This enum is extensible; clients must handle unknown values.StatusInsightStatusIndicates 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
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
Status
Indicates the status of the information returned for the specified phone number.
[JsonPropertyName("status")]
public InsightStatus Status { get; init; }