_propDict)) { if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { return $this->_propDict["lastModifiedDateTime"]; } else { $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); return $this->_propDict["lastModifiedDateTime"]; } } return null; } /** * Sets the lastModifiedDateTime * DateTime the object was last modified. * * @param \DateTime $val The lastModifiedDateTime * * @return LocalizedNotificationMessage */ public function setLastModifiedDateTime($val) { $this->_propDict["lastModifiedDateTime"] = $val; return $this; } /** * Gets the locale * The Locale for which this message is destined. * * @return string The locale */ public function getLocale() { if (array_key_exists("locale", $this->_propDict)) { return $this->_propDict["locale"]; } else { return null; } } /** * Sets the locale * The Locale for which this message is destined. * * @param string $val The locale * * @return LocalizedNotificationMessage */ public function setLocale($val) { $this->_propDict["locale"] = $val; return $this; } /** * Gets the subject * The Message Template Subject. * * @return string The subject */ public function getSubject() { if (array_key_exists("subject", $this->_propDict)) { return $this->_propDict["subject"]; } else { return null; } } /** * Sets the subject * The Message Template Subject. * * @param string $val The subject * * @return LocalizedNotificationMessage */ public function setSubject($val) { $this->_propDict["subject"] = $val; return $this; } /** * Gets the messageTemplate * The Message Template content. * * @return string The messageTemplate */ public function getMessageTemplate() { if (array_key_exists("messageTemplate", $this->_propDict)) { return $this->_propDict["messageTemplate"]; } else { return null; } } /** * Sets the messageTemplate * The Message Template content. * * @param string $val The messageTemplate * * @return LocalizedNotificationMessage */ public function setMessageTemplate($val) { $this->_propDict["messageTemplate"] = $val; return $this; } /** * Gets the isDefault * Flag to indicate whether or not this is the default locale for language fallback. This flag can only be set. To unset, set this property to true on another Localized Notification Message. * * @return bool The isDefault */ public function getIsDefault() { if (array_key_exists("isDefault", $this->_propDict)) { return $this->_propDict["isDefault"]; } else { return null; } } /** * Sets the isDefault * Flag to indicate whether or not this is the default locale for language fallback. This flag can only be set. To unset, set this property to true on another Localized Notification Message. * * @param bool $val The isDefault * * @return LocalizedNotificationMessage */ public function setIsDefault($val) { $this->_propDict["isDefault"] = boolval($val); return $this; } }