for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yandex\Webmaster\Models;
use Yandex\Common\XmlResponseModel;
/**
* Class GetHostsResponse
*
* @package Yandex\Webmaster\Models
*/
class GetHostsResponse extends XmlResponseModel
{
* @var Hosts $hosts
protected $hosts = null;
* {@inheritdoc}
protected $mappingClasses = [
'hosts' => 'Yandex\Webmaster\Models\Hosts',
];
protected $propNameMap = [
'hosts' => 'hostlist',
* Get Hosts
* @return Hosts
public function getHosts()
return $this->hosts;
}
* Set Hosts
* @param Hosts $hosts
* @return self
public function setHosts(Hosts $hosts)
$this->hosts = $hosts;
return $this;