diff --git a/buildSrc/src/main/kotlin/Config.kt b/buildSrc/src/main/kotlin/Config.kt index af996b2..d5ba0ea 100644 --- a/buildSrc/src/main/kotlin/Config.kt +++ b/buildSrc/src/main/kotlin/Config.kt @@ -4,8 +4,8 @@ object Config { const val minSdk = 21 const val major = 0 - const val minor = 9 - const val patch = 2 + const val minor = 10 + const val patch = 0 const val versionName = "$major.$minor.$patch" const val maven_group = "ch.srg.data.provider" diff --git a/data/src/main/java/ch/srg/dataProvider/integrationlayer/data/remote/Chapter.kt b/data/src/main/java/ch/srg/dataProvider/integrationlayer/data/remote/Chapter.kt index b839582..dfe7f25 100644 --- a/data/src/main/java/ch/srg/dataProvider/integrationlayer/data/remote/Chapter.kt +++ b/data/src/main/java/ch/srg/dataProvider/integrationlayer/data/remote/Chapter.kt @@ -1,4 +1,5 @@ @file:UseSerializers(DateSerializer::class) + package ch.srg.dataProvider.integrationlayer.data.remote import ch.srg.dataProvider.integrationlayer.data.ImageUrl @@ -40,6 +41,8 @@ data class Chapter( override val socialCountList: List? = null, override val displayable: Boolean = false, override val fullLengthUrn: String? = null, + val fullLengthMarkIn: Long? = null, + val fullLengthMarkOut: Long? = null, override val eventData: String? = null, override val subtitleList: List? = null, @SerialName("analyticsData") diff --git a/data/src/main/java/ch/srg/dataProvider/integrationlayer/data/remote/TimeInterval.kt b/data/src/main/java/ch/srg/dataProvider/integrationlayer/data/remote/TimeInterval.kt index 2e69ae5..4313405 100644 --- a/data/src/main/java/ch/srg/dataProvider/integrationlayer/data/remote/TimeInterval.kt +++ b/data/src/main/java/ch/srg/dataProvider/integrationlayer/data/remote/TimeInterval.kt @@ -8,7 +8,11 @@ import kotlinx.serialization.Serializable * License information is available from the LICENSE file. */ @Serializable -data class TimeInterval(val type: Type, val markIn: Long, val markOut: Long) { +data class TimeInterval( + val type: Type?, + val markIn: Long?, + val markOut: Long?, +) { enum class Type { OPENING_CREDITS, CLOSING_CREDITS