All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.wulkanowy.sdk.scrapper.timetable.Lesson.kt Maven / Gradle / Ivy

Go to download

Unified way of retrieving data from the UONET+ register through mobile api and scraping api

There is a newer version: 2.7.0
Show newest version
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