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
LatestStatusAtDateTimeOffsetDate and time in UTC ISO 8601 of the last time the associated device roaming status was updated.
IsRoamingboolRoaming status.
trueif the device is roaming.CountryCodesstring[]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.
StatusInsightStatusIndicates 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
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
Status
Indicates the status of the information returned for the specified phone number.
[JsonPropertyName("status")]
public InsightStatus Status { get; init; }