Instantiates an "Enterprise" using fields from the response
The GeoIP2 response
Optional
ipAddress: stringOptional
network: stringOptional
Readonly
cityThe city for the requested IP address.
Optional
Readonly
continentThe continent for the requested IP address.
Optional
Readonly
countryThe country for the requested IP address. This object represents the country where MaxMind believes the end user is located.
Optional
Readonly
locationThe location for the requested IP address.
Optional
Readonly
maxmindThe MaxMind record containing data related to your account.
Optional
Readonly
postalThe postal object for the requested IP address.
Optional
Readonly
registeredThe registered country record for the requested IP address. This record represents the country where the ISP has registered a given IP block and may differ from the user's country.
Optional
Readonly
representedThe represented country record for the requested IP address. The represented country is used for things like military bases or embassies. It is only present when the represented country differs from the country.
Optional
Readonly
subdivisionsAn array of SubdivisionsRecord objects representing the country subdivisions for the requested IP address. The number and type of subdivisions varies by country, but a subdivision is typically a state, province, county, etc. Subdivisions are ordered from most general (largest) to most specific (smallest). If the response did not contain any subdivisions, this method returns an empty array.
Readonly
traitsThe traits for the requested IP address.
Generated using TypeDoc
Class representing the model of an "Enterprise" response *