View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3IntentTrainingPhrasePart (google_api_dialogflow v0.88.3)

Represents a part of a training phrase.

Attributes

  • parameterId (type: String.t, default: nil) - The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
  • text (type: String.t, default: nil) - Required. The text for this part.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3IntentTrainingPhrasePart{
    parameterId: String.t() | nil,
    text: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.