GetLatestMediaRequest

data class GetLatestMediaRequest(val userId: UUID? = null, val parentId: UUID? = null, val fields: Collection<ItemFields>? = null, val includeItemTypes: Collection<BaseItemKind>? = null, val isPlayed: Boolean? = null, val enableImages: Boolean? = null, val imageTypeLimit: Int? = null, val enableImageTypes: Collection<ImageType>? = null, val enableUserData: Boolean? = null, val limit: Int? = 20, val groupItems: Boolean? = true)

Latest media.

Constructors

Link copied to clipboard
constructor(userId: UUID? = null, parentId: UUID? = null, fields: Collection<ItemFields>? = null, includeItemTypes: Collection<BaseItemKind>? = null, isPlayed: Boolean? = null, enableImages: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<ImageType>? = null, enableUserData: Boolean? = null, limit: Int? = 20, groupItems: Boolean? = true)

Properties

Link copied to clipboard
val enableImages: Boolean? = null

Optional. include image information in output.

Link copied to clipboard

Optional. The image types to include in the output.

Link copied to clipboard
val enableUserData: Boolean? = null

Optional. include user data.

Link copied to clipboard

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

Link copied to clipboard
val groupItems: Boolean? = true

Whether or not to group items into a parent container.

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 based on item type. This allows multiple, comma delimited.

Link copied to clipboard
val isPlayed: Boolean? = null

Filter by items that are played, or not.

Link copied to clipboard
val limit: Int? = 20

Return item limit.

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 userId: UUID? = null

User id.