_propDict)) { return $this->_propDict["registrationCount"]; } else { return null; } } /** * Sets the registrationCount * Provides the registration count for your tenant. * * @param int $val The value of the registrationCount * * @return UserRegistrationCount */ public function setRegistrationCount($val) { $this->_propDict["registrationCount"] = $val; return $this; } /** * Gets the registrationStatus * Represents the status of user registration. Possible values are: registered, enabled, capable, and mfaRegistered. * * @return RegistrationStatusType|null The registrationStatus */ public function getRegistrationStatus() { if (array_key_exists("registrationStatus", $this->_propDict)) { if (is_a($this->_propDict["registrationStatus"], "\Beta\Microsoft\Graph\Model\RegistrationStatusType") || is_null($this->_propDict["registrationStatus"])) { return $this->_propDict["registrationStatus"]; } else { $this->_propDict["registrationStatus"] = new RegistrationStatusType($this->_propDict["registrationStatus"]); return $this->_propDict["registrationStatus"]; } } return null; } /** * Sets the registrationStatus * Represents the status of user registration. Possible values are: registered, enabled, capable, and mfaRegistered. * * @param RegistrationStatusType $val The value to assign to the registrationStatus * * @return UserRegistrationCount The UserRegistrationCount */ public function setRegistrationStatus($val) { $this->_propDict["registrationStatus"] = $val; return $this; } }