io.github.wulkanowy.sdk.scrapper.register.AuthorizePermission.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.register
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
internal data class AuthorizePermissionRequest(
@SerialName("data")
val data: AuthorizePermission,
)
@Serializable
internal data class AuthorizePermission(
@SerialName("Pesel")
val pesel: String,
)
@Serializable
internal data class AuthorizePermissionResponse(
@SerialName("success")
val success: Boolean,
)
@Serializable
internal data class AuthorizePermissionPlusRequest(
val key: String,
val pesel: String,
)