AppFunctionSchemaMetadata


public final class AppFunctionSchemaMetadata


Represents a predefined AppFunction schema.

A schema defines a function's input parameters and output. This class holds identifying information about a specific, SDK-provided schema.

Summary

Public constructors

AppFunctionSchemaMetadata(
    @NonNull String category,
    @NonNull String name,
    long version
)

Public methods

boolean
equals(Object other)
final @NonNull String

Specifies the category of the schema used by this function.

final @NonNull String

The unique name of the schema within its category.

final long

The version of the schema.

int
@NonNull String

Public constructors

AppFunctionSchemaMetadata

Added in 1.0.0-alpha01
public AppFunctionSchemaMetadata(
    @NonNull String category,
    @NonNull String name,
    long version
)

Public methods

equals

public boolean equals(Object other)

getCategory

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

Specifies the category of the schema used by this function. This allows for logical grouping of schemas. For instance, all schemas related to email functionality would be categorized as 'email'.

getName

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

The unique name of the schema within its category.

getVersion

Added in 1.0.0-alpha01
public final long getVersion()

The version of the schema. This is used to track the changes to the schema over time.

hashCode

public int hashCode()

toString

public @NonNull String toString()