1<?php 2 3namespace GeoIp2\Model; 4 5/** 6 * This class provides the GeoIP2 Connection-Type model. 7 * 8 * @property-read string|null $connectionType The connection type may take the 9 * following values: "Dialup", "Cable/DSL", "Corporate", "Cellular". 10 * Additional values may be added in the future. 11 * @property-read string $ipAddress The IP address that the data in the model is 12 * for. 13 */ 14class ConnectionType extends AbstractModel 15{ 16 protected $connectionType; 17 protected $ipAddress; 18 19 /** 20 * @ignore 21 * 22 * @param mixed $raw 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