commonMain.app.moviebase.tmdb.model.TmdbSearchModel.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tmdb-api-jvm Show documentation
Show all versions of tmdb-api-jvm Show documentation
Kotlin Multiplatform library to access the TMDB API.
The newest version!
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