ResetSessionRequest

data class ResetSessionRequest(account: String, address: JsonAddress, timestamp: Long?) : SignaldRequestBodyV1<ResetSession, SendResponse>

reset a session with a particular user

Constructors

ResetSessionRequest
Link copied to clipboard
common
fun ResetSessionRequest(account: String, address: JsonAddress, timestamp: Long? = null)

Functions

getTypedResponseOrNull
Link copied to clipboard
common
open override fun getTypedResponseOrNull(responseWrapper: JsonMessageWrapper<*>): SendResponse?
A function to resolve the response body by verifying the type of the response and returning a non-null value iff the wrapper and data is the right type.
submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): SendResponse

Properties

account
Link copied to clipboard
common
val account: String
The account to use Example: "+12024561414"
address
Link copied to clipboard
common
val address: JsonAddress
the user to reset session with
id
Link copied to clipboard
common
val id: String
The id to include in the request.
timestamp
Link copied to clipboard
common
val timestamp: Long? = null
version
Link copied to clipboard
common
val version: String
The version to include in the request.