io.github.wulkanowy.sdk.hebe.ApiResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-hebe Show documentation
Show all versions of sdk-hebe Show documentation
Unified way of retrieving data from the UONET+ register through mobile api and scraping api
package io.github.wulkanowy.sdk.hebe
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
internal class ApiResponse {
@SerialName("Envelope")
var envelope: T? = null
@SerialName("EnvelopeType")
lateinit var envelopeType: String
@SerialName("InResponseTo")
var inResponseTo: String? = null
@SerialName("RequestId")
lateinit var requestId: String
@SerialName("Status")
lateinit var status: Status
@SerialName("Timestamp")
var timestamp: Long = 0
@SerialName("TimestampFormatted")
lateinit var timestampFormatted: String
@Serializable
data class Status(
@SerialName("Code")
val code: Int,
@SerialName("Message")
val message: String,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy