update Device response to use Serializable for caching

This commit is contained in:
2024-12-27 22:36:10 +01:00
parent 8f727cc262
commit 5f5831c4a9
2 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
package ltd.hlaeja.library.deviceRegistry
import java.io.Serializable
import java.util.UUID
object Identity {
@@ -8,5 +9,10 @@ object Identity {
val client: UUID,
val node: UUID,
val device: UUID,
)
) : Serializable {
companion object {
@Suppress("ConstPropertyName")
private const val serialVersionUID = 1L
}
}
}