Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.77 KB

File metadata and controls

39 lines (30 loc) · 1.77 KB

PromotionCheckAttributeBlock

Properties

Name Type Description Notes
id str Unique identifier for this block.
type str Identifies the block variant and determines which additional properties are present in it.
tags List[str] Semantic labels attached to this block. [optional]
operator str The comparison operator applied to the attribute.
attribute str The attribute path identifier (e.g. "$Session.Total").
value object [optional]
min object [optional]
max object [optional]
values object [optional]
count object [optional]
on_failure List[PromotionBlock] Promotion blocks evaluated when this block fails or returns false. [optional]

Example

from talon_one.models.promotion_check_attribute_block import PromotionCheckAttributeBlock

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

# convert the object into a dict
promotion_check_attribute_block_dict = promotion_check_attribute_block_instance.to_dict()
# create an instance of PromotionCheckAttributeBlock from a dict
promotion_check_attribute_block_from_dict = PromotionCheckAttributeBlock.from_dict(promotion_check_attribute_block_dict)

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