Class: SBOM::CycloneDX::Record::ModelCard::ModelParameters::Approach

Inherits:
Base
  • Object
show all
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

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

#initialize ⇒ Approach

Returns a new instance of Approach.

Parameters:

  • type: (String, nil)


46
# File 'sig/sbom/cyclone_dx/record/model_card.rbs', line 46

def initialize: (?type: String?) -> void

Instance Method Details

#type ⇒ String?

Returns:

  • (String, nil)


48
# File 'sig/sbom/cyclone_dx/record/model_card.rbs', line 48

def type: () -> String?

#type= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


49
# File 'sig/sbom/cyclone_dx/record/model_card.rbs', line 49

def type=: (String?) -> String?

#type? ⇒ Boolean

Returns:

  • (Boolean)


50
# File 'sig/sbom/cyclone_dx/record/model_card.rbs', line 50

def type?: () -> bool

#type_valid? ⇒ Boolean

Returns:

  • (Boolean)


51
# File 'sig/sbom/cyclone_dx/record/model_card.rbs', line 51

def type_valid?: () -> bool