1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29:
<?php
namespace MaxMind\MinFraud\Model;
/**
* Class Device
* @package MaxMind\MinFraud\Model
*
* @property string|null $id A UUID that MaxMind uses for the device associated
* with this IP address. Note that many devices cannot be uniquely identified
* because they are too common (for example, all iPhones of a given model and
* OS release). In these cases, the minFraud service will simply not return a
* UUID for that device.
*
*/
class Device extends AbstractModel
{
/**
* @internal
*/
protected $id;
public function __construct($response, $locales = ['en'])
{
parent::__construct($response, $locales);
$this->id = $this->safeArrayLookup($response['id']);
}
}