GetYearsRequest

@Serializable
data class GetYearsRequest(val startIndex: Int? = null, val limit: Int? = null, val sortOrder: Collection<SortOrder>? = null, val parentId: UUID? = null, val fields: Collection<ItemFields>? = null, val excludeItemTypes: Collection<BaseItemKind>? = null, val includeItemTypes: Collection<BaseItemKind>? = null, val mediaTypes: Collection<MediaType>? = null, val sortBy: Collection<ItemSortBy>? = null, val enableUserData: Boolean? = null, val imageTypeLimit: Int? = null, val enableImageTypes: Collection<ImageType>? = null, val userId: UUID? = null, val recursive: Boolean? = true, val enableImages: Boolean? = true)

Get years.

Constructors

Link copied to clipboard
constructor(startIndex: Int? = null, limit: Int? = null, sortOrder: Collection<SortOrder>? = null, parentId: UUID? = null, fields: Collection<ItemFields>? = null, excludeItemTypes: Collection<BaseItemKind>? = null, includeItemTypes: Collection<BaseItemKind>? = null, mediaTypes: Collection<MediaType>? = null, sortBy: Collection<ItemSortBy>? = null, enableUserData: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<ImageType>? = null, userId: UUID? = null, recursive: Boolean? = true, enableImages: Boolean? = true)

Properties

Link copied to clipboard
@SerialName(value = "enableImages")
val enableImages: Boolean?

Optional. Include image information in output.

Link copied to clipboard
@SerialName(value = "enableImageTypes")
val enableImageTypes: Collection<ImageType>?

Optional. The image types to include in the output.

Link copied to clipboard
@SerialName(value = "enableUserData")
val enableUserData: Boolean?

Optional. Include user data.

Link copied to clipboard
@SerialName(value = "excludeItemTypes")
val excludeItemTypes: Collection<BaseItemKind>?

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

Link copied to clipboard
@SerialName(value = "fields")
val fields: Collection<ItemFields>?

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

Link copied to clipboard
@SerialName(value = "imageTypeLimit")
val imageTypeLimit: Int?

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

Link copied to clipboard
@SerialName(value = "includeItemTypes")
val includeItemTypes: Collection<BaseItemKind>?

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

Link copied to clipboard
@SerialName(value = "limit")
val limit: Int?

Optional. The maximum number of records to return.

Link copied to clipboard
@SerialName(value = "mediaTypes")
val mediaTypes: Collection<MediaType>?

Optional. Filter by MediaType. Allows multiple, comma delimited.

Link copied to clipboard
@SerialName(value = "parentId")
val parentId: UUID?

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

Link copied to clipboard
@SerialName(value = "recursive")
val recursive: Boolean?

Search recursively.

Link copied to clipboard
@SerialName(value = "sortBy")
val sortBy: Collection<ItemSortBy>?

Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.

Link copied to clipboard
@SerialName(value = "sortOrder")
val sortOrder: Collection<SortOrder>?

Sort Order - Ascending,Descending.

Link copied to clipboard
@SerialName(value = "startIndex")
val startIndex: Int?

Skips over a given number of items within the results. Use for paging.

Link copied to clipboard
@SerialName(value = "userId")
val userId: UUID?

User Id.