_propDict)) { return $this->_propDict["languageTag"]; } else { return null; } } /** * Sets the languageTag * The language to apply the override.Returned by default. Not nullable. * * @param string $val The value of the languageTag * * @return TranslationLanguageOverride */ public function setLanguageTag($val) { $this->_propDict["languageTag"] = $val; return $this; } /** * Gets the translationBehavior * The translation override behavior for the language, if any.Returned by default. Not nullable. * * @return TranslationBehavior|null The translationBehavior */ public function getTranslationBehavior() { if (array_key_exists("translationBehavior", $this->_propDict)) { if (is_a($this->_propDict["translationBehavior"], "\Beta\Microsoft\Graph\Model\TranslationBehavior") || is_null($this->_propDict["translationBehavior"])) { return $this->_propDict["translationBehavior"]; } else { $this->_propDict["translationBehavior"] = new TranslationBehavior($this->_propDict["translationBehavior"]); return $this->_propDict["translationBehavior"]; } } return null; } /** * Sets the translationBehavior * The translation override behavior for the language, if any.Returned by default. Not nullable. * * @param TranslationBehavior $val The value to assign to the translationBehavior * * @return TranslationLanguageOverride The TranslationLanguageOverride */ public function setTranslationBehavior($val) { $this->_propDict["translationBehavior"] = $val; return $this; } }