setODataType("#microsoft.graph.singleServicePrincipal"); } /** * Gets the description * Description of this service principal. * * @return string|null The description */ public function getDescription() { if (array_key_exists("description", $this->_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * Description of this service principal. * * @param string $val The value of the description * * @return SingleServicePrincipal */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the servicePrincipalId * ID of the servicePrincipal. * * @return string|null The servicePrincipalId */ public function getServicePrincipalId() { if (array_key_exists("servicePrincipalId", $this->_propDict)) { return $this->_propDict["servicePrincipalId"]; } else { return null; } } /** * Sets the servicePrincipalId * ID of the servicePrincipal. * * @param string $val The value of the servicePrincipalId * * @return SingleServicePrincipal */ public function setServicePrincipalId($val) { $this->_propDict["servicePrincipalId"] = $val; return $this; } }