From 8e9b61d9b20b51ea80bf95abb02b6fa5d4525e11 Mon Sep 17 00:00:00 2001 From: Jeff Leung Date: Sun, 7 Jan 2024 14:58:40 -0800 Subject: [PATCH] Comment in the geofeed --- AS1024.GeoFeed/Models/GeoFeed.cs | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/AS1024.GeoFeed/Models/GeoFeed.cs b/AS1024.GeoFeed/Models/GeoFeed.cs index 45bbfec..3f9481e 100644 --- a/AS1024.GeoFeed/Models/GeoFeed.cs +++ b/AS1024.GeoFeed/Models/GeoFeed.cs @@ -16,15 +16,35 @@ namespace AS1024.GeoFeed.Models public class CustomFields { + /// + /// Represents the city associated with the IP address. This field is optional. + /// public string? GeolocCity { get; set; } + /// + /// Represents the country associated with the IP address. This field is optional and expected to be a selection field in NetBox. + /// public string? GeolocCountry { get; set; } + /// + /// Indicates whether geolocation data is available for the IP address. This field is required. + /// public bool? GeolocHasLocation { get; set; } + /// + /// Represents the region or state associated with the IP address. This field is optional and expected to be a selection field in NetBox. + /// public string? GeolocRegion { get; set; } + /// + /// Represents the postal code associated with the IP address. This field is optional. + /// public string? GeolocPostalCode { get; set; } } - + /// + /// This class represents the IP GeoFeed Entry + /// public class IPGeoFeed : CustomFields { + /// + /// Represents the IP Prefix for the associated GeoFeed entry + /// public string? Prefix { get; set; } } }