Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.76 KB

File metadata and controls

36 lines (27 loc) · 1.76 KB

BaseNotificationPolicy

Indicates which notification properties to apply.

Properties

Name Type Description Notes
name str The name of the notification.
triggers List[TierWillDowngradeNotificationTrigger]
batching_enabled bool Indicates whether batching is activated. [optional] [default to True]
batch_size int The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. [optional] [default to 1000]
scopes List[str]
include_data bool Indicates whether to include all generated coupons. If `false`, only the `batchId` of the generated coupons is included. [optional]
ahead_of_days_trigger int The number of days in advance that strikethrough pricing updates should be sent. [optional]

Example

from talon_one.models.base_notification_policy import BaseNotificationPolicy

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

# convert the object into a dict
base_notification_policy_dict = base_notification_policy_instance.to_dict()
# create an instance of BaseNotificationPolicy from a dict
base_notification_policy_from_dict = BaseNotificationPolicy.from_dict(base_notification_policy_dict)

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