Package io.micronaut.chatbots.google.api
Class FormAction
java.lang.Object
io.micronaut.chatbots.google.api.FormAction
A form action describes the behavior when the form is submitted. For example, an Apps Script can be invoked to handle the form.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
@Nullable List<ActionParameter>
void
setActionMethodName
(@NonNull String actionMethodName) void
setParameters
(@Nullable List<ActionParameter> parameters) toString()
-
Constructor Details
-
FormAction
public FormAction()
-
-
Method Details
-
getActionMethodName
- Returns:
- The method name is used to identify which part of the form triggered the form submission.
-
setActionMethodName
- Parameters:
actionMethodName
- The method name is used to identify which part of the form triggered the form submission.
-
getParameters
- Returns:
- List of action parameters.
-
setParameters
- Parameters:
parameters
- List of action parameters.
-
toString
-