Recombee API Client
|
Add user property More...
Public Member Functions | |
AddUserProperty (string propertyName, string type) | |
Construct the request More... | |
override string | Path () |
| |
override Dictionary< string, object > | QueryParameters () |
Get query parameters More... | |
override Dictionary< string, object > | BodyParameters () |
Get body parameters More... | |
![]() | |
Request (HttpMethod httpMethod, int timeoutMilliseconds, bool ensureHttps=false) | |
Construct the request More... | |
Properties | |
string | PropertyName [get] |
Name of the user property to be created. Currently, the following names are reserved:id , userid , case insensitively. Also, the length of the property name must not exceed 63 characters. More... | |
string | Type [get] |
Value type of the user property to be created. One of: int , double , string , boolean , timestamp , set . More... | |
![]() | |
TimeSpan | Timeout [get, set] |
Timeout for the request in milliseconds More... | |
bool | EnsureHttps [get] |
If true, HTTPS must be chosen over HTTP for this request More... | |
HttpMethod | RequestHttpMehod [get] |
Used HTTP method More... | |
Additional Inherited Members | |
![]() | |
double | ConvertToUnixTimestamp (DateTime date) |
| |
Add user property
Adding an user property is somehow equivalent to adding a column to the table of users. The users may be characterized by various properties of different types.
|
inline |
Construct the request
propertyName | Name of the user property to be created. Currently, the following names are reserved:id , userid , case insensitively. Also, the length of the property name must not exceed 63 characters. |
type | Value type of the user property to be created. One of: int , double , string , boolean , timestamp , set .
|
|
inlinevirtual |
Get body parameters
Implements Recombee.ApiClient.ApiRequests.Request.
|
inlinevirtual |
Implements Recombee.ApiClient.ApiRequests.Request.
|
inlinevirtual |
Get query parameters
Implements Recombee.ApiClient.ApiRequests.Request.
|
get |
Name of the user property to be created. Currently, the following names are reserved:id
, userid
, case insensitively. Also, the length of the property name must not exceed 63 characters.
|
get |
Value type of the user property to be created. One of: int
, double
, string
, boolean
, timestamp
, set
.
int
- Signed integer number.double
- Floating point number. It uses 64-bit base-2 format (IEEE 754 standard).string
- UTF-8 string.boolean
- true / falsetimestamp
- Value representing date and time.set
- Set of strings.