Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 44c468e546 | |||
| bc4524b77f | |||
| 4cf3fb6985 |
@@ -1,3 +1,3 @@
|
||||
kotlin.code.style=official
|
||||
version=0.7.0
|
||||
version=0.8.0
|
||||
catalog=0.8.0
|
||||
|
||||
@@ -1,15 +1,19 @@
|
||||
package ltd.hlaeja.library.deviceRegistry
|
||||
|
||||
import java.time.ZonedDateTime
|
||||
import java.util.UUID
|
||||
|
||||
object Type {
|
||||
|
||||
data class Request(
|
||||
val name: String,
|
||||
val description: String,
|
||||
)
|
||||
|
||||
data class Response(
|
||||
val id: UUID,
|
||||
val timestamp: ZonedDateTime,
|
||||
val name: String,
|
||||
val description: String,
|
||||
)
|
||||
}
|
||||
|
||||
13
src/main/kotlin/ltd/hlaeja/library/deviceRegistry/Types.kt
Normal file
13
src/main/kotlin/ltd/hlaeja/library/deviceRegistry/Types.kt
Normal file
@@ -0,0 +1,13 @@
|
||||
package ltd.hlaeja.library.deviceRegistry
|
||||
|
||||
import java.time.ZonedDateTime
|
||||
import java.util.UUID
|
||||
|
||||
object Types {
|
||||
|
||||
data class Response(
|
||||
val id: UUID,
|
||||
val name: String,
|
||||
val timestamp: ZonedDateTime,
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user