Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,20 @@ public interface IPIntelligenceData extends AspectData
AspectPropertyValue<Integer> getAccuracyRadiusMin();
/**
* Any shapes associated with the location. Usually this is the area which the IP range covers. This is returned as a WKT String stored as a reduced format of WKB.
*
* @see <a href="https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry">More information</a>
*/
AspectPropertyValue<WktString> getAreas();
/**
* Autonomous System Number associated with the IP address.
*
* @see <a href="https://en.wikipedia.org/wiki/Autonomous_system_(Internet)">More information</a>
*/
AspectPropertyValue<String> getAsn();
/**
* The name registered to the Asn associated with the IP address.
*
* @see <a href="https://en.wikipedia.org/wiki/Autonomous_system_(Internet)">More information</a>
*/
AspectPropertyValue<String> getAsnName();
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,24 @@ protected IPIntelligenceDataBase(
public AspectPropertyValue<Integer> getAccuracyRadiusMin() { return getAs("accuracyradiusmin", AspectPropertyValue.class, Integer.class); }
/**
* Any shapes associated with the location. Usually this is the area which the IP range covers. This is returned as a WKT String stored as a reduced format of WKB.
*
* @see <a href="https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry">More information</a>
*/
@SuppressWarnings("unchecked")
@Override
public AspectPropertyValue<WktString> getAreas() { return getAs("areas", AspectPropertyValue.class, WktString.class); }
/**
* Autonomous System Number associated with the IP address.
*
* @see <a href="https://en.wikipedia.org/wiki/Autonomous_system_(Internet)">More information</a>
*/
@SuppressWarnings("unchecked")
@Override
public AspectPropertyValue<String> getAsn() { return getAs("asn", AspectPropertyValue.class, String.class); }
/**
* The name registered to the Asn associated with the IP address.
*
* @see <a href="https://en.wikipedia.org/wiki/Autonomous_system_(Internet)">More information</a>
*/
@SuppressWarnings("unchecked")
@Override
Expand Down
Loading