GetIntentDialogflowV3beta1Result.fromMap constructor

GetIntentDialogflowV3beta1Result.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetIntentDialogflowV3beta1Result.fromMap(Map<String, dynamic> map) {
  return GetIntentDialogflowV3beta1Result(
    description: map['description'] as String,
    displayName: map['displayName'] as String,
    isFallback: map['isFallback'] as bool,
    labels: (map['labels'] as Map).cast<String, String>(),
    name: map['name'] as String,
    parameters: pulumi.Input.decodeList<GoogleCloudDialogflowCxV3beta1IntentParameterResponse>(map['parameters']!, (value) => GoogleCloudDialogflowCxV3beta1IntentParameterResponse.fromMap((value as Map).cast<String, dynamic>())),
    priority: map['priority'] as int,
    trainingPhrases: pulumi.Input.decodeList<GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponse>(map['trainingPhrases']!, (value) => GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponse.fromMap((value as Map).cast<String, dynamic>())),
  );
}