toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'customActionTimeoutInMins': customActionTimeoutInMins,
    'daysOfWeeks': pulumi.Input.mapInputValue<List<GetCloudExadataInfrastructureMaintenanceWindowDaysOfWeek>, List<Map<String, dynamic>>>(daysOfWeeks, (value) => pulumi.Input.encodeList<GetCloudExadataInfrastructureMaintenanceWindowDaysOfWeek, Map<String, dynamic>>(value, (value) => value.toMap())),
    'hoursOfDays': hoursOfDays,
    'isCustomActionTimeoutEnabled': isCustomActionTimeoutEnabled,
    'leadTimeInWeeks': leadTimeInWeeks,
    'months': pulumi.Input.mapInputValue<List<GetCloudExadataInfrastructureMaintenanceWindowMonth>, List<Map<String, dynamic>>>(months, (value) => pulumi.Input.encodeList<GetCloudExadataInfrastructureMaintenanceWindowMonth, Map<String, dynamic>>(value, (value) => value.toMap())),
    'patchingMode': patchingMode,
    'preference': preference,
    'weeksOfMonths': weeksOfMonths,
  };
}