9 Commits

4 changed files with 26 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
kotlin.code.style=official
version=0.2.0
catalog=0.4.0
version=0.5.0
catalog=0.7.0

View File

@@ -0,0 +1,17 @@
package ltd.hlaeja.library.deviceConfiguration
import java.time.ZonedDateTime
import java.util.UUID
object Node {
data class Request(
val configuration: String,
)
data class Response(
val node: UUID,
val timestamp: ZonedDateTime,
val configuration: String,
)
}

View File

@@ -11,9 +11,6 @@ object Device {
data class Response(
val id: UUID,
val type: UUID,
)
data class Identity(
val identity: String,
)
}

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
}
}
}