File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/PleskX/Api/Struct/Mail Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ class Forwards extends \PleskX\Api\Struct
10
10
public $ id ;
11
11
12
12
/** @var string */
13
- public $ name ;
13
+ public $ host ;
14
14
15
15
/** @var string */
16
- public $ address ;
16
+ public $ value ;
17
17
18
18
/**
19
19
* @param XmlResponse $apiResponse
@@ -23,13 +23,13 @@ public function __construct(XMLResponse $apiResponse)
23
23
{
24
24
$ line = new \stdClass ();
25
25
$ line ->id = $ apiResponse ->id ;
26
- $ line ->name = $ apiResponse ->name ;
27
- $ line ->address = $ apiResponse ->forwarding ->address ;
26
+ $ line ->host = $ apiResponse ->name ;
27
+ $ line ->value = $ apiResponse ->forwarding ->address ;
28
28
29
29
$ this ->_initScalarProperties ($ line , [
30
30
'id ' ,
31
- 'name ' ,
32
- 'address ' ,
31
+ 'host ' ,
32
+ 'value ' ,
33
33
]);
34
34
}
35
35
}
You can’t perform that action at this time.
0 commit comments