A2uiComponentPayload


public final class A2uiComponentPayload


Represents a single UI component's payload.

Summary

Public constructors

A2uiComponentPayload(
    @NonNull String id,
    @NonNull String type,
    @NonNull Map<@NonNull StringObject> properties
)

Public methods

boolean
equals(Object other)
final @NonNull String

The unique identifier of the component.

final @NonNull Map<@NonNull StringObject>

A map containing the properties and attributes of this component.

final @NonNull String

The type or name of the component (e.g., "button", "text").

int
@NonNull String

Public constructors

A2uiComponentPayload

public A2uiComponentPayload(
    @NonNull String id,
    @NonNull String type,
    @NonNull Map<@NonNull StringObject> properties
)

Public methods

equals

public boolean equals(Object other)

getId

Added in 1.0.0-alpha01
public final @NonNull String getId()

The unique identifier of the component.

getProperties

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

A map containing the properties and attributes of this component.

getType

Added in 1.0.0-alpha01
public final @NonNull String getType()

The type or name of the component (e.g., "button", "text").

hashCode

public int hashCode()

toString

public @NonNull String toString()