DescribeImageScanFindingsResponse.fromJson constructor

DescribeImageScanFindingsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribeImageScanFindingsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeImageScanFindingsResponse(
    imageId: json['imageId'] != null
        ? ImageIdentifier.fromJson(json['imageId'] as Map<String, dynamic>)
        : null,
    imageScanFindings: json['imageScanFindings'] != null
        ? ImageScanFindings.fromJson(
            json['imageScanFindings'] as Map<String, dynamic>)
        : null,
    imageScanStatus: json['imageScanStatus'] != null
        ? ImageScanStatus.fromJson(
            json['imageScanStatus'] as Map<String, dynamic>)
        : null,
    nextToken: json['nextToken'] as String?,
    registryId: json['registryId'] as String?,
    repositoryName: json['repositoryName'] as String?,
  );
}