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 @@ -82,6 +82,14 @@ public interface IPIntelligenceData extends AspectData
* The 3-character ISO 3166-1 alpha-3 code of the country that the supplied location is in.
*/
AspectPropertyValue<String> getCountryCode3();
/**
* A list of countries in ISO 3166-1 alpha-2 country code format that overlap with the area likely associated with the provided evidence, weighted and ordered by each country's proportion of the area. Administrative areas that cannot be cleanly resolved to the country level will not contribute to the resulting data.
*/
AspectPropertyValue<List<IWeightedValue<List<String>>>> getCountryCodesGeographical();
/**
* A list of countries in ISO 3166-1 alpha-2 country code format that overlap with the area likely associated with the provided evidence, weighted and ordered by each country's proportion of the total population within the area. Administrative areas that cannot be cleanly resolved to the country level will not contribute to the resulting data.
*/
AspectPropertyValue<List<IWeightedValue<List<String>>>> getCountryCodesPopulation();
/**
* The name of the county that the supplied location is in. In this case, a county is defined as an administrative sub-section of a country or state.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,18 @@ protected IPIntelligenceDataBase(
@SuppressWarnings("unchecked")
@Override
public AspectPropertyValue<String> getZipCode() { return getAs("zipcode", AspectPropertyValue.class, String.class); }
/**
* A list of countries in ISO 3166-1 alpha-2 country code format that overlap with the area likely associated with the provided evidence, weighted and ordered by each country's proportion of the area. Administrative areas that cannot be cleanly resolved to the country level will not contribute to the resulting data.
*/
@SuppressWarnings("unchecked")
@Override
public AspectPropertyValue<List<IWeightedValue<List<String>>>> getCountryCodesGeographical() { return getAs("countrycodesgeographical", AspectPropertyValue.class, List.class, IWeightedValue.class, List.class, String.class); }
/**
* A list of countries in ISO 3166-1 alpha-2 country code format that overlap with the area likely associated with the provided evidence, weighted and ordered by each country's proportion of the total population within the area. Administrative areas that cannot be cleanly resolved to the country level will not contribute to the resulting data.
*/
@SuppressWarnings("unchecked")
@Override
public AspectPropertyValue<List<IWeightedValue<List<String>>>> getCountryCodesPopulation() { return getAs("countrycodespopulation", AspectPropertyValue.class, List.class, IWeightedValue.class, List.class, String.class); }
/**
* The mobile country code of the network the device is connected to.
*/
Expand Down