io.github.wulkanowy.sdk.scrapper.exams.Exam.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 kotlinx.serialization.Transient
import java.time.LocalDateTime
@Serializable
data class Exam(
@SerialName("DataModyfikacji")
@Serializable(with = CustomDateAdapter::class)
val entryDate: LocalDateTime,
@SerialName("Nazwa")
val subject: String,
@SerialName("Rodzaj")
val type: Int,
@SerialName("Opis")
val description: String,
@SerialName("Pracownik")
val teacher: String,
) {
@Transient
lateinit var typeName: String
@Transient
lateinit var date: LocalDateTime
@Transient
lateinit var teacherSymbol: String
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy