$userId
$userId : string
This is a unqiue identifier for a registered user.
Strings in the PHP client are always UTF-8 encoded.
A user in the recommendation system. A user is an entity which generates event, and can get recommendations.
$nameValues : array<mixed,\GravityNameValue>
NameValues provide additional description of the user.
There can multiple NameValues with the same name. The order of NameValues will not be preserved.
The recommendation engine in most cases does not require detailed information about the users, usually only some basic information can be used to enhance the quality of recommendation. For example:
Name | Description |
---|---|
ZipCode | The zip code of the user. |
City | The city of the user. |
Country | The country of the user. |
$hidden : boolean
True if the user is hidden. A no more existing user should be set to hidden.