_propDict)) { if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Model\DriveItemSourceApplication") || is_null($this->_propDict["application"])) { return $this->_propDict["application"]; } else { $this->_propDict["application"] = new DriveItemSourceApplication($this->_propDict["application"]); return $this->_propDict["application"]; } } return null; } /** * Sets the application * Enumeration value that indicates the source application where the file was created. * * @param DriveItemSourceApplication $val The value to assign to the application * * @return DriveItemSource The DriveItemSource */ public function setApplication($val) { $this->_propDict["application"] = $val; return $this; } /** * Gets the externalId * The external identifier for the drive item from the source. * * @return string|null The externalId */ public function getExternalId() { if (array_key_exists("externalId", $this->_propDict)) { return $this->_propDict["externalId"]; } else { return null; } } /** * Sets the externalId * The external identifier for the drive item from the source. * * @param string $val The value of the externalId * * @return DriveItemSource */ public function setExternalId($val) { $this->_propDict["externalId"] = $val; return $this; } }