Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Isp(response: IspResponse): Isp
  • Instantiates an "Isp" using fields from the response

    Parameters

    • response: IspResponse

      The GeoLite2 response

    Returns Isp

Properties

Optional Readonly autonomousSystemNumber

autonomousSystemNumber?: number

The autonomous system number associated with the IP address

Optional Readonly autonomousSystemOrganization

autonomousSystemOrganization?: string

The organization associated with the registered autonomous system number for the IP address.

Optional ipAddress

ipAddress?: string

The IP address that the data in the model is for. If you performed a "me" lookup against the web service, this will be the externally routable IP address for the system the code is running on. If the system is behind a NAT, this may differ from the IP address locally assigned to it.

Readonly isp

isp: string

The name of the ISP associated with the IP address.

Optional network

network?: string

The network associated with the record. In particular, this is the largest network where all of the fields besides ipAddress have the same value.

Readonly organization

organization: string

The name of the organization associated with the IP address.

Generated using TypeDoc