RelationshipOccurrenceResponse class

RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/

Constructors

RelationshipOccurrenceResponse({required Input<String> comment, required Input<String> source, required Input<String> target, required Input<String> type})
Creates a new RelationshipOccurrenceResponse. comment A place for the SPDX file creator to record any general comments about the relationship source Also referred to as SPDXRef-A The source SPDX element (file, package, etc) target Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are "known unknowns", the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it type The type of relationship between the source and target SPDX elements
const
RelationshipOccurrenceResponse.fromMap(Map<String, dynamic> map)
factory

Properties

comment → Input<String>
A place for the SPDX file creator to record any general comments about the relationship
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → Input<String>
Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
final
target → Input<String>
Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are "known unknowns", the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
final
type → Input<String>
The type of relationship between the source and target SPDX elements
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