toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'componentUpgrades': pulumi.Input.mapInputValue<List<GetUpgradesUpgradeComponentUpgrade>, List<Map<String, dynamic>>>(componentUpgrades, (value) => pulumi.Input.encodeList<GetUpgradesUpgradeComponentUpgrade, Map<String, dynamic>>(value, (value) => value.toMap())),
    'description': description,
    'endTime': endTime,
    'estimatedDuration': estimatedDuration,
    'name': name,
    'schedules': pulumi.Input.mapInputValue<List<GetUpgradesUpgradeSchedule>, List<Map<String, dynamic>>>(schedules, (value) => pulumi.Input.encodeList<GetUpgradesUpgradeSchedule, Map<String, dynamic>>(value, (value) => value.toMap())),
    'startVersion': startVersion,
    'state': state,
    'targetVersion': targetVersion,
    'type': type,
  };
}