Class: SBOM::CycloneDX::Record::ComponentData::Content
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::ComponentData::Content
show all
- Defined in:
- lib/sbom/cyclone_dx/record/component_data.rb,
sig/sbom/cyclone_dx/record/component_data.rbs
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 Content.
6
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 6
def initialize: (?attachment: Attachment?, ?url: uri?, ?properties: Array[Property]?) -> void
|
Instance Method Details
8
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 8
def attachment: () -> Attachment?
|
9
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 9
def attachment=: (Attachment?) -> Attachment?
|
#attachment? ⇒ Boolean
10
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 10
def attachment?: () -> bool
|
#attachment_valid? ⇒ Boolean
11
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 11
def attachment_valid?: () -> bool
|
#properties ⇒ Array[Property]?
18
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 18
def properties: () -> Array[Property]?
|
#properties= ⇒ Array[Property]?
19
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 19
def properties=: (Array[Property]?) -> Array[Property]?
|
#properties? ⇒ Boolean
20
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 20
def properties?: () -> bool
|
#properties_valid? ⇒ Boolean
21
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 21
def properties_valid?: () -> bool
|
#url ⇒ uri?
13
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 13
def url: () -> uri?
|
#url= ⇒ uri?
14
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 14
def url=: (uri?) -> uri?
|
#url? ⇒ Boolean
15
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 15
def url?: () -> bool
|
#url_valid? ⇒ Boolean
16
|
# File 'sig/sbom/cyclone_dx/record/component_data.rbs', line 16
def url_valid?: () -> bool
|