We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e0adc commit 92a2b6eCopy full SHA for 92a2b6e
src/Api/Struct/Server/Statistics/Version.php
@@ -11,11 +11,27 @@ class Version extends \PleskX\Api\Struct
11
/** @var string */
12
public $version;
13
14
+ /** @var string */
15
+ public $build;
16
+
17
18
+ public $osName;
19
20
21
+ public $osVersion;
22
23
24
+ public $osRelease;
25
26
public function __construct($apiResponse)
27
{
28
$this->_initScalarProperties($apiResponse, [
29
['plesk_name' => 'internalName'],
30
['plesk_version' => 'version'],
31
+ ['plesk_build' => 'build'],
32
+ ['plesk_os' => 'osName'],
33
+ ['plesk_os_version' => 'osVersion'],
34
+ ['os_release' => 'osRelease'],
35
]);
36
}
37
0 commit comments