GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig.fromMap constructor

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

Implementation

factory GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig(
    enableContinuousRun: (() { final guardedValue = map['enableContinuousRun']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
    enablePredeploymentRun: (() { final guardedValue = map['enablePredeploymentRun']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
    testCases: (() { final guardedValue = map['testCases']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
  );
}