Class: SBOM::CycloneDX::Record::EnergyProvider
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::EnergyProvider
show all
- Defined in:
- lib/sbom/cyclone_dx/record/energy_provider.rb,
sig/sbom/cyclone_dx/record/energy_provider.rbs
Overview
Schema name: EnergyProvider
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 EnergyProvider.
5
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 5
def initialize: (?bom_ref: String?, ?description: String?, organization: OrganizationalEntity, energy_source: String, energy_provided: EnergyMeasure, ?external_references: Array[ExternalReference]?) -> void
|
Instance Method Details
#bom_ref ⇒ String?
7
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 7
def bom_ref: () -> String?
|
#bom_ref= ⇒ String?
8
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 8
def bom_ref=: (String?) -> String?
|
#bom_ref? ⇒ Boolean
9
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 9
def bom_ref?: () -> bool
|
#bom_ref_valid? ⇒ Boolean
10
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 10
def bom_ref_valid?: () -> bool
|
#description ⇒ String?
12
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 12
def description: () -> String?
|
#description= ⇒ String?
13
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 13
def description=: (String?) -> String?
|
#description? ⇒ Boolean
14
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 14
def description?: () -> bool
|
#description_valid? ⇒ Boolean
15
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 15
def description_valid?: () -> bool
|
27
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 27
def energy_provided: () -> EnergyMeasure
|
28
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 28
def energy_provided=: (EnergyMeasure) -> EnergyMeasure
|
#energy_provided? ⇒ Boolean
29
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 29
def energy_provided?: () -> bool
|
#energy_provided_valid? ⇒ Boolean
30
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 30
def energy_provided_valid?: () -> bool
|
#energy_source ⇒ String
22
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 22
def energy_source: () -> String
|
#energy_source= ⇒ String
23
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 23
def energy_source=: (String) -> String
|
#energy_source? ⇒ Boolean
24
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 24
def energy_source?: () -> bool
|
#energy_source_valid? ⇒ Boolean
25
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 25
def energy_source_valid?: () -> bool
|
32
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 32
def external_references: () -> Array[ExternalReference]?
|
33
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 33
def external_references=: (Array[ExternalReference]?) -> Array[ExternalReference]?
|
#external_references? ⇒ Boolean
34
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 34
def external_references?: () -> bool
|
#external_references_valid? ⇒ Boolean
35
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 35
def external_references_valid?: () -> bool
|
17
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 17
def organization: () -> OrganizationalEntity
|
18
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 18
def organization=: (OrganizationalEntity) -> OrganizationalEntity
|
#organization? ⇒ Boolean
19
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 19
def organization?: () -> bool
|
#organization_valid? ⇒ Boolean
20
|
# File 'sig/sbom/cyclone_dx/record/energy_provider.rbs', line 20
def organization_valid?: () -> bool
|