15 lines
428 B
Kotlin
15 lines
428 B
Kotlin
package ch.ergon.anytask.api.dto
|
|
|
|
import kotlinx.serialization.SerialName
|
|
import kotlinx.serialization.Serializable
|
|
import kotlinx.serialization.json.JsonElement
|
|
|
|
@Serializable
|
|
data class CreateObjectRequest(
|
|
val name: String,
|
|
val body: String? = null,
|
|
@SerialName("type_key") val typeKey: String,
|
|
@SerialName("template_id") val templateId: String? = null,
|
|
val properties: List<JsonElement> = emptyList(),
|
|
)
|