Class: SBOM::CycloneDX::Record::ComponentData
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::ComponentData
show all
- Defined in:
- lib/sbom/cyclone_dx/record/component_data.rb,
sig/sbom/cyclone_dx/record/component_data.rbs
Overview
Schema name: ComponentData
Defined Under Namespace
Classes: Content
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 ComponentData.
24
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 24
def initialize: (?bom_ref: String?, type: String, ?name: String?, ?contents: Content?, ?classification: String?, ?sensitive_data: Array[String]?, ?graphics: GraphicsCollection?, ?description: String?, ?governance: DataGovernance?) -> void
|
Instance Method Details
#bom_ref ⇒ String?
26
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 26
def bom_ref: () -> String?
|
#bom_ref= ⇒ String?
27
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 27
def bom_ref=: (String?) -> String?
|
#bom_ref? ⇒ Boolean
28
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 28
def bom_ref?: () -> bool
|
#bom_ref_valid? ⇒ Boolean
29
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 29
def bom_ref_valid?: () -> bool
|
#classification ⇒ String?
46
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 46
def classification: () -> String?
|
#classification= ⇒ String?
47
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 47
def classification=: (String?) -> String?
|
#classification? ⇒ Boolean
48
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 48
def classification?: () -> bool
|
#classification_valid? ⇒ Boolean
49
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 49
def classification_valid?: () -> bool
|
41
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 41
def contents: () -> Content?
|
42
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 42
def contents=: (Content?) -> Content?
|
#contents? ⇒ Boolean
43
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 43
def contents?: () -> bool
|
#contents_valid? ⇒ Boolean
44
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 44
def contents_valid?: () -> bool
|
#description ⇒ String?
61
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 61
def description: () -> String?
|
#description= ⇒ String?
62
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 62
def description=: (String?) -> String?
|
#description? ⇒ Boolean
63
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 63
def description?: () -> bool
|
#description_valid? ⇒ Boolean
64
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 64
def description_valid?: () -> bool
|
66
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 66
def governance: () -> DataGovernance?
|
67
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 67
def governance=: (DataGovernance?) -> DataGovernance?
|
#governance? ⇒ Boolean
68
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 68
def governance?: () -> bool
|
#governance_valid? ⇒ Boolean
69
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 69
def governance_valid?: () -> bool
|
56
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 56
def graphics: () -> GraphicsCollection?
|
57
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 57
def graphics=: (GraphicsCollection?) -> GraphicsCollection?
|
#graphics? ⇒ Boolean
58
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 58
def graphics?: () -> bool
|
#graphics_valid? ⇒ Boolean
59
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 59
def graphics_valid?: () -> bool
|
#name ⇒ String?
36
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 36
def name: () -> String?
|
#name= ⇒ String?
37
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 37
def name=: (String?) -> String?
|
#name? ⇒ Boolean
38
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 38
def name?: () -> bool
|
#name_valid? ⇒ Boolean
39
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 39
def name_valid?: () -> bool
|
#sensitive_data ⇒ Array[String]?
51
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 51
def sensitive_data: () -> Array[String]?
|
#sensitive_data= ⇒ Array[String]?
52
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 52
def sensitive_data=: (Array[String]?) -> Array[String]?
|
#sensitive_data? ⇒ Boolean
53
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 53
def sensitive_data?: () -> bool
|
#sensitive_data_valid? ⇒ Boolean
54
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 54
def sensitive_data_valid?: () -> bool
|
#type ⇒ String
31
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 31
def type: () -> String
|
#type= ⇒ String
32
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 32
def type=: (String) -> String
|
#type? ⇒ Boolean
33
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 33
def type?: () -> bool
|
#type_valid? ⇒ Boolean
34
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 34
def type_valid?: () -> bool
|