commonMain.app.moviebase.tmdb.model.TmdbKeywordsModel.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
@Serializable
data class TmdbKeywordDetail(
val adult: Boolean,
@SerialName("backdrop_path") val backdropPath: String?,
val id: Int,
val name: String,
@SerialName("original_language") val originalLanguage: String,
@SerialName("original_name") val originalName: String,
@SerialName("overview") val overview: String,
@SerialName("poster_path") val posterPath: String?
) : TmdbSearchable
@Serializable
data class TmdbKeywordPageResult(
@SerialName("page") override val page: Int,
@SerialName("results") override val results: List = emptyList(),
@SerialName("total_results") override val totalResults: Int,
@SerialName("total_pages") override val totalPages: Int
) : TmdbPageResult