toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'constraints': pulumi.Input.mapInputValue<GetUpgradesUpgradeScheduleConstraints, Map<String, dynamic>>(constraints, (value) => value.toMap()),
    'editWindows': pulumi.Input.mapInputValue<List<GetUpgradesUpgradeScheduleEditWindow>, List<Map<String, dynamic>>>(editWindows, (value) => pulumi.Input.encodeList<GetUpgradesUpgradeScheduleEditWindow, Map<String, dynamic>>(value, (value) => value.toMap())),
    'lastEditor': lastEditor,
    'startTime': startTime,
    'weeklyWindows': pulumi.Input.mapInputValue<List<GetUpgradesUpgradeScheduleWeeklyWindow>, List<Map<String, dynamic>>>(weeklyWindows, (value) => pulumi.Input.encodeList<GetUpgradesUpgradeScheduleWeeklyWindow, Map<String, dynamic>>(value, (value) => value.toMap())),
  };
}