RegionResizeRequestStatusLastAttempt.fromMap constructor

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

Implementation

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