Class: SBOM::CycloneDX::Record::ModelCard::ModelParameters::Approach
- Defined in:
- lib/sbom/cyclone_dx/record/model_card.rb,
sig/sbom/cyclone_dx/record/model_card.rbs
Overview
Schema name: Approach
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ Approach
constructor
A new instance of Approach.
- #type ⇒ String?
- #type= ⇒ String?
- #type? ⇒ Boolean
- #type_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 ⇒ Approach
Returns a new instance of Approach.
46 |
# File 'sig/sbom/cyclone_dx/record/model_card.rbs', line 46 def initialize: (?type: String?) -> void |
Instance Method Details
#type ⇒ String?
48 |
# File 'sig/sbom/cyclone_dx/record/model_card.rbs', line 48 def type: () -> String? |
#type= ⇒ String?
49 |
# File 'sig/sbom/cyclone_dx/record/model_card.rbs', line 49 def type=: (String?) -> String? |
#type? ⇒ Boolean
50 |
# File 'sig/sbom/cyclone_dx/record/model_card.rbs', line 50 def type?: () -> bool |
#type_valid? ⇒ Boolean
51 |
# File 'sig/sbom/cyclone_dx/record/model_card.rbs', line 51 def type_valid?: () -> bool |