Click or drag to resize

InsightsResponse Class

This class provides a model for the data returned by the GeoIP2 Precision: Insights end point. The only difference between the City and Insights response classes is which fields in each record may be populated. GeoIP2 Web Services
Inheritance Hierarchy

Namespace:  MaxMind.GeoIP2.Responses
Assembly:  MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax
public class InsightsResponse : AbstractCityResponse

The InsightsResponse type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCity
Gets the city for the requested IP address.
(Inherited from AbstractCityResponse.)
Public propertyContinent
Gets the continent for the requested IP address.
(Inherited from AbstractCountryResponse.)
Public propertyCountry
Gets the country for the requested IP address. This object represents the country where MaxMind believes the end user is located
(Inherited from AbstractCountryResponse.)
Public propertyLocation
Gets the location for the requested IP address.
(Inherited from AbstractCityResponse.)
Public propertyMaxMind
Gets the MaxMind record containing data related to your account
(Inherited from AbstractCountryResponse.)
Public propertyMostSpecificSubdivision
An object representing the most specific subdivision returned. If the response did not contain any subdivisions, this method returns an empty Subdivision object.
(Inherited from AbstractCityResponse.)
Public propertyPostal
Gets the postal object for the requested IP address.
(Inherited from AbstractCityResponse.)
Public propertyRegisteredCountry
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.
(Inherited from AbstractCountryResponse.)
Public propertyRepresentedCountry
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.
(Inherited from AbstractCountryResponse.)
Public propertySubdivisions
An ListT of Subdivision 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.
(Inherited from AbstractCityResponse.)
Public propertyTraits
Gets the traits for the requested IP address.
(Inherited from AbstractCountryResponse.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSetLocales
Sets the locales on all the NamedEntity properties.
(Inherited from AbstractCityResponse.)
Public methodToString
Returns a String that represents this instance.
(Inherited from AbstractCityResponse.)
Top
See Also