io.github.wulkanowy.sdk.scrapper.exams.ExamResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-scrapper Show documentation
Show all versions of sdk-scrapper Show documentation
Unified way of retrieving data from the UONET+ register through mobile api and scraping api
package io.github.wulkanowy.sdk.scrapper.exams
import io.github.wulkanowy.sdk.scrapper.adapter.CustomDateAdapter
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import java.time.LocalDateTime
@Serializable
internal class ExamResponse {
@SerialName("SprawdzianyGroupedByDayList")
var weeks: List = emptyList()
@Serializable
class ExamDay {
@SerialName("Data")
@Serializable(with = CustomDateAdapter::class)
lateinit var date: LocalDateTime
@SerialName("Sprawdziany")
lateinit var exams: List
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy