io.github.wulkanowy.sdk.scrapper.conferences.Conference.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.conferences
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 Conference(
@SerialName("Tytul")
@JsonNames("sala")
val place: String,
@SerialName("TematZebrania")
@JsonNames("opis")
val topic: String,
@SerialName("Agenda")
val agenda: String = "",
@SerialName("ObecniNaZebraniu")
@JsonNames("obecniNaZebraniu")
val presentOnConference: String,
@SerialName("ZebranieOnline")
@JsonNames("zebranieOnline")
val online: String?,
@SerialName("Id")
@JsonNames("id")
val id: Int,
@JsonNames("dataCzas")
@Serializable(with = CustomDateAdapter::class)
val date: LocalDateTime = LocalDateTime.now(),
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy