Class: SBOM::CycloneDX::Record::ComponentIdentityEvidence::Method

Inherits:
Base
  • Object
show all
Defined in:
lib/sbom/cyclone_dx/record/component_identity_evidence.rb,
sig/sbom/cyclone_dx/record/component_identity_evidence.rbs

Overview

Schema name: Method

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

Returns a new instance of Method.

Parameters:



6
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 6

def initialize: (technique: String, confidence: Float, ?value: String?) -> void

Instance Method Details

#confidence ⇒ Float

Returns:



13
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 13

def confidence: () -> Float

#confidence= ⇒ Float

Parameters:

Returns:



14
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 14

def confidence=: (Float) -> Float

#confidence? ⇒ Boolean

Returns:



15
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 15

def confidence?: () -> bool

#confidence_valid? ⇒ Boolean

Returns:



16
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 16

def confidence_valid?: () -> bool

#technique ⇒ String

Returns:



8
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 8

def technique: () -> String

#technique= ⇒ String

Parameters:

Returns:



9
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 9

def technique=: (String) -> String

#technique? ⇒ Boolean

Returns:



10
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 10

def technique?: () -> bool

#technique_valid? ⇒ Boolean

Returns:



11
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 11

def technique_valid?: () -> bool

#value ⇒ String?

Returns:



18
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 18

def value: () -> String?

#value= ⇒ String?

Parameters:

Returns:



19
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 19

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

#value? ⇒ Boolean

Returns:



20
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 20

def value?: () -> bool

#value_valid? ⇒ Boolean

Returns:



21
# File 'sig/sbom/cyclone_dx/record/component_identity_evidence.rbs', line 21

def value_valid?: () -> bool