GetPersonsRequest

@Serializable
data class GetPersonsRequest(val limit: Int? = null, val searchTerm: String? = null, val fields: Collection<ItemFields>? = null, val filters: Collection<ItemFilter>? = null, val isFavorite: Boolean? = null, val enableUserData: Boolean? = null, val imageTypeLimit: Int? = null, val enableImageTypes: Collection<ImageType>? = null, val excludePersonTypes: Collection<String>? = null, val personTypes: Collection<String>? = null, val appearsInItemId: UUID? = null, val userId: UUID? = null, val enableImages: Boolean? = true)

All persons.

Constructors

Link copied to clipboard
constructor(limit: Int? = null, searchTerm: String? = null, fields: Collection<ItemFields>? = null, filters: Collection<ItemFilter>? = null, isFavorite: Boolean? = null, enableUserData: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<ImageType>? = null, excludePersonTypes: Collection<String>? = null, personTypes: Collection<String>? = null, appearsInItemId: UUID? = null, userId: UUID? = null, enableImages: Boolean? = true)

Properties

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

Optional. If specified, person results will be filtered on items related to said persons.

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 = "excludePersonTypes")
val excludePersonTypes: Collection<String>?

Optional. If specified results will be filtered to exclude those containing the specified PersonType. 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 = "filters")
val filters: Collection<ItemFilter>?

Optional. Specify additional filters to apply.

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 = "isFavorite")
val isFavorite: Boolean?

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

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

Optional. The maximum number of records to return.

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

Optional. If specified results will be filtered to include only those containing the specified PersonType. Allows multiple, comma-delimited.

Link copied to clipboard
@SerialName(value = "searchTerm")
val searchTerm: String?

The search term.

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

User id.