setODataType("#microsoft.graph.onUserCreateStartExternalUsersSelfServiceSignUp"); } /** * Gets the userTypeToCreate * The type of user object to create. The possible values are: member, guest, unknownFutureValue. * * @return UserType|null The userTypeToCreate */ public function getUserTypeToCreate() { if (array_key_exists("userTypeToCreate", $this->_propDict)) { if (is_a($this->_propDict["userTypeToCreate"], "\Beta\Microsoft\Graph\Model\UserType") || is_null($this->_propDict["userTypeToCreate"])) { return $this->_propDict["userTypeToCreate"]; } else { $this->_propDict["userTypeToCreate"] = new UserType($this->_propDict["userTypeToCreate"]); return $this->_propDict["userTypeToCreate"]; } } return null; } /** * Sets the userTypeToCreate * The type of user object to create. The possible values are: member, guest, unknownFutureValue. * * @param UserType $val The value to assign to the userTypeToCreate * * @return OnUserCreateStartExternalUsersSelfServiceSignUp The OnUserCreateStartExternalUsersSelfServiceSignUp */ public function setUserTypeToCreate($val) { $this->_propDict["userTypeToCreate"] = $val; return $this; } }