PersonsApi

class PersonsApi(api: ApiClient) : Api

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun getPerson(name: String, userId: <Error class: unknown class>? = null): Response<<Error class: unknown class>>

Get person by name.

Link copied to clipboard
suspend fun getPersons(request: <Error class: unknown class> = GetPersonsRequest()): Response<<Error class: unknown class>>
suspend fun getPersons(limit: Int? = null, searchTerm: String? = null, fields: Collection<<Error class: unknown class>>? = emptyList(), filters: Collection<<Error class: unknown class>>? = emptyList(), isFavorite: Boolean? = null, enableUserData: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<<Error class: unknown class>>? = emptyList(), excludePersonTypes: Collection<String>? = emptyList(), personTypes: Collection<String>? = emptyList(), appearsInItemId: <Error class: unknown class>? = null, userId: <Error class: unknown class>? = null, enableImages: Boolean? = true): Response<<Error class: unknown class>>

Gets all persons.