GetGenresRequest

data class GetGenresRequest(val startIndex: Int? = null, val limit: Int? = null, val searchTerm: String? = null, val parentId: UUID? = null, val fields: Collection<ItemFields>? = null, val excludeItemTypes: Collection<BaseItemKind>? = null, val includeItemTypes: Collection<BaseItemKind>? = null, val isFavorite: Boolean? = null, val imageTypeLimit: Int? = null, val enableImageTypes: Collection<ImageType>? = null, val userId: UUID? = null, val nameStartsWithOrGreater: String? = null, val nameStartsWith: String? = null, val nameLessThan: String? = null, val sortBy: Collection<ItemSortBy>? = null, val sortOrder: Collection<SortOrder>? = null, val enableImages: Boolean? = true, val enableTotalRecordCount: Boolean? = true)

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

Constructors

Link copied to clipboard
constructor(startIndex: Int? = null, limit: Int? = null, searchTerm: String? = null, parentId: UUID? = null, fields: Collection<ItemFields>? = null, excludeItemTypes: Collection<BaseItemKind>? = null, includeItemTypes: Collection<BaseItemKind>? = null, isFavorite: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<ImageType>? = null, userId: UUID? = null, nameStartsWithOrGreater: String? = null, nameStartsWith: String? = null, nameLessThan: String? = null, sortBy: Collection<ItemSortBy>? = null, sortOrder: Collection<SortOrder>? = null, enableImages: Boolean? = true, enableTotalRecordCount: Boolean? = true)

Properties

Link copied to clipboard
val enableImages: Boolean? = true

Optional, include image information in output.

Link copied to clipboard

Optional. The image types to include in the output.

Link copied to clipboard

Optional. Include total record count.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val imageTypeLimit: Int? = null

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

Link copied to clipboard

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

Link copied to clipboard
val isFavorite: Boolean? = null

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

Link copied to clipboard
val limit: Int? = null

Optional. The maximum number of records to return.

Link copied to clipboard
val nameLessThan: String? = null

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

Link copied to clipboard
val nameStartsWith: String? = null

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

Link copied to clipboard

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

Link copied to clipboard
val parentId: UUID? = null

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

Link copied to clipboard
val searchTerm: String? = null

The search term.

Link copied to clipboard

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

Link copied to clipboard

Sort Order - Ascending,Descending.

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

User id.