Class: SBOM::CycloneDX::Record::Standard::Requirement
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::Standard::Requirement
show all
- Defined in:
- lib/sbom/cyclone_dx/record/standard.rb,
sig/sbom/cyclone_dx/record/standard.rbs
Overview
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
Returns a new instance of Requirement.
35
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 35
def initialize: (?bom_ref: String?, ?identifier: String?, ?title: String?, ?text: String?, ?descriptions: Array[String]?, ?open_cre: Array[String]?, ?parent: String?, ?properties: Array[Property]?, ?external_references: Array[ExternalReference]?) -> void
|
Instance Method Details
#bom_ref ⇒ String?
37
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 37
def bom_ref: () -> String?
|
#bom_ref= ⇒ String?
38
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 38
def bom_ref=: (String?) -> String?
|
#bom_ref? ⇒ Boolean
39
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 39
def bom_ref?: () -> bool
|
#bom_ref_valid? ⇒ Boolean
40
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 40
def bom_ref_valid?: () -> bool
|
#descriptions ⇒ Array[String]?
57
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 57
def descriptions: () -> Array[String]?
|
#descriptions= ⇒ Array[String]?
58
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 58
def descriptions=: (Array[String]?) -> Array[String]?
|
#descriptions? ⇒ Boolean
59
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 59
def descriptions?: () -> bool
|
#descriptions_valid? ⇒ Boolean
60
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 60
def descriptions_valid?: () -> bool
|
77
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 77
def external_references: () -> Array[ExternalReference]?
|
78
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 78
def external_references=: (Array[ExternalReference]?) -> Array[ExternalReference]?
|
#external_references? ⇒ Boolean
79
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 79
def external_references?: () -> bool
|
#external_references_valid? ⇒ Boolean
80
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 80
def external_references_valid?: () -> bool
|
#identifier ⇒ String?
42
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 42
def identifier: () -> String?
|
#identifier= ⇒ String?
43
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 43
def identifier=: (String?) -> String?
|
#identifier? ⇒ Boolean
44
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 44
def identifier?: () -> bool
|
#identifier_valid? ⇒ Boolean
45
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 45
def identifier_valid?: () -> bool
|
#open_cre ⇒ Array[String]?
62
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 62
def open_cre: () -> Array[String]?
|
#open_cre= ⇒ Array[String]?
63
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 63
def open_cre=: (Array[String]?) -> Array[String]?
|
#open_cre? ⇒ Boolean
64
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 64
def open_cre?: () -> bool
|
#open_cre_valid? ⇒ Boolean
65
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 65
def open_cre_valid?: () -> bool
|
#parent ⇒ String?
67
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 67
def parent: () -> String?
|
#parent= ⇒ String?
68
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 68
def parent=: (String?) -> String?
|
#parent? ⇒ Boolean
69
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 69
def parent?: () -> bool
|
#parent_valid? ⇒ Boolean
70
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 70
def parent_valid?: () -> bool
|
#properties ⇒ Array[Property]?
72
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 72
def properties: () -> Array[Property]?
|
#properties= ⇒ Array[Property]?
73
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 73
def properties=: (Array[Property]?) -> Array[Property]?
|
#properties? ⇒ Boolean
74
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 74
def properties?: () -> bool
|
#properties_valid? ⇒ Boolean
75
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 75
def properties_valid?: () -> bool
|
#text ⇒ String?
52
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 52
def text: () -> String?
|
#text= ⇒ String?
53
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 53
def text=: (String?) -> String?
|
#text? ⇒ Boolean
54
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 54
def text?: () -> bool
|
#text_valid? ⇒ Boolean
55
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 55
def text_valid?: () -> bool
|
#title ⇒ String?
47
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 47
def title: () -> String?
|
#title= ⇒ String?
48
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 48
def title=: (String?) -> String?
|
#title? ⇒ Boolean
49
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 49
def title?: () -> bool
|
#title_valid? ⇒ Boolean
50
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 50
def title_valid?: () -> bool
|