AssetAutocompleteResponsePredictionsInner

data class AssetAutocompleteResponsePredictionsInner(val name: String? = null, val highlighted: String? = null, val storeId: String, val types: List<String>? = null, val matchedSubstrings: List<MatchedSubstring>? = null)

Parameters

name

The name property of each prediction will be filled with the localized name of your asset in the language you provided in your query if it exists, or else the default name property.

highlighted

an HTML formatted string with, if it exists, the matched substring(s) in bold font.

storeId

A textual identifier that uniquely identifies an Asset. It must matches the following regexp [A-Za-z0-9]+

types

Contains an array of types describing the Asset.

matchedSubstrings

Constructors

constructor(name: String? = null, highlighted: String? = null, storeId: String, types: List<String>? = null, matchedSubstrings: List<MatchedSubstring>? = null)

Properties

Link copied to clipboard
@SerializedName(value = "highlighted")
val highlighted: String? = null
Link copied to clipboard
@SerializedName(value = "matched_substrings")
val matchedSubstrings: List<MatchedSubstring>? = null
Link copied to clipboard
@SerializedName(value = "name")
val name: String? = null
Link copied to clipboard
@SerializedName(value = "store_id")
val storeId: String
Link copied to clipboard
@SerializedName(value = "types")
val types: List<String>? = null