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

io.github.wulkanowy.sdk.scrapper.messages.MessageReplayDetails.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.messages

import io.github.wulkanowy.sdk.scrapper.adapter.CustomDateAdapter
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
import java.time.LocalDateTime

@Serializable
data class MessageReplayDetails(

    @SerialName("apiGlobalKey")
    val apiGlobalKey: String,

    @SerialName("data")
    @Serializable(with = CustomDateAdapter::class)
    val date: LocalDateTime,

    @SerialName("uzytkownikSkrzynkaGlobalKey")
    val mailboxId: String,

    @SerialName("nadawcaSkrzynkaGlobalKey")
    val senderMailboxId: String,

    @SerialName("nadawcaSkrzynkaNazwa")
    val senderMailboxName: String,

    @SerialName("adresaci")
    val recipients: List,

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

    @SerialName("tresc")
    val content: String,

    @SerialName("zalaczniki")
    val attachments: List,

    @SerialName("id")
    val id: Int,
) {

    @Transient
    lateinit var sender: Recipient
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy