Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.74 KB

File metadata and controls

34 lines (25 loc) · 1.74 KB

ContextInstanceEvaluationReason

Properties

Name Type Description Notes
kind str Describes the general reason that LaunchDarkly selected this variation.
rule_index int The positional index of the matching rule if the kind is 'RULE_MATCH'. The index is 0-based. [optional]
rule_id str The unique identifier of the matching rule if the kind is 'RULE_MATCH'. [optional]
prerequisite_key str The key of the flag that failed if the kind is 'PREREQUISITE_FAILED'. [optional]
in_experiment bool Indicates whether the context was evaluated as part of an experiment. [optional]
error_kind str The specific error type if the kind is 'ERROR'. [optional]

Example

from launchdarkly_api.models.context_instance_evaluation_reason import ContextInstanceEvaluationReason

# TODO update the JSON string below
json = "{}"
# create an instance of ContextInstanceEvaluationReason from a JSON string
context_instance_evaluation_reason_instance = ContextInstanceEvaluationReason.from_json(json)
# print the JSON string representation of the object
print(ContextInstanceEvaluationReason.to_json())

# convert the object into a dict
context_instance_evaluation_reason_dict = context_instance_evaluation_reason_instance.to_dict()
# create an instance of ContextInstanceEvaluationReason from a dict
context_instance_evaluation_reason_from_dict = ContextInstanceEvaluationReason.from_dict(context_instance_evaluation_reason_dict)

[Back to Model list] [Back to API list] [Back to README]