io.github.wulkanowy.sdk.hebe.register.RegisterRequest.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.register
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import java.util.UUID
@Serializable
internal data class RegisterRequest(
@SerialName("Certificate")
val certificate: String,
@SerialName("CertificateThumbprint")
val certificateThumbprint: String,
@SerialName("CertificateType")
val certificateType: String = "RSA_PEM",
@SerialName("DeviceModel")
val deviceModel: String,
@SerialName("OS")
val os: String = "Android",
@SerialName("PIN")
val pin: String,
@SerialName("SecurityToken")
val securityToken: String,
@SerialName("SelfIdentifier")
val selfIdentifier: String = UUID.randomUUID().toString(),
)