$this->_id, "Name" => $this->_name, "Master" => $this->_master, "LastCheck" => $this->_lastCheck, "Type" => $this->_type, "NotifiedSerial" => $this->_notifiedSerial, "Account" => $this->_account ); } public static function jsonDeserialize($json) { $dbo = new DnsDomainsDbo(); if (isset($json["Id"])) { $dbo->setId($json["Id"]); } if (isset($json["Name"])) { $dbo->setName($json["Name"]); } if (isset($json["Master"])) { $dbo->setMaster($json["Master"]); } if (isset($json["LastCheck"])) { $dbo->setLastCheck($json["LastCheck"]); } if (isset($json["Type"])) { $dbo->setType($json["Type"]); } if (isset($json["NotifiedSerial"])) { $dbo->setNotifiedSerial($json["NotifiedSerial"]); } if (isset($json["Account"])) { $dbo->setAccount($json["Account"]); } return $dbo; } public static function generateSample() { $dbo = new DnsDomainsDbo(); $dbo->setId(42); $dbo->setName("sample string"); $dbo->setMaster("sample string"); $dbo->setLastCheck(42); $dbo->setType("sample string"); $dbo->setNotifiedSerial(42); $dbo->setAccount("sample string"); return $dbo; } /** * @var integer */ protected $_id; public function getId() { return $this->_id; } public function setId($value) { $this->_id = $value; } /** * @var string */ protected $_name; public function getName() { return $this->_name; } public function setName($value) { $this->_name = $value; } /** * @var string */ protected $_master; public function getMaster() { return $this->_master; } public function setMaster($value) { $this->_master = $value; } /** * @var integer */ protected $_lastCheck; public function getLastCheck() { return $this->_lastCheck; } public function setLastCheck($value) { $this->_lastCheck = $value; } /** * @var string */ protected $_type; public function getType() { return $this->_type; } public function setType($value) { $this->_type = $value; } /** * @var integer */ protected $_notifiedSerial; public function getNotifiedSerial() { return $this->_notifiedSerial; } public function setNotifiedSerial($value) { $this->_notifiedSerial = $value; } /** * @var string */ protected $_account; public function getAccount() { return $this->_account; } public function setAccount($value) { $this->_account = $value; } }