Class: SBOM::CycloneDX::Record::ComponentEvidence
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::ComponentEvidence
show all
- Defined in:
- lib/sbom/cyclone_dx/record/component_evidence.rb,
sig/sbom/cyclone_dx/record/component_evidence.rbs
Overview
Schema name: ComponentEvidence
Defined Under Namespace
Classes: Callstack, Occurrence
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 ComponentEvidence.
86
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 86
def initialize: (?identity: Array[ComponentIdentityEvidence]?, ?occurrences: Array[Occurrence]?, ?callstack: Callstack?, ?licenses: Array[LicenseChoice::licenseChoice]?, ?copyright: Array[Copyright]?) -> void
|
Instance Method Details
98
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 98
def callstack: () -> Callstack?
|
99
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 99
def callstack=: (Callstack?) -> Callstack?
|
#callstack? ⇒ Boolean
100
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 100
def callstack?: () -> bool
|
#callstack_valid? ⇒ Boolean
101
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 101
def callstack_valid?: () -> bool
|
#copyright ⇒ Array[Copyright]?
108
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 108
def copyright: () -> Array[Copyright]?
|
#copyright= ⇒ Array[Copyright]?
109
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 109
def copyright=: (Array[Copyright]?) -> Array[Copyright]?
|
#copyright? ⇒ Boolean
110
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 110
def copyright?: () -> bool
|
#copyright_valid? ⇒ Boolean
111
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 111
def copyright_valid?: () -> bool
|
88
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 88
def identity: () -> Array[ComponentIdentityEvidence]?
|
89
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 89
def identity=: (Array[ComponentIdentityEvidence]?) -> Array[ComponentIdentityEvidence]?
|
#identity? ⇒ Boolean
90
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 90
def identity?: () -> bool
|
#identity_valid? ⇒ Boolean
91
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 91
def identity_valid?: () -> bool
|
#licenses ⇒ Array[LicenseChoice::licenseChoice]?
103
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 103
def licenses: () -> Array[LicenseChoice::licenseChoice]?
|
#licenses= ⇒ Array[LicenseChoice::licenseChoice]?
104
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 104
def licenses=: (Array[LicenseChoice::licenseChoice]?) -> Array[LicenseChoice::licenseChoice]?
|
#licenses? ⇒ Boolean
105
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 105
def licenses?: () -> bool
|
#licenses_valid? ⇒ Boolean
106
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 106
def licenses_valid?: () -> bool
|
#occurrences ⇒ Array[Occurrence]?
93
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 93
def occurrences: () -> Array[Occurrence]?
|
#occurrences= ⇒ Array[Occurrence]?
94
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 94
def occurrences=: (Array[Occurrence]?) -> Array[Occurrence]?
|
#occurrences? ⇒ Boolean
95
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 95
def occurrences?: () -> bool
|
#occurrences_valid? ⇒ Boolean
96
|
# File 'sig/sbom/cyclone_dx/record/component_evidence.rbs', line 96
def occurrences_valid?: () -> bool
|