Class FormAction

java.lang.Object
io.micronaut.chatbots.google.api.FormAction

public class FormAction extends Object
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 Details

    • FormAction

      public FormAction()
  • Method Details

    • getActionMethodName

      @NonNull public @NonNull String getActionMethodName()
      Returns:
      The method name is used to identify which part of the form triggered the form submission.
    • setActionMethodName

      public void setActionMethodName(@NonNull @NonNull String actionMethodName)
      Parameters:
      actionMethodName - The method name is used to identify which part of the form triggered the form submission.
    • getParameters

      @Nullable public @Nullable List<ActionParameter> getParameters()
      Returns:
      List of action parameters.
    • setParameters

      public void setParameters(@Nullable @Nullable List<ActionParameter> parameters)
      Parameters:
      parameters - List of action parameters.
    • toString

      public String toString()
      Overrides:
      toString in class Object