class CycloneDX::Annotation

Included Modules

Defined in:

cyclonedx/annotation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(subjects : Array(String) | Nil = nil, annotator : Annotator | Nil = nil, timestamp : String | Nil = nil, text : String | Nil = nil, bom_ref : String | Nil = nil) #

[View source]

Instance Method Detail

def annotator : Annotator | Nil #

[View source]
def bom_ref : String | Nil #

[View source]
def subjects : Array(String) | Nil #

[View source]
def text : String | Nil #

[View source]
def timestamp : String | Nil #

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

[View source]