Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.2 KB

Template.md

File metadata and controls

35 lines (26 loc) · 1.2 KB

Template

Template info

Properties

Name Type Description Notes
template_type TemplateType [optional]
name str Template name [optional]
date_added datetime Date of creation in YYYY-MM-DDThh:ii:ss format [optional]
subject str Default subject of email. [optional]
body List[BodyPart] Email content of this template [optional]
template_scope TemplateScope [optional]

Example

from ElasticEmail.models.template import Template

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

# convert the object into a dict
template_dict = template_instance.to_dict()
# create an instance of Template from a dict
template_from_dict = Template.from_dict(template_dict)

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