File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 55
66class GeneralInfo extends \PleskX \Api \Struct
77{
8+ /** @var string */
9+ public $ crDate ;
10+
811 /** @var string */
912 public $ name ;
1013
@@ -17,17 +20,37 @@ class GeneralInfo extends \PleskX\Api\Struct
1720 /** @var string */
1821 public $ status ;
1922
23+ /** @var int */
24+ public $ realSize ;
25+
26+ /** @var array */
27+ public $ ipAddresses = [];
28+
2029 /** @var string */
2130 public $ description ;
2231
32+ /** @var string */
33+ public $ webspaceGuid ;
34+
35+ /** @var int */
36+ public $ webspaceId ;
37+
2338 public function __construct ($ apiResponse )
2439 {
2540 $ this ->_initScalarProperties ($ apiResponse , [
41+ 'cr_date ' ,
2642 'name ' ,
2743 'ascii-name ' ,
2844 'status ' ,
45+ 'real_size ' ,
2946 'guid ' ,
3047 'description ' ,
48+ 'webspace-guid ' ,
49+ 'webspace-id ' ,
3150 ]);
51+
52+ foreach ($ apiResponse ->dns_ip_address as $ ip ) {
53+ $ this ->ipAddresses [] = (string ) $ ip ;
54+ }
3255 }
3356}
You can’t perform that action at this time.
0 commit comments