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

io.github.wulkanowy.sdk.scrapper.grades.GradesStatisticsPartial.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.grades

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

@Serializable
data class GradesStatisticsPartial(

    @SerialName("Subject")
    val subject: String,

    @SerialName("IsAverage")
    val isAverage: Boolean,

    @SerialName("ClassSeries")
    val classSeries: GradeStatisticsPartialSeries,

    @SerialName("StudentSeries")
    val studentSeries: GradeStatisticsPartialSeries,
)

@Serializable
data class GradeStatisticsPartialSeries(

    @SerialName("Average")
    val average: String?,

    @SerialName("IsEmpty")
    val isEmpty: Boolean,

    @SerialName("Items")
    val items: List?,
)

@Serializable
data class GradeStatisticsPartialItem(

    @SerialName("Label")
    val label: String,

    @SerialName("Value")
    val amount: Int? = 0,
) {

    @Transient
    var grade: Int = 0
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy