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 String>

the function parameters and values as a Map

final @NonNull String

the name of the function to call

Public constructors

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

Public fields

args

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

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 String> args
)
Parameters
@NonNull String name

the name of the function to call

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

the function parameters and values as a Map