package com.example.modifier.model

import kotlinx.serialization.Serializable

@Serializable
class UpdateDeviceAction : BaseAction {
    companion object {
        const val NAME = "updateDevice"
    }

    val data: UpdateDeviceData

    constructor(id: String, data: UpdateDeviceData) : super(id, NAME) {
        this.data = data
    }
}

@Serializable
class UpdateDeviceData(val id: String?, val name: String?) {
}