GetLatestMediaRequest

@Serializable
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
@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 = "fields")
val fields: Collection<ItemFields>?

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

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

Whether or not to group items into a parent container.

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

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

Filter by items that are played, or not.

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

Return item limit.

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 = "userId")
val userId: UUID?

User id.