1: <?php
2:
3: namespace GeoIp2\Model;
4:
5: /**
6: * This class provides the GeoIP2 Connection-Type model.
7: *
8: * @property integer $autonomousSystemNumber The autonomous system number
9: * associated with the IP address.
10: *
11: * @property string $autonomousSystemOrganization The organization associated
12: * with the registered autonomous system number for the IP address.
13: *
14: * @property string $isp The name of the ISP associated with the IP address.
15: *
16: * @property string $organization The name of the organization associated with
17: * the IP address.
18: *
19: * @property string $ipAddress The IP address that the data in the model is
20: * for.
21: *
22: */
23: class Isp extends AbstractModel
24: {
25: protected $autonomousSystemNumber;
26: protected $autonomousSystemOrganization;
27: protected $isp;
28: protected $organization;
29: protected $ipAddress;
30:
31: /**
32: * @ignore
33: */
34: public function __construct($raw)
35: {
36: parent::__construct($raw);
37: $this->autonomousSystemNumber = $this->get('autonomous_system_number');
38: $this->autonomousSystemOrganization =
39: $this->get('autonomous_system_organization');
40: $this->isp = $this->get('isp');
41: $this->organization = $this->get('organization');
42:
43: $this->ipAddress = $this->get('ip_address');
44: }
45: }
46: