_propDict)) { if (is_a($this->_propDict["applicationMode"], "\Beta\Microsoft\Graph\Model\ApplicationMode") || is_null($this->_propDict["applicationMode"])) { return $this->_propDict["applicationMode"]; } else { $this->_propDict["applicationMode"] = new ApplicationMode($this->_propDict["applicationMode"]); return $this->_propDict["applicationMode"]; } } return null; } /** * Sets the applicationMode * * @param ApplicationMode $val The value to assign to the applicationMode * * @return CurrentLabel The CurrentLabel */ public function setApplicationMode($val) { $this->_propDict["applicationMode"] = $val; return $this; } /** * Gets the id * * @return string|null The id */ public function getId() { if (array_key_exists("id", $this->_propDict)) { return $this->_propDict["id"]; } else { return null; } } /** * Sets the id * * @param string $val The value of the id * * @return CurrentLabel */ public function setId($val) { $this->_propDict["id"] = $val; return $this; } }