toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'attestationAuthority': attestationAuthority.toMap(),
'baseImage': baseImage.toMap(),
'buildType': buildType.toMap(),
'compliance': compliance.toMap(),
'createTime': createTime,
'deployable': deployable.toMap(),
'discovery': discovery.toMap(),
'dsseAttestation': dsseAttestation.toMap(),
'expirationTime': expirationTime,
'kind': kind,
'longDescription': longDescription,
'name': name,
'package': package.toMap(),
'relatedUrl': pulumi.Input.encodeList<RelatedUrlResponseContaineranalysisV1alpha1, Map<String, dynamic>>(relatedUrl, (value) => value.toMap()),
'sbom': sbom.toMap(),
'sbomReference': sbomReference.toMap(),
'shortDescription': shortDescription,
'spdxFile': spdxFile.toMap(),
'spdxPackage': spdxPackage.toMap(),
'spdxRelationship': spdxRelationship.toMap(),
'updateTime': updateTime,
'upgrade': upgrade.toMap(),
'vulnerabilityAssessment': vulnerabilityAssessment.toMap(),
'vulnerabilityType': vulnerabilityType.toMap(),
};
}