getMusicGenres

suspend fun getMusicGenres(startIndex: Int? = null, limit: Int? = null, searchTerm: String? = null, parentId: <Error class: unknown class>? = null, fields: Collection<<Error class: unknown class>>? = emptyList(), excludeItemTypes: Collection<<Error class: unknown class>>? = emptyList(), includeItemTypes: Collection<<Error class: unknown class>>? = emptyList(), isFavorite: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<<Error class: unknown class>>? = emptyList(), userId: <Error class: unknown class>? = null, nameStartsWithOrGreater: String? = null, nameStartsWith: String? = null, nameLessThan: String? = null, sortBy: Collection<<Error class: unknown class>>? = emptyList(), sortOrder: Collection<<Error class: unknown class>>? = emptyList(), enableImages: Boolean? = true, enableTotalRecordCount: Boolean? = true): Response<<Error class: unknown class>>

Deprecated

This member is deprecated and may be removed in the future

Gets all music genres from a given item, folder, or the entire library.

Parameters

startIndex

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

limit

Optional. The maximum number of records to return.

searchTerm

The search term.

parentId

Specify this to localize the search to a specific item or folder. Omit to use the root.

fields

Optional. Specify additional fields of information to return in the output.

excludeItemTypes

Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited.

includeItemTypes

Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited.

isFavorite

Optional filter by items that are marked as favorite, or not.

imageTypeLimit

Optional, the max number of images to return, per image type.

enableImageTypes

Optional. The image types to include in the output.

userId

User id.

nameStartsWithOrGreater

Optional filter by items whose name is sorted equally or greater than a given input string.

nameStartsWith

Optional filter by items whose name is sorted equally than a given input string.

nameLessThan

Optional filter by items whose name is equally or lesser than a given input string.

sortBy

Optional. Specify one or more sort orders, comma delimited.

sortOrder

Sort Order - Ascending,Descending.

enableImages

Optional, include image information in output.

enableTotalRecordCount

Optional. Include total record count.


suspend fun getMusicGenres(request: <Error class: unknown class> = GetMusicGenresRequest()): Response<<Error class: unknown class>>

Deprecated

This member is deprecated and may be removed in the future

Gets all music genres from a given item, folder, or the entire library.

Parameters

request

The request parameters