SetDeviceNameRequest

data class SetDeviceNameRequest(account: String, deviceName: String?) : SignaldRequestBodyV1<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

submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): EmptyResponse
submitSuspend
Link copied to clipboard
common
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): EmptyResponse

Properties

account
Link copied to clipboard
common
val account: String
The account to set the device name ofExample: "+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.