Class: SBOM::CycloneDX::Record::PerformanceMetric

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

#initialize ⇒ PerformanceMetric

Returns a new instance of PerformanceMetric.

Parameters:

  • type: (String, nil)
  • value: (String, nil)
  • slice: (String, nil)
  • confidence_interval: (ConfidenceInterval, nil)


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

#confidence_interval ⇒ ConfidenceInterval?

Returns:



36
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 36

def confidence_interval: () -> ConfidenceInterval?

#confidence_interval= ⇒ ConfidenceInterval?

Parameters:

Returns:



37
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 37

def confidence_interval=: (ConfidenceInterval?) -> ConfidenceInterval?

#confidence_interval? ⇒ Boolean

Returns:

  • (Boolean)


38
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 38

def confidence_interval?: () -> bool

#confidence_interval_valid? ⇒ Boolean

Returns:

  • (Boolean)


39
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 39

def confidence_interval_valid?: () -> bool

#slice ⇒ String?

Returns:

  • (String, nil)


31
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 31

def slice: () -> String?

#slice= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


32
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 32

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

#slice? ⇒ Boolean

Returns:

  • (Boolean)


33
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 33

def slice?: () -> bool

#slice_valid? ⇒ Boolean

Returns:

  • (Boolean)


34
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 34

def slice_valid?: () -> bool

#type ⇒ String?

Returns:

  • (String, nil)


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

def type: () -> String?

#type= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


22
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 22

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

#type? ⇒ Boolean

Returns:

  • (Boolean)


23
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 23

def type?: () -> bool

#type_valid? ⇒ Boolean

Returns:

  • (Boolean)


24
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 24

def type_valid?: () -> bool

#value ⇒ String?

Returns:

  • (String, nil)


26
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 26

def value: () -> String?

#value= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


27
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 27

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

#value? ⇒ Boolean

Returns:

  • (Boolean)


28
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 28

def value?: () -> bool

#value_valid? ⇒ Boolean

Returns:

  • (Boolean)


29
# File 'sig/sbom/cyclone_dx/record/performance_metric.rbs', line 29

def value_valid?: () -> bool