ai.tock.bot.mongo.StoryMongoWrapper_.kt Maven / Gradle / Ivy
package ai.tock.bot.mongo
import ai.tock.bot.definition.Intent
import ai.tock.bot.definition.Intent_
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Collection
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.reflect.KProperty1
import org.litote.kmongo.property.KCollectionPropertyPath
import org.litote.kmongo.property.KMapPropertyPath
import org.litote.kmongo.property.KPropertyPath
private val __StoryDefinitionId: KProperty1
get() = DialogCol.StoryMongoWrapper::storyDefinitionId
private val __CurrentIntent: KProperty1
get() = DialogCol.StoryMongoWrapper::currentIntent
private val __CurrentStep: KProperty1
get() = DialogCol.StoryMongoWrapper::currentStep
private val __Actions: KProperty1?>
get() = DialogCol.StoryMongoWrapper::actions
internal class StoryMongoWrapper_(previous: KPropertyPath?, property: KProperty1<*,
DialogCol.StoryMongoWrapper?>) : KPropertyPath(previous,property) {
val storyDefinitionId: KPropertyPath
get() = KPropertyPath(this,__StoryDefinitionId)
val currentIntent: Intent_
get() = Intent_(this,DialogCol.StoryMongoWrapper::currentIntent)
val currentStep: KPropertyPath
get() = KPropertyPath(this,__CurrentStep)
val actions: ActionMongoWrapper_Col
get() = ActionMongoWrapper_Col(this,DialogCol.StoryMongoWrapper::actions)
companion object {
val StoryDefinitionId: KProperty1
get() = __StoryDefinitionId
val CurrentIntent: Intent_
get() = Intent_(null,__CurrentIntent)
val CurrentStep: KProperty1
get() = __CurrentStep
val Actions: ActionMongoWrapper_Col
get() = ActionMongoWrapper_Col(null,__Actions)}
}
internal class StoryMongoWrapper_Col(previous: KPropertyPath?, property: KProperty1<*,
Collection?>) : KCollectionPropertyPath>(previous,property) {
val storyDefinitionId: KPropertyPath
get() = KPropertyPath(this,__StoryDefinitionId)
val currentIntent: Intent_
get() = Intent_(this,DialogCol.StoryMongoWrapper::currentIntent)
val currentStep: KPropertyPath
get() = KPropertyPath(this,__CurrentStep)
val actions: ActionMongoWrapper_Col
get() = ActionMongoWrapper_Col(this,DialogCol.StoryMongoWrapper::actions)
@Suppress("UNCHECKED_CAST")
override fun memberWithAdditionalPath(additionalPath: String): StoryMongoWrapper_ =
StoryMongoWrapper_(this, customProperty(this, additionalPath))}
internal class StoryMongoWrapper_Map(previous: KPropertyPath?, property: KProperty1<*,
Map?>) : KMapPropertyPath>(previous,property) {
val storyDefinitionId: KPropertyPath
get() = KPropertyPath(this,__StoryDefinitionId)
val currentIntent: Intent_
get() = Intent_(this,DialogCol.StoryMongoWrapper::currentIntent)
val currentStep: KPropertyPath
get() = KPropertyPath(this,__CurrentStep)
val actions: ActionMongoWrapper_Col
get() = ActionMongoWrapper_Col(this,DialogCol.StoryMongoWrapper::actions)
@Suppress("UNCHECKED_CAST")
override fun memberWithAdditionalPath(additionalPath: String): StoryMongoWrapper_ =
StoryMongoWrapper_(this, customProperty(this, additionalPath))}