commonMain.app.moviebase.tmdb.model.TmdbConfigurationModel.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 TmdbConfiguration(
@SerialName("images") val images: TmdbImagesConfiguration,
@SerialName("change_keys") val changeKeys: List = emptyList()
)
@Serializable
data class TmdbImagesConfiguration(
@SerialName("base_url") val baseUrl: String,
@SerialName("secure_base_url") val secureBaseUrl: String,
@SerialName("backdrop_sizes") val backdropSizes: List = emptyList(),
@SerialName("poster_sizes") val posterSizes: List = emptyList(),
@SerialName("logo_sizes") val logoSizes: List = emptyList(),
@SerialName("profile_sizes") val profileSizes: List = emptyList(),
@SerialName("still_sizes") val stillSizes: List = emptyList()
)