_propDict)) { return $this->_propDict["sourceId"]; } else { return null; } } /** * Sets the sourceId * The identifier that was converted. This value is the original, un-converted identifier. * * @param string $val The value of the sourceId * * @return ConvertIdResult */ public function setSourceId($val) { $this->_propDict["sourceId"] = $val; return $this; } /** * Gets the targetId * The converted identifier. This value is not present if the conversion failed. * * @return string The targetId */ public function getTargetId() { if (array_key_exists("targetId", $this->_propDict)) { return $this->_propDict["targetId"]; } else { return null; } } /** * Sets the targetId * The converted identifier. This value is not present if the conversion failed. * * @param string $val The value of the targetId * * @return ConvertIdResult */ public function setTargetId($val) { $this->_propDict["targetId"] = $val; return $this; } /** * Gets the errorDetails * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded. * * @return GenericError The errorDetails */ public function getErrorDetails() { if (array_key_exists("errorDetails", $this->_propDict)) { if (is_a($this->_propDict["errorDetails"], "Microsoft\Graph\Model\GenericError")) { return $this->_propDict["errorDetails"]; } else { $this->_propDict["errorDetails"] = new GenericError($this->_propDict["errorDetails"]); return $this->_propDict["errorDetails"]; } } return null; } /** * Sets the errorDetails * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded. * * @param GenericError $val The value to assign to the errorDetails * * @return ConvertIdResult The ConvertIdResult */ public function setErrorDetails($val) { $this->_propDict["errorDetails"] = $val; return $this; } }