class
CycloneDX::Swid
- CycloneDX::Swid
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
cyclonedx/models.crConstructors
- .new(tag_id : String, name : String, version : String | Nil = nil, tag_version : Int32 | Nil = nil, patch : Bool | Nil = nil, text : AttachedText | Nil = nil, url : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #name : String
- #patch : Bool | Nil
- #tag_id : String
- #tag_version : Int32 | Nil
- #text : AttachedText | Nil
- #to_xml(xml : XML::Builder)
- #url : String | Nil
- #version : String | Nil
Constructor Detail
def self.new(tag_id : String, name : String, version : String | Nil = nil, tag_version : Int32 | Nil = nil, patch : Bool | Nil = nil, text : AttachedText | Nil = nil, url : String | Nil = nil)
#