Details about why a rule failed.
| Name | Type | Description | Notes |
|---|---|---|---|
| campaign_id | int | The ID of the campaign that contains the rule that failed. | |
| campaign_name | str | The name of the campaign that contains the rule that failed. | |
| ruleset_id | int | The ID of the ruleset that contains the rule that failed. | |
| coupon_id | int | The ID of the coupon that was being evaluated at the time of the rule failure. | [optional] |
| coupon_value | str | The code of the coupon that was being evaluated at the time of the rule failure. | [optional] |
| referral_id | int | The ID of the referral that was being evaluated at the time of the rule failure. | [optional] |
| referral_value | str | The code of the referral that was being evaluated at the time of the rule failure. | [optional] |
| rule_index | int | The index of the rule that failed within the ruleset. | |
| rule_name | str | The name of the rule that failed within the ruleset. | |
| condition_index | int | The index of the condition that failed. | [optional] |
| effect_index | int | The index of the effect that failed. | [optional] |
| details | str | More details about the failure. | [optional] |
| evaluation_group_id | int | The ID of the evaluation group. For more information, see Managing campaign evaluation. | [optional] |
| evaluation_group_mode | str | The evaluation mode of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign- | [optional] |
from talon_one.models.rule_failure_reason import RuleFailureReason
# TODO update the JSON string below
json = "{}"
# create an instance of RuleFailureReason from a JSON string
rule_failure_reason_instance = RuleFailureReason.from_json(json)
# print the JSON string representation of the object
print(RuleFailureReason.to_json())
# convert the object into a dict
rule_failure_reason_dict = rule_failure_reason_instance.to_dict()
# create an instance of RuleFailureReason from a dict
rule_failure_reason_from_dict = RuleFailureReason.from_dict(rule_failure_reason_dict)