//------------------------------------------------------------------------------
//
// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
//
//------------------------------------------------------------------------------
#nullable enable
namespace LukeHagar.PlexAPI.SDK.Models.Requests
{
using LukeHagar.PlexAPI.SDK.Utils;
using Newtonsoft.Json;
///
/// Geo location data
///
public class GetTokenByPinIdGeoData
{
///
/// The ISO 3166-1 alpha-2 code of the country.
///
[JsonProperty("code")]
public string Code { get; set; } = default!;
///
/// The continent code where the country is located.
///
[JsonProperty("continent_code")]
public string ContinentCode { get; set; } = default!;
///
/// The official name of the country.
///
[JsonProperty("country")]
public string Country { get; set; } = default!;
///
/// The name of the city.
///
[JsonProperty("city")]
public string City { get; set; } = default!;
///
/// Indicates if the country is a member of the European Union.
///
[JsonProperty("european_union_member")]
public bool? EuropeanUnionMember { get; set; } = false;
///
/// The time zone of the country.
///
[JsonProperty("time_zone")]
public string TimeZone { get; set; } = default!;
///
/// The postal code of the location.
///
[JsonProperty("postal_code")]
public string PostalCode { get; set; } = default!;
///
/// Indicates if the country has privacy restrictions.
///
[JsonProperty("in_privacy_restricted_country")]
public bool? InPrivacyRestrictedCountry { get; set; } = false;
///
/// Indicates if the region has privacy restrictions.
///
[JsonProperty("in_privacy_restricted_region")]
public bool? InPrivacyRestrictedRegion { get; set; } = false;
///
/// The name of the primary administrative subdivision.
///
[JsonProperty("subdivisions")]
public string Subdivisions { get; set; } = default!;
///
/// The geographical coordinates (latitude, longitude) of the location.
///
[JsonProperty("coordinates")]
public string Coordinates { get; set; } = default!;
}
}