GetContactsRotationRecurrenceMonthlySetting.fromMap constructor

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

Implementation

factory GetContactsRotationRecurrenceMonthlySetting.fromMap(Map<String, dynamic> map) {
  return GetContactsRotationRecurrenceMonthlySetting(
    dayOfMonth: pulumi.Input.fromValue((map['dayOfMonth'] as num).toInt()),
    handOffTimes: pulumi.Input.fromValue(pulumi.Input.decodeList<GetContactsRotationRecurrenceMonthlySettingHandOffTime>(map['handOffTimes']!, (value) => GetContactsRotationRecurrenceMonthlySettingHandOffTime.fromMap((value as Map).cast<String, dynamic>()))),
  );
}