Class: SBOM::CycloneDX::Record::Issue

Inherits:
Base
  • Object
show all
Defined in:
lib/sbom/cyclone_dx/record/issue.rb,
sig/sbom/cyclone_dx/record/issue.rbs

Overview

Schema name: Issue

Defined Under Namespace

Classes: Source

Constant Summary

Constants inherited from Base

Base::Record

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from Base

#<=>, const, custom_validators, fields, #formatted_errors, json_create, json_name, prop, #valid!, #valid?, validate

Methods included from _Klass

#const, #const_names, #create, #create!, #custom_validators, #fields, #json_name, #prop, #prop_names, #validate

Methods included from _Instance

#as_json, #errors, #formatted_errors, #to_json, #valid?

Constructor Details

#initialize ⇒ Issue

Returns a new instance of Issue.

Parameters:

  • type: (String)
  • id: (String, nil)
  • name: (String, nil)
  • description: (String, nil)
  • source: (Source, nil)
  • references: (Array[uri], nil)


19
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 19

def initialize: (type: String, ?id: String?, ?name: String?, ?description: String?, ?source: Source?, ?references: Array[uri]?) -> void

Instance Method Details

#description ⇒ String?

Returns:

  • (String, nil)


36
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 36

def description: () -> String?

#description= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


37
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 37

def description=: (String?) -> String?

#description? ⇒ Boolean

Returns:

  • (Boolean)


38
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 38

def description?: () -> bool

#description_valid? ⇒ Boolean

Returns:

  • (Boolean)


39
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 39

def description_valid?: () -> bool

#id ⇒ String?

Returns:

  • (String, nil)


26
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 26

def id: () -> String?

#id= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


27
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 27

def id=: (String?) -> String?

#id? ⇒ Boolean

Returns:

  • (Boolean)


28
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 28

def id?: () -> bool

#id_valid? ⇒ Boolean

Returns:

  • (Boolean)


29
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 29

def id_valid?: () -> bool

#name ⇒ String?

Returns:

  • (String, nil)


31
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 31

def name: () -> String?

#name= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


32
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 32

def name=: (String?) -> String?

#name? ⇒ Boolean

Returns:

  • (Boolean)


33
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 33

def name?: () -> bool

#name_valid? ⇒ Boolean

Returns:

  • (Boolean)


34
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 34

def name_valid?: () -> bool

#references ⇒ Array[uri]?

Returns:

  • (Array[uri], nil)


46
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 46

def references: () -> Array[uri]?

#references= ⇒ Array[uri]?

Parameters:

  • (Array[uri], nil)

Returns:

  • (Array[uri], nil)


47
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 47

def references=: (Array[uri]?) -> Array[uri]?

#references? ⇒ Boolean

Returns:

  • (Boolean)


48
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 48

def references?: () -> bool

#references_valid? ⇒ Boolean

Returns:

  • (Boolean)


49
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 49

def references_valid?: () -> bool

#source ⇒ Source?

Returns:



41
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 41

def source: () -> Source?

#source= ⇒ Source?

Parameters:

Returns:



42
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 42

def source=: (Source?) -> Source?

#source? ⇒ Boolean

Returns:

  • (Boolean)


43
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 43

def source?: () -> bool

#source_valid? ⇒ Boolean

Returns:

  • (Boolean)


44
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 44

def source_valid?: () -> bool

#type ⇒ String

Returns:

  • (String)


21
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 21

def type: () -> String

#type= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


22
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 22

def type=: (String) -> String

#type? ⇒ Boolean

Returns:

  • (Boolean)


23
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 23

def type?: () -> bool

#type_valid? ⇒ Boolean

Returns:

  • (Boolean)


24
# File 'sig/sbom/cyclone_dx/record/issue.rbs', line 24

def type_valid?: () -> bool