TrailersApi

class TrailersApi(api: ApiClient) : Api

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun getTrailers(request: <Error class: unknown class> = GetTrailersRequest()): Response<<Error class: unknown class>>
suspend fun getTrailers(userId: <Error class: unknown class>? = null, maxOfficialRating: String? = null, hasThemeSong: Boolean? = null, hasThemeVideo: Boolean? = null, hasSubtitles: Boolean? = null, hasSpecialFeature: Boolean? = null, hasTrailer: Boolean? = null, adjacentTo: <Error class: unknown class>? = null, parentIndexNumber: Int? = null, hasParentalRating: Boolean? = null, isHd: Boolean? = null, is4k: Boolean? = null, locationTypes: Collection<<Error class: unknown class>>? = emptyList(), excludeLocationTypes: Collection<<Error class: unknown class>>? = emptyList(), isMissing: Boolean? = null, isUnaired: Boolean? = null, minCommunityRating: Double? = null, minCriticRating: Double? = null, minPremiereDate: <Error class: unknown class>? = null, minDateLastSaved: <Error class: unknown class>? = null, minDateLastSavedForUser: <Error class: unknown class>? = null, maxPremiereDate: <Error class: unknown class>? = null, hasOverview: Boolean? = null, hasImdbId: Boolean? = null, hasTmdbId: Boolean? = null, hasTvdbId: Boolean? = null, isMovie: Boolean? = null, isSeries: Boolean? = null, isNews: Boolean? = null, isKids: Boolean? = null, isSports: Boolean? = null, excludeItemIds: Collection<<Error class: unknown class>>? = emptyList(), startIndex: Int? = null, limit: Int? = null, recursive: Boolean? = null, searchTerm: String? = null, sortOrder: Collection<<Error class: unknown class>>? = emptyList(), parentId: <Error class: unknown class>? = null, fields: Collection<<Error class: unknown class>>? = emptyList(), excludeItemTypes: Collection<<Error class: unknown class>>? = emptyList(), filters: Collection<<Error class: unknown class>>? = emptyList(), isFavorite: Boolean? = null, mediaTypes: Collection<<Error class: unknown class>>? = emptyList(), imageTypes: Collection<<Error class: unknown class>>? = emptyList(), sortBy: Collection<<Error class: unknown class>>? = emptyList(), isPlayed: Boolean? = null, genres: Collection<String>? = emptyList(), officialRatings: Collection<String>? = emptyList(), tags: Collection<String>? = emptyList(), years: Collection<Int>? = emptyList(), enableUserData: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<<Error class: unknown class>>? = emptyList(), person: String? = null, personIds: Collection<<Error class: unknown class>>? = emptyList(), personTypes: Collection<String>? = emptyList(), studios: Collection<String>? = emptyList(), artists: Collection<String>? = emptyList(), excludeArtistIds: Collection<<Error class: unknown class>>? = emptyList(), artistIds: Collection<<Error class: unknown class>>? = emptyList(), albumArtistIds: Collection<<Error class: unknown class>>? = emptyList(), contributingArtistIds: Collection<<Error class: unknown class>>? = emptyList(), albums: Collection<String>? = emptyList(), albumIds: Collection<<Error class: unknown class>>? = emptyList(), ids: Collection<<Error class: unknown class>>? = emptyList(), videoTypes: Collection<<Error class: unknown class>>? = emptyList(), minOfficialRating: String? = null, isLocked: Boolean? = null, isPlaceHolder: Boolean? = null, hasOfficialRating: Boolean? = null, collapseBoxSetItems: Boolean? = null, minWidth: Int? = null, minHeight: Int? = null, maxWidth: Int? = null, maxHeight: Int? = null, is3d: Boolean? = null, seriesStatus: Collection<<Error class: unknown class>>? = emptyList(), nameStartsWithOrGreater: String? = null, nameStartsWith: String? = null, nameLessThan: String? = null, studioIds: Collection<<Error class: unknown class>>? = emptyList(), genreIds: Collection<<Error class: unknown class>>? = emptyList(), enableTotalRecordCount: Boolean? = true, enableImages: Boolean? = true): Response<<Error class: unknown class>>

Finds movies and trailers similar to a given trailer.