Class: SBOM::CycloneDX::Record::Metadata::PreDefinedPhase
- Defined in:
- lib/sbom/cyclone_dx/record/metadata.rb,
sig/sbom/cyclone_dx/record/metadata.rbs
Overview
Schema name: PreDefinedPhase
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ PreDefinedPhase
constructor
A new instance of PreDefinedPhase.
- #phase ⇒ String
- #phase= ⇒ String
- #phase? ⇒ Boolean
- #phase_valid? ⇒ Boolean
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
#initialize ⇒ PreDefinedPhase
Returns a new instance of PreDefinedPhase.
20 |
# File 'sig/sbom/cyclone_dx/record/metadata.rbs', line 20 def initialize: (phase: String) -> void |
Instance Method Details
#phase ⇒ String
22 |
# File 'sig/sbom/cyclone_dx/record/metadata.rbs', line 22 def phase: () -> String |
#phase= ⇒ String
23 |
# File 'sig/sbom/cyclone_dx/record/metadata.rbs', line 23 def phase=: (String) -> String |
#phase? ⇒ Boolean
24 |
# File 'sig/sbom/cyclone_dx/record/metadata.rbs', line 24 def phase?: () -> bool |
#phase_valid? ⇒ Boolean
25 |
# File 'sig/sbom/cyclone_dx/record/metadata.rbs', line 25 def phase_valid?: () -> bool |