Class: IbmAppconfigurationRubySdk::EvaluationDetails

Inherits:
Struct
  • Object
show all
Defined in:
lib/ibm_appconfiguration_ruby_sdk/models/evaluation_result.rb

Overview

Metadata about how an evaluation reached its result.

Instance Attribute Summary collapse

Instance Attribute Details

#error_typeString? (readonly)

Returns Error message when value_type is "ERROR".

Returns:

  • (String, nil)

    Error message when value_type is "ERROR"



30
31
32
33
34
35
36
# File 'lib/ibm_appconfiguration_ruby_sdk/models/evaluation_result.rb', line 30

EvaluationDetails = Struct.new(
  :value_type,
  :rollout_percentage_applied,
  :segment_name,
  :error_type,
  keyword_init: true
)

#rollout_percentage_appliedBoolean? (readonly)

Returns Whether a rollout-percentage gate was applied.

Returns:

  • (Boolean, nil)

    Whether a rollout-percentage gate was applied



30
31
32
33
34
35
36
# File 'lib/ibm_appconfiguration_ruby_sdk/models/evaluation_result.rb', line 30

EvaluationDetails = Struct.new(
  :value_type,
  :rollout_percentage_applied,
  :segment_name,
  :error_type,
  keyword_init: true
)

#segment_nameString? (readonly)

Returns Human-readable name of the matching segment (if any).

Returns:

  • (String, nil)

    Human-readable name of the matching segment (if any)



30
31
32
33
34
35
36
# File 'lib/ibm_appconfiguration_ruby_sdk/models/evaluation_result.rb', line 30

EvaluationDetails = Struct.new(
  :value_type,
  :rollout_percentage_applied,
  :segment_name,
  :error_type,
  keyword_init: true
)

#value_typeString (readonly)

Returns One of "ENABLED_VALUE", "DISABLED_VALUE", "SEGMENT_VALUE", "DEFAULT_VALUE", or "ERROR".

Returns:

  • (String)

    One of "ENABLED_VALUE", "DISABLED_VALUE", "SEGMENT_VALUE", "DEFAULT_VALUE", or "ERROR"



30
31
32
33
34
35
36
# File 'lib/ibm_appconfiguration_ruby_sdk/models/evaluation_result.rb', line 30

EvaluationDetails = Struct.new(
  :value_type,
  :rollout_percentage_applied,
  :segment_name,
  :error_type,
  keyword_init: true
)