GetContactsRotationRecurrenceShiftCoverage.fromMap constructor

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

Implementation

factory GetContactsRotationRecurrenceShiftCoverage.fromMap(Map<String, dynamic> map) {
  return GetContactsRotationRecurrenceShiftCoverage(
    coverageTimes: pulumi.Input.fromValue(pulumi.Input.decodeList<GetContactsRotationRecurrenceShiftCoverageCoverageTime>(map['coverageTimes']!, (value) => GetContactsRotationRecurrenceShiftCoverageCoverageTime.fromMap((value as Map).cast<String, dynamic>()))),
    mapBlockKey: pulumi.Input.fromValue(map['mapBlockKey'] as String),
  );
}