GetNoteResult constructor

const GetNoteResult({
  1. required AttestationNoteResponse attestation,
  2. required BuildNoteResponse build,
  3. required ComplianceNoteResponse compliance,
  4. required String createTime,
  5. required DeploymentNoteResponse deployment,
  6. required DiscoveryNoteResponse discovery,
  7. required DSSEAttestationNoteResponse dsseAttestation,
  8. required String expirationTime,
  9. required ImageNoteResponse image,
  10. required String kind,
  11. required String longDescription,
  12. required String name,
  13. required PackageNoteResponse package,
  14. required List<String> relatedNoteNames,
  15. required List<RelatedUrlResponse> relatedUrl,
  16. required SBOMReferenceNoteResponse sbomReference,
  17. required String shortDescription,
  18. required String updateTime,
  19. required UpgradeNoteResponse upgrade,
  20. required VulnerabilityNoteResponse vulnerability,
  21. required VulnerabilityAssessmentNoteResponse vulnerabilityAssessment,
})

Creates a new GetNoteResult. attestation A note describing an attestation role. build A note describing build provenance for a verifiable build. compliance A note describing a compliance check. createTime The time this note was created. This field can be used as a filter in list requests. deployment A note describing something that can be deployed. discovery A note describing the initial analysis of a resource. dsseAttestation A note describing a dsse attestation note. expirationTime Time of expiration for this note. Empty if note does not expire. image A note describing a base image. kind The type of analysis. This field can be used as a filter in list requests. longDescription A detailed description of this note. name The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]. package A note describing a package hosted by various package managers. relatedNoteNames Other notes related to this note. relatedUrl URLs associated with this note. sbomReference A note describing an SBOM reference. shortDescription A one sentence description of this note. updateTime The time this note was last updated. This field can be used as a filter in list requests. upgrade A note describing available package upgrades. vulnerability A note describing a package vulnerability. vulnerabilityAssessment A note describing a vulnerability assessment.

Implementation

const GetNoteResult({
  required this.attestation,
  required this.build,
  required this.compliance,
  required this.createTime,
  required this.deployment,
  required this.discovery,
  required this.dsseAttestation,
  required this.expirationTime,
  required this.image,
  required this.kind,
  required this.longDescription,
  required this.name,
  required this.package,
  required this.relatedNoteNames,
  required this.relatedUrl,
  required this.sbomReference,
  required this.shortDescription,
  required this.updateTime,
  required this.upgrade,
  required this.vulnerability,
  required this.vulnerabilityAssessment,
});