GetEnvironmentDialogflowV3beta1Result.fromMap constructor

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

Implementation

factory GetEnvironmentDialogflowV3beta1Result.fromMap(Map<String, dynamic> map) {
  return GetEnvironmentDialogflowV3beta1Result(
    description: map['description'] as String,
    displayName: map['displayName'] as String,
    name: map['name'] as String,
    testCasesConfig: GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigResponse.fromMap((map['testCasesConfig']! as Map).cast<String, dynamic>()),
    updateTime: map['updateTime'] as String,
    versionConfigs: pulumi.Input.decodeList<GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponse>(map['versionConfigs']!, (value) => GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponse.fromMap((value as Map).cast<String, dynamic>())),
    webhookConfig: GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigResponse.fromMap((map['webhookConfig']! as Map).cast<String, dynamic>()),
  );
}