@@ 11-54 (lines=44) @@ | ||
8 | * |
|
9 | * @package Yandex\Webmaster\Models |
|
10 | */ |
|
11 | class GetHostStatsResponse extends XmlResponseModel |
|
12 | { |
|
13 | /** |
|
14 | * @var Host $host |
|
15 | */ |
|
16 | protected $host; |
|
17 | ||
18 | /** |
|
19 | * {@inheritdoc} |
|
20 | */ |
|
21 | protected $mappingClasses = [ |
|
22 | 'host' => 'Yandex\Webmaster\Models\Host', |
|
23 | ]; |
|
24 | ||
25 | /** |
|
26 | * {@inheritdoc} |
|
27 | */ |
|
28 | protected $propNameMap = [ |
|
29 | 'host' => 'host', |
|
30 | ]; |
|
31 | ||
32 | /** |
|
33 | * Get Host |
|
34 | * |
|
35 | * @return mixed |
|
36 | */ |
|
37 | public function getHost() |
|
38 | { |
|
39 | return $this->host; |
|
40 | } |
|
41 | ||
42 | /** |
|
43 | * Set Host |
|
44 | * |
|
45 | * @param $host |
|
46 | * @return self |
|
47 | */ |
|
48 | public function setHost(Host $host) |
|
49 | { |
|
50 | $this->host = $host; |
|
51 | ||
52 | return $this; |
|
53 | } |
|
54 | } |
|
55 |
@@ 11-54 (lines=44) @@ | ||
8 | * |
|
9 | * @package Yandex\Webmaster\Models |
|
10 | */ |
|
11 | class GetHostVerifyResponse extends XmlResponseModel |
|
12 | { |
|
13 | /** |
|
14 | * @var Host $host |
|
15 | */ |
|
16 | protected $host; |
|
17 | ||
18 | /** |
|
19 | * {@inheritdoc} |
|
20 | */ |
|
21 | protected $mappingClasses = [ |
|
22 | 'host' => 'Yandex\Webmaster\Models\Host', |
|
23 | ]; |
|
24 | ||
25 | /** |
|
26 | * {@inheritdoc} |
|
27 | */ |
|
28 | protected $propNameMap = [ |
|
29 | 'host' => 'host', |
|
30 | ]; |
|
31 | ||
32 | /** |
|
33 | * Get Host |
|
34 | * |
|
35 | * @return mixed |
|
36 | */ |
|
37 | public function getHost() |
|
38 | { |
|
39 | return $this->host; |
|
40 | } |
|
41 | ||
42 | /** |
|
43 | * Set Host |
|
44 | * |
|
45 | * @param Host $host |
|
46 | * @return self |
|
47 | */ |
|
48 | public function setHost(Host $host) |
|
49 | { |
|
50 | $this->host = $host; |
|
51 | ||
52 | return $this; |
|
53 | } |
|
54 | } |
|
55 |