_propDict)) { return $this->_propDict["defaultText"]; } else { return null; } } /** * Sets the defaultText * The fallback string, which is used when a requested localization isn't available. Required. * * @param string $val The value of the defaultText * * @return AccessPackageLocalizedContent */ public function setDefaultText($val) { $this->_propDict["defaultText"] = $val; return $this; } /** * Gets the localizedTexts * Content represented in a format for a specific locale. * * @return AccessPackageLocalizedText|null The localizedTexts */ public function getLocalizedTexts() { if (array_key_exists("localizedTexts", $this->_propDict)) { if (is_a($this->_propDict["localizedTexts"], "\Beta\Microsoft\Graph\Model\AccessPackageLocalizedText") || is_null($this->_propDict["localizedTexts"])) { return $this->_propDict["localizedTexts"]; } else { $this->_propDict["localizedTexts"] = new AccessPackageLocalizedText($this->_propDict["localizedTexts"]); return $this->_propDict["localizedTexts"]; } } return null; } /** * Sets the localizedTexts * Content represented in a format for a specific locale. * * @param AccessPackageLocalizedText $val The value to assign to the localizedTexts * * @return AccessPackageLocalizedContent The AccessPackageLocalizedContent */ public function setLocalizedTexts($val) { $this->_propDict["localizedTexts"] = $val; return $this; } }