class CycloneDX::Swid

Included Modules

Defined in:

cyclonedx/models.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def name : String #

[View source]
def patch : Bool | Nil #

[View source]
def tag_id : String #

[View source]
def tag_version : Int32 | Nil #

[View source]
def text : AttachedText | Nil #

[View source]
def to_xml(xml : XML::Builder) #

[View source]
def url : String | Nil #

[View source]
def version : String | Nil #

[View source]