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