io.github.wulkanowy.sdk.scrapper.messages.Recipient.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.messages
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
@Serializable
data class Recipient(
@SerialName("skrzynkaGlobalKey")
val mailboxGlobalKey: String,
@SerialName("nazwa")
val fullName: String,
@Transient
val type: RecipientType = RecipientType.UNKNOWN,
@Transient
val userName: String = "",
@Transient
val studentName: String = "",
@Transient
val schoolNameShort: String = "",
)
enum class RecipientType(val letter: String) {
STUDENT("U"),
PARENT("R"),
GUARDIAN("O"),
EMPLOYEE("P"),
UNKNOWN(""),
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy