1 | <?php |
||
9 | final class Physical |
||
10 | { |
||
11 | /** |
||
12 | * Device type. |
||
13 | * |
||
14 | * @var string |
||
15 | * |
||
16 | * @JMS\Type("string") |
||
17 | * @JMS\SerializedName("deviceType") |
||
18 | */ |
||
19 | private $deviceType; |
||
20 | |||
21 | /** |
||
22 | * The UUID of the device. |
||
23 | * |
||
24 | * @var string |
||
25 | * |
||
26 | * @JMS\Type("string") |
||
27 | * @JMS\SerializedName("proximity") |
||
28 | */ |
||
29 | private $proximity; |
||
30 | |||
31 | /** |
||
32 | * @var integer |
||
33 | * |
||
34 | * @JMS\Type("integer") |
||
35 | * @JMS\SerializedName("major") |
||
36 | */ |
||
37 | private $major; |
||
38 | |||
39 | /** |
||
40 | * @var integer |
||
41 | * |
||
42 | * @JMS\Type("integer") |
||
43 | * @JMS\SerializedName("minor") |
||
44 | */ |
||
45 | private $minor; |
||
46 | |||
47 | /** |
||
48 | * @var string |
||
49 | * |
||
50 | * @JMS\Type("string") |
||
51 | * @JMS\SerializedName("packets") |
||
52 | */ |
||
53 | private $packets; |
||
54 | |||
55 | /** |
||
56 | * @var string |
||
57 | * |
||
58 | * @JMS\Type("string") |
||
59 | * @JMS\SerializedName("url") |
||
60 | */ |
||
61 | private $url; |
||
62 | |||
63 | /** |
||
64 | * @var integer |
||
65 | * |
||
66 | * @JMS\Type("integer") |
||
67 | * @JMS\SerializedName("txPower") |
||
68 | */ |
||
69 | private $txPower; |
||
70 | |||
71 | public function __construct( |
||
90 | |||
91 | public function deviceType(): string |
||
95 | |||
96 | public function proximity(): ?string |
||
100 | |||
101 | public function major(): ?int |
||
105 | |||
106 | public function minor(): ?int |
||
110 | |||
111 | public function packets(): ?array |
||
119 | |||
120 | public function url(): ?string |
||
124 | |||
125 | public function txPower(): ?int |
||
129 | } |
||
130 |