Class: SBOM::CycloneDX::Record::PerformanceMetric
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::PerformanceMetric
show all
- Defined in:
- lib/sbom/cyclone_dx/record/performance_metric.rb,
sig/sbom/cyclone_dx/record/performance_metric.rbs
Overview
Schema name: PerformanceMetric
Defined Under Namespace
Classes: ConfidenceInterval
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
Returns a new instance of PerformanceMetric.
19
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 19
def initialize: (?type: String?, ?value: String?, ?slice: String?, ?confidence_interval: ConfidenceInterval?) -> void
|
Instance Method Details
36
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 36
def confidence_interval: () -> ConfidenceInterval?
|
37
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 37
def confidence_interval=: (ConfidenceInterval?) -> ConfidenceInterval?
|
#confidence_interval? ⇒ Boolean
38
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 38
def confidence_interval?: () -> bool
|
#confidence_interval_valid? ⇒ Boolean
39
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 39
def confidence_interval_valid?: () -> bool
|
#slice ⇒ String?
31
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 31
def slice: () -> String?
|
#slice= ⇒ String?
32
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 32
def slice=: (String?) -> String?
|
#slice? ⇒ Boolean
33
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 33
def slice?: () -> bool
|
#slice_valid? ⇒ Boolean
34
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 34
def slice_valid?: () -> bool
|
#type ⇒ String?
21
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 21
def type: () -> String?
|
#type= ⇒ String?
22
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 22
def type=: (String?) -> String?
|
#type? ⇒ Boolean
23
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 23
def type?: () -> bool
|
#type_valid? ⇒ Boolean
24
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 24
def type_valid?: () -> bool
|
#value ⇒ String?
26
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 26
def value: () -> String?
|
#value= ⇒ String?
27
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 27
def value=: (String?) -> String?
|
#value? ⇒ Boolean
28
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 28
def value?: () -> bool
|
#value_valid? ⇒ Boolean
29
|
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 29
def value_valid?: () -> bool
|