Table of Contents

Class RoamingInsights

Namespace
Vonage.IdentityInsights.GetInsights
Assembly
Vonage.dll

Checks roaming status and country for a given device on a mobile network.

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

Constructors

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

Checks roaming status and country for a given device on a mobile network.

public RoamingInsights(DateTimeOffset LatestStatusAt, bool IsRoaming, string[] CountryCodes, InsightStatus Status)

Parameters

LatestStatusAt DateTimeOffset

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

IsRoaming bool

Roaming status. true if the device is roaming.

CountryCodes string[]

An array of country codes in ISO 3166-1 alpha-2 format representing where the phone number is roaming. Usually contains one element; in edge cases where the roaming network is associated with multiple countries, additional country codes are included.

Status InsightStatus

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

Properties

CountryCodes

An array of country codes in ISO 3166-1 alpha-2 format representing where the phone number is roaming. Usually contains one element; in edge cases where the roaming network is associated with multiple countries, additional country codes are included.

[JsonPropertyName("country_codes")]
public string[] CountryCodes { get; init; }

Property Value

string[]

IsRoaming

Roaming status. true if the device is roaming.

[JsonPropertyName("is_roaming")]
public bool IsRoaming { get; init; }

Property Value

bool

LatestStatusAt

Date and time in UTC ISO 8601 of the last time the associated device roaming 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