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

io.github.wulkanowy.sdk.scrapper.timetable.CompletedLesson.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 io.github.wulkanowy.sdk.scrapper.adapter.CustomDateAdapter
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonNames
import java.time.LocalDateTime

@Serializable
@OptIn(ExperimentalSerializationApi::class)
data class CompletedLesson(

    @SerialName("Data")
    @JsonNames("data")
    @Serializable(with = CustomDateAdapter::class)
    val date: LocalDateTime,

    @SerialName("NrLekcji")
    @JsonNames("nrLekcji")
    val number: Int = 0,

    @SerialName("Przedmiot")
    @JsonNames("przedmiot")
    val subject: String? = "",

    @SerialName("Temat")
    @JsonNames("tematOpis")
    val topic: String? = "",

    @SerialName("Nauczyciel")
    @JsonNames("nauczyciel")
    val teacher: String? = "",

    val teacherSymbol: String? = "",

    @SerialName("Zastepstwo")
    val substitution: String? = "",

    @SerialName("Nieobecnosc")
    val absence: String? = "",

    @SerialName("ZasobyPubliczne")
    val resources: String? = "",
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy