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 SBOMReferenceNoteResponse sbomReference, required String shortDescription, required String updateTime, required UpgradeNoteResponse upgrade, required VulnerabilityNoteResponse vulnerability, required VulnerabilityAssessmentNoteResponse vulnerabilityAssessment})
-
Creates a new GetNoteResult.
attestationA note describing an attestation role.buildA note describing build provenance for a verifiable build.complianceA note describing a compliance check.createTimeThe time this note was created. This field can be used as a filter in list requests.deploymentA note describing something that can be deployed.discoveryA note describing the initial analysis of a resource.dsseAttestationA note describing a dsse attestation note.expirationTimeTime of expiration for this note. Empty if note does not expire.imageA note describing a base image.kindThe type of analysis. This field can be used as a filter in list requests.longDescriptionA detailed description of this note.nameThe name of the note in the form ofprojects/[PROVIDER_ID]/notes/[NOTE_ID].packageA note describing a package hosted by various package managers.relatedNoteNamesOther notes related to this note.relatedUrlURLs associated with this note.sbomReferenceA note describing an SBOM reference.shortDescriptionA one sentence description of this note.updateTimeThe time this note was last updated. This field can be used as a filter in list requests.upgradeA note describing available package upgrades.vulnerabilityA note describing a package vulnerability.vulnerabilityAssessmentA 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
-
Other notes related to this note.
final
-
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