Name | Type | Description | Notes |
---|---|---|---|
content | List[CampaignTemplate] | Campaign's email content. Provide multiple items to send an A/X Split Campaign | [optional] |
name | str | Campaign name | |
status | CampaignStatus | [optional] | |
recipients | CampaignRecipient | ||
options | CampaignOptions | [optional] |
from ElasticEmail.models.campaign import Campaign
# TODO update the JSON string below
json = "{}"
# create an instance of Campaign from a JSON string
campaign_instance = Campaign.from_json(json)
# print the JSON string representation of the object
print(Campaign.to_json())
# convert the object into a dict
campaign_dict = campaign_instance.to_dict()
# create an instance of Campaign from a dict
campaign_from_dict = Campaign.from_dict(campaign_dict)