GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse class
Represents a part of a training phrase.
Constructors
-
GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse({required Input<
String> alias, required Input<String> entityType, required Input<String> text, required Input<bool> userDefined}) -
Creates a new GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse.
aliasOptional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.entityTypeOptional. The entity type name prefixed with@. This field is required for annotated parts of the training phrase.textThe text for this part.userDefinedOptional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.const -
GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
alias
→ Input<
String> -
Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
final
-
entityType
→ Input<
String> -
Optional. The entity type name prefixed with
@. This field is required for annotated parts of the training phrase.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
text
→ Input<
String> -
The text for this part.
final
-
userDefined
→ Input<
bool> -
Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited