$this->_id, "DomainId" => $this->_domainId, "Name" => $this->_name, "Type" => $this->_type, "Content" => $this->_content, "Ttl" => $this->_ttl, "Prio" => $this->_prio, "ChangeDate" => $this->_changeDate, "Disabled" => $this->_disabled, "Ordername" => $this->_ordername, "Auth" => $this->_auth ); } public static function jsonDeserialize($json) { $dbo = new DnsRecordsDbo(); if (isset($json["Id"])) { $dbo->setId($json["Id"]); } if (isset($json["DomainId"])) { $dbo->setDomainId($json["DomainId"]); } if (isset($json["Name"])) { $dbo->setName($json["Name"]); } if (isset($json["Type"])) { $dbo->setType($json["Type"]); } if (isset($json["Content"])) { $dbo->setContent($json["Content"]); } if (isset($json["Ttl"])) { $dbo->setTtl($json["Ttl"]); } if (isset($json["Prio"])) { $dbo->setPrio($json["Prio"]); } if (isset($json["ChangeDate"])) { $dbo->setChangeDate($json["ChangeDate"]); } if (isset($json["Disabled"])) { $dbo->setDisabled($json["Disabled"]); } if (isset($json["Ordername"])) { $dbo->setOrdername($json["Ordername"]); } if (isset($json["Auth"])) { $dbo->setAuth($json["Auth"]); } return $dbo; } public static function generateSample() { $dbo = new DnsRecordsDbo(); $dbo->setId(42); $dbo->setDomainId(42); $dbo->setName("sample string"); $dbo->setType("sample string"); $dbo->setContent("sample string"); $dbo->setTtl(42); $dbo->setPrio(42); $dbo->setChangeDate(42); $dbo->setDisabled(true); $dbo->setOrdername("sample string"); $dbo->setAuth(true); return $dbo; } /** * @var integer */ protected $_id; public function getId() { return $this->_id; } public function setId($value) { $this->_id = $value; } /** * @var integer */ protected $_domainId; public function getDomainId() { return $this->_domainId; } public function setDomainId($value) { $this->_domainId = $value; } /** * @var string */ protected $_name; public function getName() { return $this->_name; } public function setName($value) { $this->_name = $value; } /** * @var string */ protected $_type; public function getType() { return $this->_type; } public function setType($value) { $this->_type = $value; } /** * @var string */ protected $_content; public function getContent() { return $this->_content; } public function setContent($value) { $this->_content = $value; } /** * @var integer */ protected $_ttl; public function getTtl() { return $this->_ttl; } public function setTtl($value) { $this->_ttl = $value; } /** * @var integer */ protected $_prio; public function getPrio() { return $this->_prio; } public function setPrio($value) { $this->_prio = $value; } /** * @var integer */ protected $_changeDate; public function getChangeDate() { return $this->_changeDate; } public function setChangeDate($value) { $this->_changeDate = $value; } /** * @var boolean */ protected $_disabled; public function getDisabled() { return $this->_disabled; } public function setDisabled($value) { $this->_disabled = $value; } /** * @var string */ protected $_ordername; public function getOrdername() { return $this->_ordername; } public function setOrdername($value) { $this->_ordername = $value; } /** * @var boolean */ protected $_auth; public function getAuth() { return $this->_auth; } public function setAuth($value) { $this->_auth = $value; } }