ai.tock.bot.mongo.DialogFlowStateTransitionStatCol_Deserializer.kt Maven / Gradle / Ivy
package ai.tock.bot.mongo
import ai.tock.bot.admin.bot.BotApplicationConfiguration
import ai.tock.bot.engine.dialog.Dialog
import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.core.JsonToken
import com.fasterxml.jackson.core.type.TypeReference
import com.fasterxml.jackson.databind.DeserializationContext
import com.fasterxml.jackson.databind.JsonDeserializer
import com.fasterxml.jackson.databind.module.SimpleModule
import java.time.Instant
import java.util.Locale
import kotlin.Int
import kotlin.String
import kotlin.collections.Map
import kotlin.reflect.KFunction
import kotlin.reflect.KParameter
import kotlin.reflect.full.findParameterByName
import kotlin.reflect.full.primaryConstructor
import org.litote.jackson.JacksonModuleServiceLoader
import org.litote.kmongo.Id
internal class DialogFlowStateTransitionStatCol_Deserializer :
JsonDeserializer(), JacksonModuleServiceLoader {
override fun module() =
SimpleModule().addDeserializer(DialogFlowStateTransitionStatCol::class.java, this)
override fun deserialize(p: JsonParser, ctxt: DeserializationContext):
DialogFlowStateTransitionStatCol {
with(p) {
var _applicationId_: Id? = null
var _applicationId_set : Boolean = false
var _transitionId_: Id? = null
var _transitionId_set : Boolean = false
var _dialogId_: Id