NoteArgs constructor

const NoteArgs({
  1. Input<AttestationNote>? attestation,
  2. Input<BuildNote>? build,
  3. Input<ComplianceNote>? compliance,
  4. Input<DeploymentNote>? deployment,
  5. Input<DiscoveryNote>? discovery,
  6. Input<DSSEAttestationNote>? dsseAttestation,
  7. Input<String>? expirationTime,
  8. Input<ImageNote>? image,
  9. Input<String>? longDescription,
  10. required Input<String> noteId,
  11. Input<PackageNote>? package,
  12. Input<String>? project,
  13. Input<List<String>>? relatedNoteNames,
  14. Input<List<RelatedUrl>>? relatedUrl,
  15. Input<SBOMReferenceNote>? sbomReference,
  16. Input<String>? shortDescription,
  17. Input<UpgradeNote>? upgrade,
  18. Input<VulnerabilityNote>? vulnerability,
  19. Input<VulnerabilityAssessmentNote>? vulnerabilityAssessment,
})

Creates a new NoteArgs. attestation A note describing an attestation role. build A note describing build provenance for a verifiable build. compliance A note describing a compliance check. 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. longDescription A detailed description of this note. noteId Required. The ID to use for this note. package A note describing a package hosted by various package managers. project Optional. 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. upgrade A note describing available package upgrades. vulnerability A note describing a package vulnerability. vulnerabilityAssessment A note describing a vulnerability assessment.

Implementation

const NoteArgs({
  this.attestation,
  this.build,
  this.compliance,
  this.deployment,
  this.discovery,
  this.dsseAttestation,
  this.expirationTime,
  this.image,
  this.longDescription,
  required this.noteId,
  this.package,
  this.project,
  this.relatedNoteNames,
  this.relatedUrl,
  this.sbomReference,
  this.shortDescription,
  this.upgrade,
  this.vulnerability,
  this.vulnerabilityAssessment,
});