A2uiClientDataModel


public final class A2uiClientDataModel


Represents the client data model synchronization payload sent to the agent.

This payload captures the current state of the data tree for active surfaces with sendDataModel = true and is automatically attached to outbound client event messages.

Summary

Public constructors

Public methods

boolean
equals(Object other)
final @NonNull Map<@NonNull StringObject>

A map where keys are surface IDs and values are the complete, current data model root for that surface.

int
final @NonNull Map<@NonNull String, @NonNull Map<@NonNull StringObject>>

Converts this data model object to the A2UI JSON-compatible Map structure.

@NonNull String

Public constructors

A2uiClientDataModel

public A2uiClientDataModel(@NonNull Map<@NonNull StringObject> surfaces)

Public methods

equals

public boolean equals(Object other)

getSurfaces

Added in 1.0.0-alpha01
public final @NonNull Map<@NonNull StringObjectgetSurfaces()

A map where keys are surface IDs and values are the complete, current data model root for that surface.

hashCode

public int hashCode()

toPayloadMap

Added in 1.0.0-alpha01
public final @NonNull Map<@NonNull String, @NonNull Map<@NonNull StringObject>> toPayloadMap()

Converts this data model object to the A2UI JSON-compatible Map structure.

toString

public @NonNull String toString()