add device registry Type
This commit is contained in:
15
src/main/kotlin/ltd/hlaeja/library/deviceRegistry/Type.kt
Normal file
15
src/main/kotlin/ltd/hlaeja/library/deviceRegistry/Type.kt
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
package ltd.hlaeja.library.deviceRegistry
|
||||||
|
|
||||||
|
import java.util.UUID
|
||||||
|
|
||||||
|
object Type {
|
||||||
|
|
||||||
|
data class Request(
|
||||||
|
val name: String,
|
||||||
|
)
|
||||||
|
|
||||||
|
data class Response(
|
||||||
|
val id: UUID,
|
||||||
|
val name: String,
|
||||||
|
)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user