io.github.wulkanowy.sdk.scrapper.timetable.Lesson.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.timetable
import java.time.LocalDate
import java.time.LocalDateTime
data class Timetable(
val headers: List,
val lessons: List,
val additional: List,
)
data class Lesson(
val number: Int = 0,
val start: LocalDateTime,
val end: LocalDateTime,
val date: LocalDate,
val subject: String = "",
val subjectOld: String = "",
val group: String = "",
val room: String = "",
val roomOld: String = "",
val teacher: String = "",
val teacherOld: String = "",
val info: String = "",
val changes: Boolean = false,
val canceled: Boolean = false,
)
data class TimetableDayHeader(
val date: LocalDate,
val content: String,
)
data class LessonAdditional(
val start: LocalDateTime,
val end: LocalDateTime,
val date: LocalDate,
val subject: String,
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy