| 1 | <?php |
||
| 11 | class GetHostsResponse extends XmlResponseModel |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var Hosts $hosts |
||
| 15 | */ |
||
| 16 | protected $hosts = null; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | protected $mappingClasses = [ |
||
| 22 | 'hosts' => 'Yandex\Webmaster\Models\Hosts', |
||
| 23 | ]; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | protected $propNameMap = [ |
||
| 29 | 'hosts' => 'hostlist', |
||
| 30 | ]; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get Hosts |
||
| 34 | * |
||
| 35 | * @return Hosts |
||
| 36 | */ |
||
| 37 | public function getHosts() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Set Hosts |
||
| 44 | * |
||
| 45 | * @param Hosts $hosts |
||
| 46 | * @return self |
||
| 47 | */ |
||
| 48 | public function setHosts(Hosts $hosts) |
||
| 54 | } |
||
| 55 |