GetSearchHintsRequest

data class GetSearchHintsRequest(val startIndex: Int? = null, val limit: Int? = null, val userId: UUID? = null, val searchTerm: String, val includeItemTypes: Collection<BaseItemKind>? = null, val excludeItemTypes: Collection<BaseItemKind>? = null, val mediaTypes: Collection<MediaType>? = null, val parentId: UUID? = null, val isMovie: Boolean? = null, val isSeries: Boolean? = null, val isNews: Boolean? = null, val isKids: Boolean? = null, val isSports: Boolean? = null, val includePeople: Boolean? = true, val includeMedia: Boolean? = true, val includeGenres: Boolean? = true, val includeStudios: Boolean? = true, val includeArtists: Boolean? = true)

The search hint result.

Constructors

Link copied to clipboard
constructor(startIndex: Int? = null, limit: Int? = null, userId: UUID? = null, searchTerm: String, includeItemTypes: Collection<BaseItemKind>? = null, excludeItemTypes: Collection<BaseItemKind>? = null, mediaTypes: Collection<MediaType>? = null, parentId: UUID? = null, isMovie: Boolean? = null, isSeries: Boolean? = null, isNews: Boolean? = null, isKids: Boolean? = null, isSports: Boolean? = null, includePeople: Boolean? = true, includeMedia: Boolean? = true, includeGenres: Boolean? = true, includeStudios: Boolean? = true, includeArtists: Boolean? = true)

Properties

Link copied to clipboard

If specified, results with these item types are filtered out. This allows multiple, comma delimited.

Link copied to clipboard
val includeArtists: Boolean? = true

Optional filter whether to include artists.

Link copied to clipboard
val includeGenres: Boolean? = true

Optional filter whether to include genres.

Link copied to clipboard

If specified, only results with the specified item types are returned. This allows multiple, comma delimited.

Link copied to clipboard
val includeMedia: Boolean? = true

Optional filter whether to include media.

Link copied to clipboard
val includePeople: Boolean? = true

Optional filter whether to include people.

Link copied to clipboard
val includeStudios: Boolean? = true

Optional filter whether to include studios.

Link copied to clipboard
val isKids: Boolean? = null

Optional filter for kids.

Link copied to clipboard
val isMovie: Boolean? = null

Optional filter for movies.

Link copied to clipboard
val isNews: Boolean? = null

Optional filter for news.

Link copied to clipboard
val isSeries: Boolean? = null

Optional filter for series.

Link copied to clipboard
val isSports: Boolean? = null

Optional filter for sports.

Link copied to clipboard
val limit: Int? = null

Optional. The maximum number of records to return.

Link copied to clipboard

If specified, only results with the specified media types are returned. This allows multiple, comma delimited.

Link copied to clipboard
val parentId: UUID? = null

If specified, only children of the parent are returned.

Link copied to clipboard

The search term to filter on.

Link copied to clipboard
val startIndex: Int? = null

Optional. The record index to start at. All items with a lower index will be dropped from the results.

Link copied to clipboard
val userId: UUID? = null

Optional. Supply a user id to search within a user's library or omit to search all.