Class: SBOM::CycloneDX::Record::HashData
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::HashData
show all
- Defined in:
- lib/sbom/cyclone_dx/record/hash_data.rb,
sig/sbom/cyclone_dx/record/hash_data.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 HashData.
5
|
# File 'sig/sbom/cyclone_dx/record/hash_data.rbs', line 5
def initialize: (alg: String, content: String) -> void
|
Instance Method Details
#alg ⇒ String
7
|
# File 'sig/sbom/cyclone_dx/record/hash_data.rbs', line 7
def alg: () -> String
|
#alg= ⇒ String
8
|
# File 'sig/sbom/cyclone_dx/record/hash_data.rbs', line 8
def alg=: (String) -> String
|
#alg? ⇒ Boolean
9
|
# File 'sig/sbom/cyclone_dx/record/hash_data.rbs', line 9
def alg?: () -> bool
|
#alg_valid? ⇒ Boolean
10
|
# File 'sig/sbom/cyclone_dx/record/hash_data.rbs', line 10
def alg_valid?: () -> bool
|
#content ⇒ String
12
|
# File 'sig/sbom/cyclone_dx/record/hash_data.rbs', line 12
def content: () -> String
|
#content= ⇒ String
13
|
# File 'sig/sbom/cyclone_dx/record/hash_data.rbs', line 13
def content=: (String) -> String
|
#content? ⇒ Boolean
14
|
# File 'sig/sbom/cyclone_dx/record/hash_data.rbs', line 14
def content?: () -> bool
|
#content_valid? ⇒ Boolean
15
|
# File 'sig/sbom/cyclone_dx/record/hash_data.rbs', line 15
def content_valid?: () -> bool
|