Package io.constructor.data.builder

Types

Link copied to clipboard
class AutocompleteRequest(    val term: String,     val filters: Map<String, List<String>>? = null,     val numResultsPerSection: Map<String, Int>? = null,     val hiddenFields: List<String>? = null,     val variationsMap: VariationsMap? = null,     val sectionFilters: Map<String, Map<String, List<String>>>? = null)

Create an Autocomplete request object utilizing a builder

Link copied to clipboard
class BrowseFacetOptionsRequest(val facetName: String, val showHiddenFacets: Boolean? = null)

Create a Browse facet options request object utilizing a builder

Link copied to clipboard
class BrowseFacetsRequest(    val page: Int? = null,     val offset: Int? = null,     val numResultsPerPage: Int? = null,     val showHiddenFacets: Boolean? = null)

Create a Browse facets request object utilizing a builder

Link copied to clipboard
class BrowseGroupsRequest(val groupId: String? = null, val groupsMaxDepth: Int? = null)

Create a Browse groups request object utilizing a builder

Link copied to clipboard
class BrowseItemsRequest(    val ids: List<String>,     val filters: Map<String, List<String>>? = null,     val page: Int? = null,     val perPage: Int? = null,     val sortBy: String? = null,     val sortOrder: String? = null,     val section: String? = null,     val hiddenFields: List<String>? = null,     val hiddenFacets: List<String>? = null,     val groupsSortBy: String? = null,     val groupsSortOrder: String? = null,     val variationsMap: VariationsMap? = null,     val preFilterExpression: String? = null,     val fmtOptions: Map<String, Any>? = null)

Create a Browse Items request object utilizing a builder

Link copied to clipboard
class BrowseRequest(    val filterName: String,     val filterValue: String,     val filters: Map<String, List<String>>? = null,     val page: Int? = null,     val perPage: Int? = null,     val sortBy: String? = null,     val sortOrder: String? = null,     val section: String? = null,     val hiddenFields: List<String>? = null,     val hiddenFacets: List<String>? = null,     val groupsSortBy: String? = null,     val groupsSortOrder: String? = null,     val variationsMap: VariationsMap? = null,     val preFilterExpression: String? = null,     val fmtOptions: Map<String, Any>? = null)

Create a Browse request object utilizing a builder

Link copied to clipboard
class QuizRequest(    val quizId: String,     val quizVersionId: String? = null,     val quizSessionId: String? = null,     val answers: List<List<String>>? = null,     val section: String? = null,     val page: Int? = null,     val perPage: Int? = null,     val filters: Map<String, List<String>>? = null)

Create a Quiz request object utilizing a builder

Link copied to clipboard
class RecommendationsRequest(    val podId: String,     val filters: Map<String, List<String>>? = null,     val itemIds: List<String>? = null,     val term: String? = null,     val numResults: Int? = null,     val section: String? = null,     val hiddenFields: List<String>? = null,     val variationsMap: VariationsMap? = null,     val preFilterExpression: String? = null)

Create a Recommendations request object utilizing a builder

Link copied to clipboard
class SearchRequest(    val term: String,     val filters: Map<String, List<String>>? = null,     val page: Int? = null,     val perPage: Int? = null,     val sortBy: String? = null,     val sortOrder: String? = null,     val section: String? = null,     val hiddenFields: List<String>? = null,     val hiddenFacets: List<String>? = null,     val groupsSortBy: String? = null,     val groupsSortOrder: String? = null,     val variationsMap: VariationsMap? = null,     val preFilterExpression: String? = null,     val fmtOptions: Map<String, Any>? = null)

Create a Search request object utilizing a builder