FileOccurrenceResponse.fromMap constructor

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

Implementation

factory FileOccurrenceResponse.fromMap(Map<String, dynamic> map) {
  return FileOccurrenceResponse(
    attributions: pulumi.Input.fromValue((map['attributions'] as List).cast<String>()),
    comment: pulumi.Input.fromValue(map['comment'] as String),
    contributors: pulumi.Input.fromValue((map['contributors'] as List).cast<String>()),
    copyright: pulumi.Input.fromValue(map['copyright'] as String),
    filesLicenseInfo: pulumi.Input.fromValue((map['filesLicenseInfo'] as List).cast<String>()),
    licenseConcluded: pulumi.Input.fromValue(LicenseResponseContaineranalysisV1alpha1.fromMap((map['licenseConcluded']! as Map).cast<String, dynamic>())),
    notice: pulumi.Input.fromValue(map['notice'] as String),
  );
}