$this->_id, "DomainId" => $this->_domainId, "Name" => $this->_name, "Type" => $this->_type, "ModifiedAt" => $this->_modifiedAt, "Account" => $this->_account, "Comment" => $this->_comment ); } public static function jsonDeserialize($json) { $dbo = new DnsCommentsDbo(); 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["ModifiedAt"])) { $dbo->setModifiedAt($json["ModifiedAt"]); } if (isset($json["Account"])) { $dbo->setAccount($json["Account"]); } if (isset($json["Comment"])) { $dbo->setComment($json["Comment"]); } return $dbo; } public static function generateSample() { $dbo = new DnsCommentsDbo(); $dbo->setId(42); $dbo->setDomainId(42); $dbo->setName("sample string"); $dbo->setType("sample string"); $dbo->setModifiedAt(42); $dbo->setAccount("sample string"); $dbo->setComment("sample string"); 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 integer */ protected $_modifiedAt; public function getModifiedAt() { return $this->_modifiedAt; } public function setModifiedAt($value) { $this->_modifiedAt = $value; } /** * @var string */ protected $_account; public function getAccount() { return $this->_account; } public function setAccount($value) { $this->_account = $value; } /** * @var string */ protected $_comment; public function getComment() { return $this->_comment; } public function setComment($value) { $this->_comment = $value; } }