Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.54 KB

File metadata and controls

34 lines (25 loc) · 1.54 KB

EvaluationReason

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 evaluation occurred as part of an experiment. [optional]
error_kind str The specific error type if the kind is 'ERROR'. [optional]

Example

from launchdarkly_api.models.evaluation_reason import EvaluationReason

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

# convert the object into a dict
evaluation_reason_dict = evaluation_reason_instance.to_dict()
# create an instance of EvaluationReason from a dict
evaluation_reason_from_dict = EvaluationReason.from_dict(evaluation_reason_dict)

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