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

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

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
internal data class ApiResponse(
    val success: Boolean,
    val data: T?,
    val feedback: Feedback? = null,
    val errorMessage: String? = null,
)

@Serializable
internal data class Feedback(

    @SerialName("Handled")
    val handled: Boolean?,

    @SerialName("FType")
    val type: String,

    @SerialName("Message")
    val message: String,

    @SerialName("ExceptionMessage")
    val exceptionMessage: String?,

    @SerialName("InnerExceptionMessage")
    val innerExceptionMessage: String?,

    @SerialName("success")
    val success: Boolean? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy