1: <?php
2:
3: namespace GeoIp2\Model;
4:
5: /**
6: * This class provides the GeoIP2 Connection-Type model.
7: *
8: * @property string $connectionType The connection type may take the following
9: * values: "Dialup", "Cable/DSL", "Corporate", "Cellular". Additional
10: * values may be added in the future.
11: *
12: * @property string $ipAddress The IP address that the data in the model is
13: * for.
14: *
15: */
16: class ConnectionType extends AbstractModel
17: {
18: protected $connectionType;
19: protected $ipAddress;
20:
21: /**
22: * @ignore
23: */
24: public function __construct($raw)
25: {
26: parent::__construct($raw);
27:
28: $this->connectionType = $this->get('connection_type');
29: $this->ipAddress = $this->get('ip_address');
30: }
31: }
32: