_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * Description of the publication. * * @param string $val The description * * @return ItemPublication */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the displayName * Title of the publication. * * @return string|null The displayName */ public function getDisplayName() { if (array_key_exists("displayName", $this->_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * Title of the publication. * * @param string $val The displayName * * @return ItemPublication */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the publishedDate * The date that the publication was published. * * @return \DateTime|null The publishedDate */ public function getPublishedDate() { if (array_key_exists("publishedDate", $this->_propDict)) { if (is_a($this->_propDict["publishedDate"], "\DateTime") || is_null($this->_propDict["publishedDate"])) { return $this->_propDict["publishedDate"]; } else { $this->_propDict["publishedDate"] = new \DateTime($this->_propDict["publishedDate"]); return $this->_propDict["publishedDate"]; } } return null; } /** * Sets the publishedDate * The date that the publication was published. * * @param \DateTime $val The publishedDate * * @return ItemPublication */ public function setPublishedDate($val) { $this->_propDict["publishedDate"] = $val; return $this; } /** * Gets the publisher * Publication or publisher for the publication. * * @return string|null The publisher */ public function getPublisher() { if (array_key_exists("publisher", $this->_propDict)) { return $this->_propDict["publisher"]; } else { return null; } } /** * Sets the publisher * Publication or publisher for the publication. * * @param string $val The publisher * * @return ItemPublication */ public function setPublisher($val) { $this->_propDict["publisher"] = $val; return $this; } /** * Gets the thumbnailUrl * URL referencing a thumbnail of the publication. * * @return string|null The thumbnailUrl */ public function getThumbnailUrl() { if (array_key_exists("thumbnailUrl", $this->_propDict)) { return $this->_propDict["thumbnailUrl"]; } else { return null; } } /** * Sets the thumbnailUrl * URL referencing a thumbnail of the publication. * * @param string $val The thumbnailUrl * * @return ItemPublication */ public function setThumbnailUrl($val) { $this->_propDict["thumbnailUrl"] = $val; return $this; } /** * Gets the webUrl * URL referencing the publication. * * @return string|null The webUrl */ public function getWebUrl() { if (array_key_exists("webUrl", $this->_propDict)) { return $this->_propDict["webUrl"]; } else { return null; } } /** * Sets the webUrl * URL referencing the publication. * * @param string $val The webUrl * * @return ItemPublication */ public function setWebUrl($val) { $this->_propDict["webUrl"] = $val; return $this; } }