io.github.wulkanowy.sdk.scrapper.grades.GradesStatisticsSemester.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.grades
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
@Serializable
data class GradesStatisticsSemester(
@SerialName("Subject")
val subject: String,
@SerialName("IsEmpty")
val isEmpty: Boolean,
@SerialName("Items")
val items: List?,
)
@Serializable
data class GradesStatisticsSemesterSubItem(
@SerialName("Label")
internal val label: String,
@SerialName("Description")
internal val description: String,
@SerialName("Value")
val amount: Int,
) {
@Transient
var grade: Int = 0
@Transient
var isStudentHere: Boolean = false
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy