A2uiClientCapabilities


class A2uiClientCapabilities


Represents the client capabilities advertisement sent to the agent during system initialization.

Summary

Public constructors

A2uiClientCapabilities(
    supportedCatalogIds: List<String>,
    inlineCatalogs: List<A2uiInlineCatalog>
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
Map<StringMap<StringAny?>>

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

open String

Public properties

List<A2uiInlineCatalog>

full JSON Schema definitions of catalogs advertised inline

List<String>

identifiers of external or pre-shared catalogs supported by reference.

Public constructors

A2uiClientCapabilities

A2uiClientCapabilities(
    supportedCatalogIds: List<String>,
    inlineCatalogs: List<A2uiInlineCatalog> = emptyList()
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

toPayloadMap

Added in 1.0.0-alpha01
fun toPayloadMap(): Map<StringMap<StringAny?>>

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

toString

open fun toString(): String

Public properties

inlineCatalogs

Added in 1.0.0-alpha01
val inlineCatalogsList<A2uiInlineCatalog>

full JSON Schema definitions of catalogs advertised inline

supportedCatalogIds

Added in 1.0.0-alpha01
val supportedCatalogIdsList<String>

identifiers of external or pre-shared catalogs supported by reference. This list must not include IDs of catalogs provided in inlineCatalogs.