Skip to content

Instantly share code, notes, and snippets.

@oldtune
Created December 15, 2025 05:54
Show Gist options
  • Select an option

  • Save oldtune/37fd623c0c283c8b848025fcecf86d91 to your computer and use it in GitHub Desktop.

Select an option

Save oldtune/37fd623c0c283c8b848025fcecf86d91 to your computer and use it in GitHub Desktop.
IpGeoLocationResponse
using System.Text.Json.Serialization;
namespace TestCurl;
public class IpGeoLocationResponse
{
[JsonPropertyName("reports")]
public List<Report> Reports { get; set; } = new();
[JsonPropertyName("total_count")]
public int TotalCount { get; set; }
}
public class Report
{
[JsonPropertyName("ip")]
public string Ip { get; set; } = string.Empty;
[JsonPropertyName("html_report")]
public string HtmlReport { get; set; } = string.Empty;
[JsonPropertyName("json_data")]
public JsonData JsonData { get; set; } = new();
[JsonPropertyName("timestamp")]
public DateTime Timestamp { get; set; }
}
public class JsonData
{
[JsonPropertyName("INVESTIGATION_SUMMARY")]
public string InvestigationSummary { get; set; } = string.Empty;
[JsonPropertyName("TARGET_IP")]
public string TargetIp { get; set; } = string.Empty;
[JsonPropertyName("LOCATION_COUNTRY")]
public string LocationCountry { get; set; } = string.Empty;
[JsonPropertyName("LOCATION_REGION")]
public string LocationRegion { get; set; } = string.Empty;
[JsonPropertyName("LOCATION_CITY")]
public string LocationCity { get; set; } = string.Empty;
[JsonPropertyName("COORDINATES")]
public string Coordinates { get; set; } = string.Empty;
[JsonPropertyName("TIMEZONE")]
public string Timezone { get; set; } = string.Empty;
[JsonPropertyName("ISP_PROVIDER")]
public string IspProvider { get; set; } = string.Empty;
[JsonPropertyName("ORGANIZATION")]
public string Organization { get; set; } = string.Empty;
[JsonPropertyName("CONNECTION_TYPE")]
public string ConnectionType { get; set; } = string.Empty;
[JsonPropertyName("USAGE_TYPE")]
public string UsageType { get; set; } = string.Empty;
[JsonPropertyName("AS_NUMBER")]
public string AsNumber { get; set; } = string.Empty;
[JsonPropertyName("PROXY_STATUS")]
public string ProxyStatus { get; set; } = string.Empty;
[JsonPropertyName("THREAT_LEVEL")]
public string ThreatLevel { get; set; } = string.Empty;
[JsonPropertyName("THREAT_INDICATORS")]
public string ThreatIndicators { get; set; } = string.Empty;
[JsonPropertyName("CRAWLER_DETECTION")]
public string CrawlerDetection { get; set; } = string.Empty;
[JsonPropertyName("EU_JURISDICTION")]
public string EuJurisdiction { get; set; } = string.Empty;
[JsonPropertyName("ITO_PRODUCTION_TARGET")]
public string ItoProductionTarget { get; set; } = string.Empty;
[JsonPropertyName("DEVICE_TYPE_ESTIMATE")]
public string DeviceTypeEstimate { get; set; } = string.Empty;
[JsonPropertyName("INVESTIGATION_NOTES")]
public string InvestigationNotes { get; set; } = string.Empty;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment