Class: SBOM::CycloneDX::Record::Declarations::Evidence::EvidenceData::Contents
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::Declarations::Evidence::EvidenceData::Contents
show all
- Defined in:
- lib/sbom/cyclone_dx/record/declarations.rb,
sig/sbom/cyclone_dx/record/declarations.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 Contents.
207
|
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 207
def initialize: (?attachment: Attachment?, ?url: uri?) -> void
|
Instance Method Details
209
|
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 209
def attachment: () -> Attachment?
|
210
|
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 210
def attachment=: (Attachment?) -> Attachment?
|
#attachment? ⇒ Boolean
211
|
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 211
def attachment?: () -> bool
|
#attachment_valid? ⇒ Boolean
212
|
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 212
def attachment_valid?: () -> bool
|
#url ⇒ uri?
214
|
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 214
def url: () -> uri?
|
#url= ⇒ uri?
215
|
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 215
def url=: (uri?) -> uri?
|
#url? ⇒ Boolean
216
|
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 216
def url?: () -> bool
|
#url_valid? ⇒ Boolean
217
|
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 217
def url_valid?: () -> bool
|