Files
i2p 773d05f8f1
Pulsar .NET 9.0 Windows Release / build (push) Waiting to run
Mirror to Codeberg and Gitea / mirror (push) Waiting to run
initial commit
2026-08-27 10:57:58 -06:00

46 lines
994 B
C#

using System.Runtime.Serialization;
namespace Pulsar.Client.IpGeoLocation
{
[DataContract]
public class GeoResponse
{
[DataMember(Name = "ip")]
public string Ip { get; set; }
[DataMember(Name = "continent_code")]
public string ContinentCode { get; set; }
[DataMember(Name = "country")]
public string Country { get; set; }
[DataMember(Name = "country_code")]
public string CountryCode { get; set; }
[DataMember(Name = "timezone")]
public Time Timezone { get; set; }
[DataMember(Name = "connection")]
public Conn Connection { get; set; }
}
[DataContract]
public class Time
{
[DataMember(Name = "utc")]
public string UTC { get; set; }
}
[DataContract]
public class Conn
{
[DataMember(Name = "asn")]
public string ASN { get; set; }
[DataMember(Name = "isp")]
public string ISP { get; set; }
}
}