CycloneDX::ComponentData
Inherits JSON::Serializable / Reference / Object
Constants
VALID_DATA_TYPES = ["source-code", "configuration", "dataset", "definition", "other"]
Constructors
new(pull : JSON::PullParser)
Sourcenew(data_type : String | Nil = nil, name : String | Nil = nil, description : String | Nil = nil, bom_ref : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
bom_ref
Sourcedata_type
Sourcedescription
Sourcename
Sourceelement_name differs by context: a componentDataType is named
<data> directly under a component, but <dataset> inside a model card's
<datasets> collection.