| 1 | <?php |
||
| 24 | class AirPollutionData |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @var float measurement precision |
||
| 28 | */ |
||
| 29 | public $precision; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var float atmospheric pressure at the point of measurement in hPa |
||
| 33 | */ |
||
| 34 | public $pressure; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var float volume mixing ratio |
||
| 38 | */ |
||
| 39 | public $value; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Create a new air pollution data object. |
||
| 43 | * |
||
| 44 | * @param object $json |
||
| 45 | * |
||
| 46 | * @internal |
||
| 47 | */ |
||
| 48 | public function __construct($json) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return float |
||
| 57 | */ |
||
| 58 | public function getPrecision(): float |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @return float |
||
| 65 | */ |
||
| 66 | public function getPressure(): float |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @return float |
||
| 73 | */ |
||
| 74 | public function getValue(): float |
||
| 78 | } |
||
| 79 |