ImportJobExecutionReportExecutionError.fromMap constructor

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

Implementation

factory ImportJobExecutionReportExecutionError.fromMap(Map<String, dynamic> map) {
  return ImportJobExecutionReportExecutionError(
    fileValidations: (() { final guardedValue = map['fileValidations']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<ImportJobExecutionReportExecutionErrorFileValidation>(guardedValue, (value) => ImportJobExecutionReportExecutionErrorFileValidation.fromMap((value as Map).cast<String, dynamic>()))); })(),
    jobErrors: (() { final guardedValue = map['jobErrors']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<ImportJobExecutionReportExecutionErrorJobError>(guardedValue, (value) => ImportJobExecutionReportExecutionErrorJobError.fromMap((value as Map).cast<String, dynamic>()))); })(),
  );
}