FunctionCallPart

public final class FunctionCallPart implements Part


Represents function call name and params received from requests.

Summary

Public fields

final @NonNull Map<@NonNull String, @NonNull JsonElement>

the function parameters and values as a Map

final @NonNull String

the name of the function to call

Public constructors

Public fields

args

public final @NonNull Map<@NonNull String, @NonNull JsonElementargs

the function parameters and values as a Map

name

public final @NonNull String name

the name of the function to call

Public constructors

FunctionCallPart

public FunctionCallPart(
    @NonNull String name,
    @NonNull Map<@NonNull String, @NonNull JsonElement> args
)
Parameters
@NonNull String name

the name of the function to call

@NonNull Map<@NonNull String, @NonNull JsonElement> args

the function parameters and values as a Map