View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase (google_api_dialogflow v0.78.0)

Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.

Attributes

  • caseContent (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent.t), default: nil) - A list of case content.
  • condition (type: String.t, default: nil) - The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters. See the conditions reference.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase{
    caseContent:
      [
        GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent.t()
      ]
      | nil,
    condition: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.