Package io.constructor.data.model.browse

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class BrowseFacetOptionsResponse(    @Json(name = "response") val response: BrowseFacetOptionsResponseInner?,     @Json(name = "result_id") val resultId: String?,     @Json(name = "request") val request: Map<String, Any?>?,     var rawData: String?) : Serializable

Models a browse facet options response

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class BrowseFacetOptionsResponseInner(@Json(name = "facets") val facets: List<FilterFacet>?) : Serializable

Models browse facet options response details

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class BrowseFacetsResponse(    @Json(name = "response") val response: BrowseFacetsResponseInner?,     @Json(name = "result_id") val resultId: String?,     @Json(name = "request") val request: Map<String, Any?>?,     var rawData: String?) : Serializable

Models a browse Facets response

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class BrowseFacetsResponseInner(@Json(name = "facets") val facets: List<FilterFacet>?, @Json(name = "total_num_results") val resultCount: Int) : Serializable

Models browse facets response details

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class BrowseGroupsResponse(    @Json(name = "response") val response: BrowseGroupsResponseInner?,     @Json(name = "result_id") val resultId: String?,     @Json(name = "request") val request: Map<String, Any?>?,     var rawData: String?) : Serializable

Models a browse groups response

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class BrowseGroupsResponseInner(@Json(name = "groups") val groups: List<FilterGroup>?) : Serializable

Models browse groups response details

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class BrowseResponse(    @Json(name = "response") val response: BrowseResponseInner?,     @Json(name = "result_id") val resultId: String?,     @Json(name = "request") val request: Map<String, Any?>?,     var rawData: String?) : Serializable

Models a browse response

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class BrowseResponseInner(    @Json(name = "collection") val collection: Collection?,     @Json(name = "facets") val facets: List<FilterFacet>?,     @Json(name = "groups") val groups: List<FilterGroup>?,     @Json(name = "results") val results: List<Result>?,     @Json(name = "sort_options") val filterSortOptions: List<FilterSortOption>? = null,     @Json(name = "total_num_results") val resultCount: Int,     @Json(name = "result_sources") val resultSources: ResultSources?,     @Json(name = "refined_content") val refinedContent: List<RefinedContent>?) : Serializable

Models browse response details

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Collection(    @Json(name = "data") val data: Map<String, Any>?,     @Json(name = "display_name") val displayName: String,     @Json(name = "id") val id: String) : Serializable

Models a collection response