com.maxmind.geoip2.record.Continent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geoip2 Show documentation
Show all versions of geoip2 Show documentation
GeoIP2 webservice client and database reader
package com.maxmind.geoip2.record;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
*
* Contains data for the continent record associated with an IP address.
*
*
* This record is returned by all the end points.
*
*/
public final class Continent extends AbstractNamedRecord {
@JsonProperty("code")
private String code;
/**
* @return A two character continent code like "NA" (North America) or "OC"
* (Oceania). This attribute is returned by all end points.
*/
public String getCode() {
return this.code;
}
}