SetDeviceNameRequest

data class SetDeviceNameRequest(account: String, deviceName: String?) : SignaldRequestBodyV1<SetDeviceName, EmptyResponse>

set this device's name. This will show up on the mobile device on the same account under

Constructors

SetDeviceNameRequest
Link copied to clipboard
common
fun SetDeviceNameRequest(account: String, deviceName: String? = null)

Functions

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

Properties

account
Link copied to clipboard
common
val account: String
The account to set the device name of Example: "+12024561414"
deviceName
Link copied to clipboard
common
val deviceName: String? = null
The device name
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.