Package com.loop54.model.request
Class GetPopularOrRecentEntitiesRequest
java.lang.Object
com.loop54.model.request.Request
com.loop54.model.request.GetPopularOrRecentEntitiesRequest
- Direct Known Subclasses:
GetPopularEntitiesRequest,GetRecentEntitiesRequest
Base class for requests to get the most popular or most recent entities.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe interaction or navigation type to include (such as click, purchase or search).static final StringRepresents a placeholder value used in `GetRecentEntitiesRequest` and `GetPopularEntitiesRequest` to indicate that the request should target the current user's data.The entity types to include (such as Product or Query) or null for all.A user ID to retrieve the most common/recent entities for that user or null to retrieve the globally most common/recent entities.Parameters for specifying which recommendations results to retrieve and how to format them.Fields inherited from class com.loop54.model.request.Request
customData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetPopularOrRecentEntitiesRequest(String behaviorType, String forUserId, List<String> entityType) -
Method Summary
Methods inherited from class com.loop54.model.request.Request
addCustomData
-
Field Details
-
CURRENT_USER_PLACEHOLDER
Represents a placeholder value used in `GetRecentEntitiesRequest` and `GetPopularEntitiesRequest` to indicate that the request should target the current user's data.- See Also:
-
behaviorType
The interaction or navigation type to include (such as click, purchase or search). -
forUserId
A user ID to retrieve the most common/recent entities for that user or null to retrieve the globally most common/recent entities.CURRENT_USER_PLACEHOLDERcan be specified to use the user ID from the User-Id request header. -
entityType
The entity types to include (such as Product or Query) or null for all. -
resultsOptions
Parameters for specifying which recommendations results to retrieve and how to format them.
-
-
Constructor Details
-
GetPopularOrRecentEntitiesRequest
-