GetTrailersRequest

@Serializable
data class GetTrailersRequest(val userId: UUID? = null, val maxOfficialRating: String? = null, val hasThemeSong: Boolean? = null, val hasThemeVideo: Boolean? = null, val hasSubtitles: Boolean? = null, val hasSpecialFeature: Boolean? = null, val hasTrailer: Boolean? = null, val adjacentTo: UUID? = null, val parentIndexNumber: Int? = null, val hasParentalRating: Boolean? = null, val isHd: Boolean? = null, val is4k: Boolean? = null, val locationTypes: Collection<LocationType>? = null, val excludeLocationTypes: Collection<LocationType>? = null, val isMissing: Boolean? = null, val isUnaired: Boolean? = null, val minCommunityRating: Double? = null, val minCriticRating: Double? = null, val minPremiereDate: DateTime? = null, val minDateLastSaved: DateTime? = null, val minDateLastSavedForUser: DateTime? = null, val maxPremiereDate: DateTime? = null, val hasOverview: Boolean? = null, val hasImdbId: Boolean? = null, val hasTmdbId: Boolean? = null, val hasTvdbId: Boolean? = null, val isMovie: Boolean? = null, val isSeries: Boolean? = null, val isNews: Boolean? = null, val isKids: Boolean? = null, val isSports: Boolean? = null, val excludeItemIds: Collection<UUID>? = null, val startIndex: Int? = null, val limit: Int? = null, val recursive: Boolean? = null, val searchTerm: String? = null, val sortOrder: Collection<SortOrder>? = null, val parentId: UUID? = null, val fields: Collection<ItemFields>? = null, val excludeItemTypes: Collection<BaseItemKind>? = null, val filters: Collection<ItemFilter>? = null, val isFavorite: Boolean? = null, val mediaTypes: Collection<MediaType>? = null, val imageTypes: Collection<ImageType>? = null, val sortBy: Collection<ItemSortBy>? = null, val isPlayed: Boolean? = null, val genres: Collection<String>? = null, val officialRatings: Collection<String>? = null, val tags: Collection<String>? = null, val years: Collection<Int>? = null, val enableUserData: Boolean? = null, val imageTypeLimit: Int? = null, val enableImageTypes: Collection<ImageType>? = null, val person: String? = null, val personIds: Collection<UUID>? = null, val personTypes: Collection<String>? = null, val studios: Collection<String>? = null, val artists: Collection<String>? = null, val excludeArtistIds: Collection<UUID>? = null, val artistIds: Collection<UUID>? = null, val albumArtistIds: Collection<UUID>? = null, val contributingArtistIds: Collection<UUID>? = null, val albums: Collection<String>? = null, val albumIds: Collection<UUID>? = null, val ids: Collection<UUID>? = null, val videoTypes: Collection<VideoType>? = null, val minOfficialRating: String? = null, val isLocked: Boolean? = null, val isPlaceHolder: Boolean? = null, val hasOfficialRating: Boolean? = null, val collapseBoxSetItems: Boolean? = null, val minWidth: Int? = null, val minHeight: Int? = null, val maxWidth: Int? = null, val maxHeight: Int? = null, val is3d: Boolean? = null, val seriesStatus: Collection<SeriesStatus>? = null, val nameStartsWithOrGreater: String? = null, val nameStartsWith: String? = null, val nameLessThan: String? = null, val studioIds: Collection<UUID>? = null, val genreIds: Collection<UUID>? = null, val enableTotalRecordCount: Boolean? = true, val enableImages: Boolean? = true)

Finds movies and trailers similar to a given trailer.

Constructors

Link copied to clipboard
constructor(userId: UUID? = null, maxOfficialRating: String? = null, hasThemeSong: Boolean? = null, hasThemeVideo: Boolean? = null, hasSubtitles: Boolean? = null, hasSpecialFeature: Boolean? = null, hasTrailer: Boolean? = null, adjacentTo: UUID? = null, parentIndexNumber: Int? = null, hasParentalRating: Boolean? = null, isHd: Boolean? = null, is4k: Boolean? = null, locationTypes: Collection<LocationType>? = null, excludeLocationTypes: Collection<LocationType>? = null, isMissing: Boolean? = null, isUnaired: Boolean? = null, minCommunityRating: Double? = null, minCriticRating: Double? = null, minPremiereDate: DateTime? = null, minDateLastSaved: DateTime? = null, minDateLastSavedForUser: DateTime? = null, maxPremiereDate: DateTime? = 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<UUID>? = null, startIndex: Int? = null, limit: Int? = null, recursive: Boolean? = null, searchTerm: String? = null, sortOrder: Collection<SortOrder>? = null, parentId: UUID? = null, fields: Collection<ItemFields>? = null, excludeItemTypes: Collection<BaseItemKind>? = null, filters: Collection<ItemFilter>? = null, isFavorite: Boolean? = null, mediaTypes: Collection<MediaType>? = null, imageTypes: Collection<ImageType>? = null, sortBy: Collection<ItemSortBy>? = null, isPlayed: Boolean? = null, genres: Collection<String>? = null, officialRatings: Collection<String>? = null, tags: Collection<String>? = null, years: Collection<Int>? = null, enableUserData: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<ImageType>? = null, person: String? = null, personIds: Collection<UUID>? = null, personTypes: Collection<String>? = null, studios: Collection<String>? = null, artists: Collection<String>? = null, excludeArtistIds: Collection<UUID>? = null, artistIds: Collection<UUID>? = null, albumArtistIds: Collection<UUID>? = null, contributingArtistIds: Collection<UUID>? = null, albums: Collection<String>? = null, albumIds: Collection<UUID>? = null, ids: Collection<UUID>? = null, videoTypes: Collection<VideoType>? = null, 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<SeriesStatus>? = null, nameStartsWithOrGreater: String? = null, nameStartsWith: String? = null, nameLessThan: String? = null, studioIds: Collection<UUID>? = null, genreIds: Collection<UUID>? = null, enableTotalRecordCount: Boolean? = true, enableImages: Boolean? = true)

Properties

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

Optional. Return items that are siblings of a supplied item.

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

Optional. If specified, results will be filtered to include only those containing the specified album artist id.

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

Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.

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

Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.

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

Optional. If specified, results will be filtered to include only those containing the specified artist id.

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

Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.

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

Whether or not to hide items behind their boxsets.

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

Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.

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

Optional. Enable the total record count.

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

Optional, include user data.

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

Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.

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

Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.

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

Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.

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

Optional. If specified, results will be filtered based on the LocationType. This 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. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.

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

Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.

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

Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.

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

Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.

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

Optional filter by items that have an IMDb id or not.

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

Optional filter by items that have official ratings.

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

Optional filter by items that have an overview or not.

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

Optional filter by items that have or do not have a parental rating.

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

Optional filter by items with special features.

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

Optional filter by items with subtitles.

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

Optional filter by items with theme songs.

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

Optional filter by items with theme videos.

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

Optional filter by items that have a TMDb id or not.

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

Optional filter by items with trailers.

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

Optional filter by items that have a TVDb id or not.

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

Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited.

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 = "imageTypes")
val imageTypes: Collection<ImageType>?

Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.

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

Optional filter by items that are 3D, or not.

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

Optional filter by items that are 4K or not.

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

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

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

Optional filter by items that are HD or not.

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

Optional filter for live tv kids.

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

Optional filter by items that are locked.

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

Optional filter by items that are missing episodes or not.

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

Optional filter for live tv movies.

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

Optional filter for live tv news.

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

Optional filter by items that are placeholders.

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

Optional filter by items that are played, or not.

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

Optional filter for live tv series.

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

Optional filter for live tv sports.

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

Optional filter by items that are unaired episodes or not.

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

Optional. The maximum number of records to return.

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

Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.

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

Optional. Filter by the maximum height of the item.

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

Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).

Link copied to clipboard
@SerialName(value = "maxPremiereDate")
val maxPremiereDate: DateTime?

Optional. The maximum premiere date. Format = ISO.

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

Optional. Filter by the maximum width of the item.

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

Optional filter by MediaType. Allows multiple, comma delimited.

Link copied to clipboard
@SerialName(value = "minCommunityRating")
val minCommunityRating: Double?

Optional filter by minimum community rating.

Link copied to clipboard
@SerialName(value = "minCriticRating")
val minCriticRating: Double?

Optional filter by minimum critic rating.

Link copied to clipboard
@SerialName(value = "minDateLastSaved")
val minDateLastSaved: DateTime?

Optional. The minimum last saved date. Format = ISO.

Link copied to clipboard
@SerialName(value = "minDateLastSavedForUser")
val minDateLastSavedForUser: DateTime?

Optional. The minimum last saved date for the current user. Format = ISO.

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

Optional. Filter by the minimum height of the item.

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

Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).

Link copied to clipboard
@SerialName(value = "minPremiereDate")
val minPremiereDate: DateTime?

Optional. The minimum premiere date. Format = ISO.

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

Optional. Filter by the minimum width of the item.

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

Optional filter by items whose name is equally or lesser than a given input string.

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

Optional filter by items whose name is sorted equally than a given input string.

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

Optional filter by items whose name is sorted equally or greater than a given input string.

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

Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.

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 = "parentIndexNumber")
val parentIndexNumber: Int?

Optional filter by parent index number.

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

Optional. If specified, results will be filtered to include only those containing the specified person.

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

Optional. If specified, results will be filtered to include only those containing the specified person id.

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

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

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

When searching within folders, this determines whether or not the search will be recursive. true/false.

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

Optional. Filter based on a search term.

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

Optional filter by Series Status. Allows multiple, comma delimited.

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

Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.

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

Sort Order - Ascending, Descending.

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

Optional. The record index to start at. All items with a lower index will be dropped from the results.

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

Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.

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

Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.

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

Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.

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

The user id supplied as query parameter; this is required when not using an API key.

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

Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.

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

Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.