ResolveAddressRequest

data class ResolveAddressRequest(account: String, partial: JsonAddress) : SignaldRequestBodyV1<ResolveAddress, JsonAddress>

Resolve a partial JsonAddress with only a number or UUID to one with both. Anywhere that signald accepts a JsonAddress will except a partial, this is a convenience function for client authors, mostly because signald doesn't resolve all the partials it returns

Constructors

ResolveAddressRequest
Link copied to clipboard
common
fun ResolveAddressRequest(account: String, partial: JsonAddress)

Functions

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

Properties

account
Link copied to clipboard
common
val account: String
The signal account to use Example: "+12024561414"
id
Link copied to clipboard
common
val id: String
The id to include in the request.
partial
Link copied to clipboard
common
val partial: JsonAddress
The partial address, missing fields
version
Link copied to clipboard
common
val version: String
The version to include in the request.