All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.app.moviebase.tmdb.model.TmdbSearchModel.kt Maven / Gradle / Ivy

package app.moviebase.tmdb.model

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

enum class TmdbSearchType(val value: String) {
    COMPANY("company"),
    COLLECTION("collection"),
    KEYWORD("keyword"),
    PERSON("person"),
    MOVIE("movie"),
    TV("tv"),
}

@Serializable
data class TmdbFindResults(
    @SerialName("movie_results") val movieResults: List = emptyList(),
    @SerialName("tv_results") val showResults: List = emptyList(),
    @SerialName("person_results") val personResults: List = emptyList(),
)

interface TmdbSearchable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy