GetNoteResult class

Result data returned by getNote.

Constructors

GetNoteResult({required AttestationNoteResponse attestation, required BuildNoteResponse build, required ComplianceNoteResponse compliance, required String createTime, required DeploymentNoteResponse deployment, required DiscoveryNoteResponse discovery, required DSSEAttestationNoteResponse dsseAttestation, required String expirationTime, required ImageNoteResponse image, required String kind, required String longDescription, required String name, required PackageNoteResponse package, required List<String> relatedNoteNames, required List<RelatedUrlResponse> relatedUrl, required SBOMReferenceNoteResponse sbomReference, required String shortDescription, required String updateTime, required UpgradeNoteResponse upgrade, required VulnerabilityNoteResponse vulnerability, 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.
const
GetNoteResult.fromMap(Map<String, dynamic> map)
factory

Properties

attestation → AttestationNoteResponse
A note describing an attestation role.
final
build → BuildNoteResponse
A note describing build provenance for a verifiable build.
final
compliance → ComplianceNoteResponse
A note describing a compliance check.
final
createTime → String
The time this note was created. This field can be used as a filter in list requests.
final
deployment → DeploymentNoteResponse
A note describing something that can be deployed.
final
discovery → DiscoveryNoteResponse
A note describing the initial analysis of a resource.
final
dsseAttestation → DSSEAttestationNoteResponse
A note describing a dsse attestation note.
final
expirationTime → 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 → ImageNoteResponse
A note describing a base image.
final
kind → String
The type of analysis. This field can be used as a filter in list requests.
final
longDescription → String
A detailed description of this note.
final
name → String
The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].
final
package → PackageNoteResponse
A note describing a package hosted by various package managers.
final
relatedNoteNames → List<String>
Other notes related to this note.
final
relatedUrl → List<RelatedUrlResponse>
URLs associated with this note.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sbomReference → SBOMReferenceNoteResponse
A note describing an SBOM reference.
final
shortDescription → String
A one sentence description of this note.
final
updateTime → String
The time this note was last updated. This field can be used as a filter in list requests.
final
upgrade → UpgradeNoteResponse
A note describing available package upgrades.
final
vulnerability → VulnerabilityNoteResponse
A note describing a package vulnerability.
final
vulnerabilityAssessment → VulnerabilityAssessmentNoteResponse
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