Package io.constructor.data.model.recommendations

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Pod(@Json(name = "id") val response: String?, @Json(name = "display_name") val resultId: String?) : Serializable
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class RecommendationResultClickRequestBody(    @Json(name = "pod_id") val podId: String,     @Json(name = "strategy_id") val strategyId: String,     @Json(name = "item_id") val itemId: String,     @Json(name = "variation_id") val variationId: String?,     @Json(name = "result_id") val resultId: String?,     @Json(name = "num_results_per_page") val numResultsPerPage: Int?,     @Json(name = "result_page") val resultPage: Int?,     @Json(name = "result_count") val resultCount: Int?,     @Json(name = "result_position_on_page") val resultPositionOnPage: Int?,     @Json(name = "c") val c: String,     @Json(name = "i") val i: String,     @Json(name = "s") val s: Int,     @Json(name = "key") val key: String,     @Json(name = "ui") val ui: String?,     @Json(name = "us") val us: List<String?>,     @Json(name = "analytics_tags") val analyticsTags: Map<String, String>?,     @Json(name = "beacon") val beacon: Boolean?,     @Json(name = "section") val section: String?,     @Json(name = "_dt") val _dt: Long?) : Serializable
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class RecommendationResultViewRequestBody(    @Json(name = "pod_id") val podId: String,     @Json(name = "items") val items: List<TrackingItem>?,     @Json(name = "num_results_viewed") val numResultsViewed: Int,     @Json(name = "result_page") val resultPage: Int?,     @Json(name = "result_count") val resultCount: Int?,     @Json(name = "result_id") val resultId: String?,     @Json(name = "url") val url: String,     @Json(name = "c") val c: String,     @Json(name = "i") val i: String,     @Json(name = "s") val s: Int,     @Json(name = "key") val key: String,     @Json(name = "ui") val ui: String?,     @Json(name = "us") val us: List<String?>,     @Json(name = "analytics_tags") val analyticsTags: Map<String, String>?,     @Json(name = "beacon") val beacon: Boolean?,     @Json(name = "section") val section: String?,     @Json(name = "_dt") val _dt: Long?) : Serializable
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class RecommendationsResponse(    @Json(name = "response") val response: RecommendationsResponseInner?,     @Json(name = "result_id") val resultId: String?,     @Json(name = "request") val request: Map<String, Any?>?,     var rawData: String?) : Serializable
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class RecommendationsResponseInner(    @Json(name = "pod") val pod: Pod?,     @Json(name = "results") val results: List<Result>?,     @Json(name = "total_num_results") val resultCount: Int) : Serializable