_propDict)) { if (is_a($this->_propDict["deletedDateTime"], "\DateTime") || is_null($this->_propDict["deletedDateTime"])) { return $this->_propDict["deletedDateTime"]; } else { $this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]); return $this->_propDict["deletedDateTime"]; } } return null; } /** * Sets the deletedDateTime * Date and time when the item was deleted. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The deletedDateTime * * @return RecycleBinItem */ public function setDeletedDateTime($val) { $this->_propDict["deletedDateTime"] = $val; return $this; } /** * Gets the deletedFromLocation * Relative URL of the list or folder that originally contained the item. * * @return string|null The deletedFromLocation */ public function getDeletedFromLocation() { if (array_key_exists("deletedFromLocation", $this->_propDict)) { return $this->_propDict["deletedFromLocation"]; } else { return null; } } /** * Sets the deletedFromLocation * Relative URL of the list or folder that originally contained the item. * * @param string $val The deletedFromLocation * * @return RecycleBinItem */ public function setDeletedFromLocation($val) { $this->_propDict["deletedFromLocation"] = $val; return $this; } /** * Gets the size * Size of the item in bytes. * * @return int|null The size */ public function getSize() { if (array_key_exists("size", $this->_propDict)) { return $this->_propDict["size"]; } else { return null; } } /** * Sets the size * Size of the item in bytes. * * @param int $val The size * * @return RecycleBinItem */ public function setSize($val) { $this->_propDict["size"] = intval($val); return $this; } }