Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.93 KB

File metadata and controls

36 lines (27 loc) · 1.93 KB

IncreaseAchievementProgressEffectProps

The properties specific to the "increaseAchievementProgress" effect. This gets triggered whenever a validated rule contained an "increase customer progress" effect.

Properties

Name Type Description Notes
achievement_id int The internal ID of the achievement.
achievement_name str The name of the achievement.
progress_tracker_id int The internal ID of the achievement progress tracker. [optional]
delta float The value by which the customer's current progress in the achievement is increased.
value float The current progress of the customer in the achievement.
target float The target value to complete the achievement.
is_just_completed bool Indicates if the customer has completed the achievement in the current session.

Example

from talon_one.models.increase_achievement_progress_effect_props import IncreaseAchievementProgressEffectProps

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

# convert the object into a dict
increase_achievement_progress_effect_props_dict = increase_achievement_progress_effect_props_instance.to_dict()
# create an instance of IncreaseAchievementProgressEffectProps from a dict
increase_achievement_progress_effect_props_from_dict = IncreaseAchievementProgressEffectProps.from_dict(increase_achievement_progress_effect_props_dict)

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