A2uiUpdateDataModelMessage


class A2uiUpdateDataModelMessage : A2uiServerToClientMessage


Updates the data model of a surface.

Summary

Public constructors

A2uiUpdateDataModelMessage(surfaceId: String, path: String, value: Any?)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

String

The absolute JSON pointer path to the data point to update.

open String

The ID of the surface to update.

Any?

The new value to store.

Public constructors

A2uiUpdateDataModelMessage

Added in 1.0.0-alpha01
A2uiUpdateDataModelMessage(
    surfaceId: String,
    path: String = "/",
    value: Any? = null
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

path

Added in 1.0.0-alpha01
val pathString

The absolute JSON pointer path to the data point to update. Defaults to root ("/") representing the root of the data model.

surfaceId

open val surfaceIdString

The ID of the surface to update.

value

Added in 1.0.0-alpha01
val valueAny?

The new value to store. If null (or omitted in JSON), the key/path is deleted from the data model.