ReportSummaryMachineFindingResponse.fromMap constructor

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

Implementation

factory ReportSummaryMachineFindingResponse.fromMap(Map<String, dynamic> map) {
  return ReportSummaryMachineFindingResponse(
    allocatedAssetCount: pulumi.Input.fromValue(map['allocatedAssetCount'] as String),
    allocatedDiskTypes: pulumi.Input.fromValue((map['allocatedDiskTypes'] as List).cast<String>()),
    allocatedRegions: pulumi.Input.fromValue((map['allocatedRegions'] as List).cast<String>()),
    machineSeriesAllocations: pulumi.Input.fromValue(pulumi.Input.decodeList<ReportSummaryMachineSeriesAllocationResponseMigrationcenterV1alpha1>(map['machineSeriesAllocations']!, (value) => ReportSummaryMachineSeriesAllocationResponseMigrationcenterV1alpha1.fromMap((value as Map).cast<String, dynamic>()))),
  );
}