GetProfileRequest

data class GetProfileRequest(account: String, async: Boolean?, address: JsonAddress) : SignaldRequestBodyV1<GetProfile, Profile>

Get all information available about a user

Constructors

GetProfileRequest
Link copied to clipboard
common
fun GetProfileRequest(account: String, async: Boolean? = null, address: JsonAddress)

Functions

getTypedResponseOrNull
Link copied to clipboard
common
open override fun getTypedResponseOrNull(responseWrapper: JsonMessageWrapper<*>): Profile?
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): Profile

Properties

account
Link copied to clipboard
common
val account: String
the signald account to use
address
Link copied to clipboard
common
val address: JsonAddress
the address to look up
async
Link copied to clipboard
common
val async: Boolean? = null
if true, return results from local store immediately, refreshing from server in the background if needed.
id
Link copied to clipboard
common
val id: String
The id to include in the request.
version
Link copied to clipboard
common
val version: String
The version to include in the request.