Class: IbmAppconfigurationRubySdk::EvaluationDetails
- Inherits:
-
Struct
- Object
- Struct
- IbmAppconfigurationRubySdk::EvaluationDetails
- Defined in:
- lib/ibm_appconfiguration_ruby_sdk/models/evaluation_result.rb
Overview
Metadata about how an evaluation reached its result.
Instance Attribute Summary collapse
-
#error_type ⇒ String?
readonly
Error message when value_type is "ERROR".
-
#rollout_percentage_applied ⇒ Boolean?
readonly
Whether a rollout-percentage gate was applied.
-
#segment_name ⇒ String?
readonly
Human-readable name of the matching segment (if any).
-
#value_type ⇒ String
readonly
One of "ENABLED_VALUE", "DISABLED_VALUE", "SEGMENT_VALUE", "DEFAULT_VALUE", or "ERROR".
Instance Attribute Details
#error_type ⇒ String? (readonly)
Returns 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_applied ⇒ Boolean? (readonly)
Returns 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_name ⇒ String? (readonly)
Returns 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_type ⇒ String (readonly)
Returns 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 ) |