| 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 |
Logical operator applied across child blocks. `all` requires every child to pass, `atLeastOne` requires at least one, `none` requires all to fail. |
|
| blocks |
List[object] |
Child blocks evaluated according to the operator. |
|
| on_failure |
List[object] |
Promotion blocks evaluated when this block fails or returns false. |
[optional] |
| on_error |
Dict[str, List[object]] |
Named error handlers evaluated when a specific error occurs. |
[optional] |
from talon_one.models.promotion_group_block import PromotionGroupBlock
# TODO update the JSON string below
json = "{}"
# create an instance of PromotionGroupBlock from a JSON string
promotion_group_block_instance = PromotionGroupBlock.from_json(json)
# print the JSON string representation of the object
print(PromotionGroupBlock.to_json())
# convert the object into a dict
promotion_group_block_dict = promotion_group_block_instance.to_dict()
# create an instance of PromotionGroupBlock from a dict
promotion_group_block_from_dict = PromotionGroupBlock.from_dict(promotion_group_block_dict)
[Back to Model list] [Back to API list] [Back to README]