| 1 | <?php declare(strict_types=1); |
||
| 10 | class InterestByRegionResult implements JsonSerializable |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $geoCode; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $geoName; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var int |
||
| 24 | */ |
||
| 25 | private $value; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var int |
||
| 29 | */ |
||
| 30 | private $maxValueIndex; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var bool |
||
| 34 | */ |
||
| 35 | private $hasData; |
||
| 36 | |||
| 37 | 3 | public function __construct( |
|
| 50 | |||
| 51 | 1 | public function getGeoCode(): string |
|
| 55 | |||
| 56 | 1 | public function getGeoName(): string |
|
| 60 | |||
| 61 | 1 | public function getValue(): int |
|
| 65 | |||
| 66 | 1 | public function getMaxValueIndex(): int |
|
| 70 | |||
| 71 | 1 | public function hasData(): bool |
|
| 75 | |||
| 76 | /** |
||
| 77 | * @inheritDoc |
||
| 78 | */ |
||
| 79 | 1 | public function jsonSerialize(): array |
|
| 89 | } |
||
| 90 |