surrealdb-driver
0.2.0
common
surrealdb-driver
/
uk.gibby.driver.model.rpc
/
RpcResponse
Rpc
Response
@
Serializable
(
with
=
RpcResponseSerializer::class
)
sealed
class
RpcResponse
Inheritors
Success
Error
Notification
Members
Types
Error
Link copied to clipboard
@
Serializable
data
class
Error
(
val
id
:
String
,
val
error
:
JsonElement
)
:
RpcResponse
Notification
Link copied to clipboard
@
Serializable
data
class
Notification
(
val
result
:
LiveQueryAction
<
JsonElement
>
)
:
RpcResponse
Success
Link copied to clipboard
@
Serializable
data
class
Success
(
val
id
:
String
,
val
result
:
JsonElement
)
:
RpcResponse
Properties
id
Link copied to clipboard
abstract
val
id
:
String
?