All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.tock.bot.mongo.ActionMongoWrapper_.kt Maven / Gradle / Ivy

package ai.tock.bot.mongo

import ai.tock.bot.engine.action.Action
import ai.tock.bot.engine.action.ActionMetadata
import ai.tock.bot.engine.action.ActionMetadata_
import ai.tock.bot.engine.dialog.EventState
import ai.tock.bot.engine.dialog.EventState_
import ai.tock.bot.engine.user.PlayerId
import ai.tock.bot.engine.user.PlayerId_
import java.time.Instant
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Collection
import kotlin.collections.Map
import kotlin.reflect.KProperty1
import org.litote.kmongo.Id
import org.litote.kmongo.property.KCollectionPropertyPath
import org.litote.kmongo.property.KMapPropertyPath
import org.litote.kmongo.property.KPropertyPath

private val __Id: KProperty1?>
    get() = DialogCol.ActionMongoWrapper::id
private val __Date: KProperty1
    get() = DialogCol.ActionMongoWrapper::date
private val __State: KProperty1
    get() = DialogCol.ActionMongoWrapper::state
private val __BotMetadata: KProperty1
    get() = DialogCol.ActionMongoWrapper::botMetadata
private val __PlayerId: KProperty1
    get() = DialogCol.ActionMongoWrapper::playerId
private val __RecipientId: KProperty1
    get() = DialogCol.ActionMongoWrapper::recipientId
private val __ApplicationId: KProperty1
    get() = DialogCol.ActionMongoWrapper::applicationId
internal open class ActionMongoWrapper_(previous: KPropertyPath?, property: KProperty1<*,
        DialogCol.ActionMongoWrapper?>) : KPropertyPath(previous,property) {
    val id: KPropertyPath?>
        get() = KPropertyPath(this,__Id)

    val date: KPropertyPath
        get() = KPropertyPath(this,__Date)

    val state: EventState_
        get() = EventState_(this,DialogCol.ActionMongoWrapper::state)

    val botMetadata: ActionMetadata_
        get() = ActionMetadata_(this,DialogCol.ActionMongoWrapper::botMetadata)

    val playerId: PlayerId_
        get() = PlayerId_(this,DialogCol.ActionMongoWrapper::playerId)

    val recipientId: PlayerId_
        get() = PlayerId_(this,DialogCol.ActionMongoWrapper::recipientId)

    val applicationId: KPropertyPath
        get() = KPropertyPath(this,__ApplicationId)

    companion object {
        val Id: KProperty1?>
            get() = __Id
        val Date: KProperty1
            get() = __Date
        val State: EventState_
            get() = EventState_(null,__State)
        val BotMetadata: ActionMetadata_
            get() = ActionMetadata_(null,__BotMetadata)
        val PlayerId: PlayerId_
            get() = PlayerId_(null,__PlayerId)
        val RecipientId: PlayerId_
            get() = PlayerId_(null,__RecipientId)
        val ApplicationId: KProperty1
            get() = __ApplicationId}
}

internal open class ActionMongoWrapper_Col(previous: KPropertyPath?, property:
        KProperty1<*, Collection?>) : KCollectionPropertyPath>(previous,property) {
    val id: KPropertyPath?>
        get() = KPropertyPath(this,__Id)

    val date: KPropertyPath
        get() = KPropertyPath(this,__Date)

    val state: EventState_
        get() = EventState_(this,DialogCol.ActionMongoWrapper::state)

    val botMetadata: ActionMetadata_
        get() = ActionMetadata_(this,DialogCol.ActionMongoWrapper::botMetadata)

    val playerId: PlayerId_
        get() = PlayerId_(this,DialogCol.ActionMongoWrapper::playerId)

    val recipientId: PlayerId_
        get() = PlayerId_(this,DialogCol.ActionMongoWrapper::recipientId)

    val applicationId: KPropertyPath
        get() = KPropertyPath(this,__ApplicationId)

    @Suppress("UNCHECKED_CAST")
    override fun memberWithAdditionalPath(additionalPath: String): ActionMongoWrapper_ =
            ActionMongoWrapper_(this, customProperty(this, additionalPath))}

internal open class ActionMongoWrapper_Map(previous: KPropertyPath?, property:
        KProperty1<*, Map?>) : KMapPropertyPath>(previous,property) {
    val id: KPropertyPath?>
        get() = KPropertyPath(this,__Id)

    val date: KPropertyPath
        get() = KPropertyPath(this,__Date)

    val state: EventState_
        get() = EventState_(this,DialogCol.ActionMongoWrapper::state)

    val botMetadata: ActionMetadata_
        get() = ActionMetadata_(this,DialogCol.ActionMongoWrapper::botMetadata)

    val playerId: PlayerId_
        get() = PlayerId_(this,DialogCol.ActionMongoWrapper::playerId)

    val recipientId: PlayerId_
        get() = PlayerId_(this,DialogCol.ActionMongoWrapper::recipientId)

    val applicationId: KPropertyPath
        get() = KPropertyPath(this,__ApplicationId)

    @Suppress("UNCHECKED_CAST")
    override fun memberWithAdditionalPath(additionalPath: String): ActionMongoWrapper_ =
            ActionMongoWrapper_(this, customProperty(this, additionalPath))}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy