TestSuiteOverviewResponse.fromMap constructor

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

Implementation

factory TestSuiteOverviewResponse.fromMap(Map<String, dynamic> map) {
  return TestSuiteOverviewResponse(
    elapsedTime: pulumi.Input.fromValue(DurationResponse.fromMap((map['elapsedTime']! as Map).cast<String, dynamic>())),
    errorCount: pulumi.Input.fromValue(map['errorCount'] as int),
    failureCount: pulumi.Input.fromValue(map['failureCount'] as int),
    flakyCount: pulumi.Input.fromValue(map['flakyCount'] as int),
    name: pulumi.Input.fromValue(map['name'] as String),
    skippedCount: pulumi.Input.fromValue(map['skippedCount'] as int),
    totalCount: pulumi.Input.fromValue(map['totalCount'] as int),
    xmlSource: pulumi.Input.fromValue(FileReferenceResponse.fromMap((map['xmlSource']! as Map).cast<String, dynamic>())),
  );
}