NoteArgs class

The set of arguments for Note. The set of arguments for Note.

Constructors

NoteArgs({Input<AttestationNote>? attestation, Input<BuildNote>? build, Input<ComplianceNote>? compliance, Input<DeploymentNote>? deployment, Input<DiscoveryNote>? discovery, Input<DSSEAttestationNote>? dsseAttestation, Input<String>? expirationTime, Input<ImageNote>? image, Input<String>? longDescription, required Input<String> noteId, Input<PackageNote>? package, Input<String>? project, Input<List<String>>? relatedNoteNames, Input<List<RelatedUrl>>? relatedUrl, Input<SBOMReferenceNote>? sbomReference, Input<String>? shortDescription, Input<UpgradeNote>? upgrade, Input<VulnerabilityNote>? vulnerability, 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.
const
NoteArgs.fromMap(Map<String, dynamic> map)
factory

Properties

attestation → Input<AttestationNote>?
A note describing an attestation role.
final
build → Input<BuildNote>?
A note describing build provenance for a verifiable build.
final
compliance → Input<ComplianceNote>?
A note describing a compliance check.
final
deployment → Input<DeploymentNote>?
A note describing something that can be deployed.
final
discovery → Input<DiscoveryNote>?
A note describing the initial analysis of a resource.
final
dsseAttestation → Input<DSSEAttestationNote>?
A note describing a dsse attestation note.
final
expirationTime → Input<String>?
Time of expiration for this note. Empty if note does not expire.
final
hashCode → int
The hash code for this object.
no setterinherited
image → Input<ImageNote>?
A note describing a base image.
final
longDescription → Input<String>?
A detailed description of this note.
final
noteId → Input<String>
Required. The ID to use for this note.
final
package → Input<PackageNote>?
A note describing a package hosted by various package managers.
final
project → Input<String>?
final
relatedNoteNames → Input<List<String>>?
Other notes related to this note.
final
relatedUrl → Input<List<RelatedUrl>>?
URLs associated with this note.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sbomReference → Input<SBOMReferenceNote>?
A note describing an SBOM reference.
final
shortDescription → Input<String>?
A one sentence description of this note.
final
upgrade → Input<UpgradeNote>?
A note describing available package upgrades.
final
vulnerability → Input<VulnerabilityNote>?
A note describing a package vulnerability.
final
vulnerabilityAssessment → Input<VulnerabilityAssessmentNote>?
A note describing a vulnerability assessment.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited