$this->_id, "UserId" => $this->_userId, "Path" => $this->_path, "Date" => $this->_date, "Name" => $this->_name ); } public static function jsonDeserialize($json) { $dbo = new ImagesDbo(); if (isset($json["Id"])) { $dbo->setId($json["Id"]); } if (isset($json["UserId"])) { $dbo->setUserId($json["UserId"]); } if (isset($json["Path"])) { $dbo->setPath($json["Path"]); } if (isset($json["Date"])) { $dbo->setDate($json["Date"]); } if (isset($json["Name"])) { $dbo->setName($json["Name"]); } return $dbo; } public static function generateSample() { $dbo = new ImagesDbo(); $dbo->setId(42); $dbo->setUserId(42); $dbo->setPath("sample string"); $dbo->setDate("sample string"); $dbo->setName("sample string"); return $dbo; } /** * @var integer */ protected $_id; public function getId() { return $this->_id; } public function setId($value) { $this->_id = $value; } /** * @var integer */ protected $_userId; public function getUserId() { return $this->_userId; } public function setUserId($value) { $this->_userId = $value; } /** * @var text */ protected $_path; public function getPath() { return $this->_path; } public function setPath($value) { $this->_path = $value; } /** * @var timestamp without time zone */ protected $_date; public function getDate() { return $this->_date; } public function setDate($value) { $this->_date = $value; } /** * @var text */ protected $_name; public function getName() { return $this->_name; } public function setName($value) { $this->_name = $value; } }