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

io.github.wulkanowy.sdk.scrapper.attendance.AttendanceExcuseRequest.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.attendance

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
internal data class AttendanceExcuseRequest(

    @SerialName("usprawiedliwienie")
    val excuse: Excuse,
) {

    @Serializable
    data class Excuse(

        @SerialName("Nieobecnosci")
        val absents: List,

        @SerialName("Tresc")
        val content: String?,
    ) {

        @Serializable
        data class Absent(

            @SerialName("Data")
            val date: String,

            @SerialName("IdPoraLekcji")
            val timeId: Int? = null,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy