Class: SBOM::CycloneDX::Record::ModelCard::ModelParameters::DataReference

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: DataReference

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 ⇒ DataReference

Returns a new instance of DataReference.

Parameters:

  • ref: (String, nil)


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

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

Instance Method Details

#ref ⇒ String?

Returns:

  • (String, nil)


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

def ref: () -> String?

#ref= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#ref? ⇒ Boolean

Returns:

  • (Boolean)


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

def ref?: () -> bool

#ref_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def ref_valid?: () -> bool