_propDict)) { if (is_a($this->_propDict["authenticationConfiguration"], "\Microsoft\Graph\Model\ApiAuthenticationConfigurationBase") || is_null($this->_propDict["authenticationConfiguration"])) { return $this->_propDict["authenticationConfiguration"]; } else { $this->_propDict["authenticationConfiguration"] = new ApiAuthenticationConfigurationBase($this->_propDict["authenticationConfiguration"]); return $this->_propDict["authenticationConfiguration"]; } } return null; } /** * Sets the authenticationConfiguration * The object which describes the authentication configuration details for calling the API. Basic and PKCS 12 client certificate are supported. * * @param ApiAuthenticationConfigurationBase $val The authenticationConfiguration * * @return IdentityApiConnector */ public function setAuthenticationConfiguration($val) { $this->_propDict["authenticationConfiguration"] = $val; return $this; } /** * Gets the displayName * The name of the API connector. * * @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 * The name of the API connector. * * @param string $val The displayName * * @return IdentityApiConnector */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the targetUrl * The URL of the API endpoint to call. * * @return string|null The targetUrl */ public function getTargetUrl() { if (array_key_exists("targetUrl", $this->_propDict)) { return $this->_propDict["targetUrl"]; } else { return null; } } /** * Sets the targetUrl * The URL of the API endpoint to call. * * @param string $val The targetUrl * * @return IdentityApiConnector */ public function setTargetUrl($val) { $this->_propDict["targetUrl"] = $val; return $this; } }