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

commonMain.net.folivo.trixnity.clientserverapi.model.uia.ResponseWithUIA.kt Maven / Gradle / Ivy

There is a newer version: 4.7.1
Show newest version
package net.folivo.trixnity.clientserverapi.model.uia

import net.folivo.trixnity.core.ErrorResponse

sealed interface ResponseWithUIA {
    data class Success(
        val value: T
    ) : ResponseWithUIA

    data class Step(
        val state: UIAState,
    ) : ResponseWithUIA

    data class Error(
        val state: UIAState,
        val errorResponse: ErrorResponse,
    ) : ResponseWithUIA
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy