GenresApi

class GenresApi(api: ApiClient) : Api

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun getGenre(genreName: String, userId: <Error class: unknown class>? = null): Response<<Error class: unknown class>>

Gets a genre, by name.

Link copied to clipboard
suspend fun getGenres(request: <Error class: unknown class> = GetGenresRequest()): Response<<Error class: unknown class>>
suspend fun getGenres(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>>

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