_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * Answer variation description shown on search results page. * * @param string $val The value of the description * * @return AnswerVariant */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the displayName * Answer variation name displayed in search results. * * @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 * Answer variation name displayed in search results. * * @param string $val The value of the displayName * * @return AnswerVariant */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the languageTag * * @return string|null The languageTag */ public function getLanguageTag() { if (array_key_exists("languageTag", $this->_propDict)) { return $this->_propDict["languageTag"]; } else { return null; } } /** * Sets the languageTag * * @param string $val The value of the languageTag * * @return AnswerVariant */ public function setLanguageTag($val) { $this->_propDict["languageTag"] = $val; return $this; } /** * Gets the platform * * @return \Beta\Microsoft\Graph\Model\DevicePlatformType|null The platform */ public function getPlatform() { if (array_key_exists("platform", $this->_propDict)) { if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType") || is_null($this->_propDict["platform"])) { return $this->_propDict["platform"]; } else { $this->_propDict["platform"] = new \Beta\Microsoft\Graph\Model\DevicePlatformType($this->_propDict["platform"]); return $this->_propDict["platform"]; } } return null; } /** * Sets the platform * * @param \Beta\Microsoft\Graph\Model\DevicePlatformType $val The value to assign to the platform * * @return AnswerVariant The AnswerVariant */ public function setPlatform($val) { $this->_propDict["platform"] = $val; return $this; } /** * Gets the webUrl * Answer variation URL link. When users click this answer variation in search results, they will go to this URL. * * @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 * Answer variation URL link. When users click this answer variation in search results, they will go to this URL. * * @param string $val The value of the webUrl * * @return AnswerVariant */ public function setWebUrl($val) { $this->_propDict["webUrl"] = $val; return $this; } }