public final class Subdivision extends AbstractNamedRecord
Contains data for the subdivisions associated with an IP address.
This record is returned by all the end points except the Country end point.
Do not use any of the subdivision names as a database or map key. Use the
value returned by AbstractNamedRecord.getGeoNameId()
or getIsoCode()
instead.
Constructor and Description |
---|
Subdivision() |
Subdivision(List<String> locales,
Integer confidence,
Integer geoNameId,
String isoCode,
Map<String,String> names) |
Modifier and Type | Method and Description |
---|---|
Integer |
getConfidence() |
String |
getIsoCode() |
getGeoNameId, getName, getNames
toJson, toString
public Integer getConfidence()
public String getIsoCode()
Copyright © 2020 MaxMind, Inc.. All rights reserved.