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

io.github.wulkanowy.sdk.hebe.ApiResponse.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.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