public abstract class GetPopularOrRecentEntitiesRequest extends Request
Modifier and Type | Field and Description |
---|---|
java.lang.String |
behaviorType
The interaction or navigation type to include (such as click, purchase or search).
|
static java.lang.String |
CURRENT_USER_PLACEHOLDER
Represents a placeholder value used in `GetRecentEntitiesRequest` and `GetPopularEntitiesRequest` to indicate that the request should
target the current user's data.
|
java.util.List<java.lang.String> |
entityType
The entity types to include (such as Product or Query) or null for all.
|
java.lang.String |
forUserId
A user ID to retrieve the most common/recent entities for that user or null to retrieve the globally most common/recent entities.
|
EntityCollectionParameters |
resultsOptions
Parameters for specifying which recommendations results to retrieve and how to format them.
|
customData
Modifier | Constructor and Description |
---|---|
protected |
GetPopularOrRecentEntitiesRequest(java.lang.String behaviorType,
java.lang.String forUserId,
java.util.List<java.lang.String> entityType) |
addCustomData
public static final java.lang.String CURRENT_USER_PLACEHOLDER
public java.lang.String behaviorType
public java.lang.String forUserId
GetGetPopularOrRecentEntitiesRequest#CURRENT_USER_PLACEHOLDER
can be specified to use the user ID from the User-Id request header.public java.util.List<java.lang.String> entityType
public final EntityCollectionParameters resultsOptions