Class: SBOM::CycloneDX::Record::ExternalReference
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::ExternalReference
show all
- Defined in:
- lib/sbom/cyclone_dx/record/external_reference.rb,
sig/sbom/cyclone_dx/record/external_reference.rbs
Overview
Schema name: ExternalReference
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 ExternalReference.
5
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 5
def initialize: (url: uri | String, ?comment: String?, type: String, ?hashes: Array[HashData]?) -> void
|
Instance Method Details
12
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 12
def comment: () -> String?
|
13
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 13
def comment=: (String?) -> String?
|
14
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 14
def : () -> bool
|
15
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 15
def : () -> bool
|
#hashes ⇒ Array[HashData]?
22
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 22
def hashes: () -> Array[HashData]?
|
#hashes= ⇒ Array[HashData]?
23
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 23
def hashes=: (Array[HashData]?) -> Array[HashData]?
|
#hashes? ⇒ Boolean
24
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 24
def hashes?: () -> bool
|
#hashes_valid? ⇒ Boolean
25
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 25
def hashes_valid?: () -> bool
|
#type ⇒ String
17
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 17
def type: () -> String
|
#type= ⇒ String
18
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 18
def type=: (String) -> String
|
#type? ⇒ Boolean
19
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 19
def type?: () -> bool
|
#type_valid? ⇒ Boolean
20
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 20
def type_valid?: () -> bool
|
#url ⇒ uri, String
7
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 7
def url: () -> (uri | String)
|
#url= ⇒ uri, String
8
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 8
def url=: (uri | String) -> (uri | String)
|
#url? ⇒ Boolean
9
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 9
def url?: () -> bool
|
#url_valid? ⇒ Boolean
10
|
# File 'sig/sbom/cyclone_dx/record/external_reference.rbs', line 10
def url_valid?: () -> bool
|