Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 2.11 KB

File metadata and controls

34 lines (25 loc) · 2.11 KB

CampaignStateChangedNotificationItem

Properties

Name Type Description Notes
event str The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted']
campaign Campaign The campaign whose state changed.
old_state str The campaign's old state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived']
new_state str The campaign's new state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived']
ruleset Ruleset The current ruleset. [optional]
placeholders List[PlaceholderDetails] The current details of the placeholders in the campaign. [optional]

Example

from talon_one.models.campaign_state_changed_notification_item import CampaignStateChangedNotificationItem

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

# convert the object into a dict
campaign_state_changed_notification_item_dict = campaign_state_changed_notification_item_instance.to_dict()
# create an instance of CampaignStateChangedNotificationItem from a dict
campaign_state_changed_notification_item_from_dict = CampaignStateChangedNotificationItem.from_dict(campaign_state_changed_notification_item_dict)

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