Class: SBOM::CycloneDX::Record::LicenseChoice::LicenseExpression
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::LicenseChoice::LicenseExpression
show all
- Defined in:
- lib/sbom/cyclone_dx/record/license_choice.rb,
sig/sbom/cyclone_dx/record/license_choice.rbs
Overview
Schema name: LicenseExpression
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 LicenseExpression.
19
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 19
def initialize: (expression: String, ?acknowledgement: String?, ?bom_ref: String?) -> void
|
Instance Method Details
#acknowledgement ⇒ String?
26
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 26
def acknowledgement: () -> String?
|
#acknowledgement= ⇒ String?
27
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 27
def acknowledgement=: (String?) -> String?
|
#acknowledgement? ⇒ Boolean
28
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 28
def acknowledgement?: () -> bool
|
#acknowledgement_valid? ⇒ Boolean
29
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 29
def acknowledgement_valid?: () -> bool
|
#bom_ref ⇒ String?
31
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 31
def bom_ref: () -> String?
|
#bom_ref= ⇒ String?
32
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 32
def bom_ref=: (String?) -> String?
|
#bom_ref? ⇒ Boolean
33
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 33
def bom_ref?: () -> bool
|
#bom_ref_valid? ⇒ Boolean
34
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 34
def bom_ref_valid?: () -> bool
|
#expression ⇒ String
21
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 21
def expression: () -> String
|
#expression= ⇒ String
22
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 22
def expression=: (String) -> String
|
#expression? ⇒ Boolean
23
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 23
def expression?: () -> bool
|
#expression_valid? ⇒ Boolean
24
|
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 24
def expression_valid?: () -> bool
|