1 | <?php |
||
9 | final class IBeacon |
||
10 | { |
||
11 | /** |
||
12 | * @var int |
||
13 | * |
||
14 | * @JMS\Type("integer") |
||
15 | * @JMS\SerializedName("index") |
||
16 | */ |
||
17 | private $index; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | * |
||
22 | * @JMS\Type("string") |
||
23 | * @JMS\SerializedName("name") |
||
24 | */ |
||
25 | private $name; |
||
26 | |||
27 | /** |
||
28 | * @var bool |
||
29 | * |
||
30 | * @JMS\Type("boolean") |
||
31 | * @JMS\SerializedName("enabled") |
||
32 | */ |
||
33 | private $enabled; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | * |
||
38 | * @JMS\Type("string") |
||
39 | * @JMS\SerializedName("uuid") |
||
40 | */ |
||
41 | private $uuid; |
||
42 | |||
43 | /** |
||
44 | * @var integer |
||
45 | * |
||
46 | * @JMS\Type("integer") |
||
47 | * @JMS\SerializedName("major") |
||
48 | */ |
||
49 | private $major; |
||
50 | |||
51 | /** |
||
52 | * @var integer |
||
53 | * |
||
54 | * @JMS\Type("integer") |
||
55 | * @JMS\SerializedName("minor") |
||
56 | */ |
||
57 | private $minor; |
||
58 | |||
59 | /** |
||
60 | * @var integer |
||
61 | * |
||
62 | * @JMS\Type("integer") |
||
63 | * @JMS\SerializedName("power") |
||
64 | */ |
||
65 | private $power; |
||
66 | |||
67 | /** |
||
68 | * Broadcasting interval. |
||
69 | * |
||
70 | * @var integer |
||
71 | * |
||
72 | * @JMS\Type("integer") |
||
73 | * @JMS\SerializedName("interval") |
||
74 | */ |
||
75 | private $interval; |
||
76 | |||
77 | /** |
||
78 | * @var bool |
||
79 | * |
||
80 | * @JMS\Type("boolean") |
||
81 | * @JMS\SerializedName("non_strict_mode_enabled") |
||
82 | */ |
||
83 | private $nonStrictModeEnabled; |
||
84 | |||
85 | public function __construct( |
||
106 | |||
107 | public function index(): int |
||
111 | |||
112 | public function name(): string |
||
116 | |||
117 | public function isEnabled(): bool |
||
121 | |||
122 | public function uuid(): string |
||
126 | |||
127 | public function major(): int |
||
131 | |||
132 | public function minor(): int |
||
136 | |||
137 | public function power(): int |
||
141 | |||
142 | public function interval(): int |
||
146 | |||
147 | public function nonStrictModeEnabled(): bool |
||
151 | } |
||
152 |