Template info
| Name | Type | Description | Notes |
|---|---|---|---|
| template_type | TemplateType | [optional] [default to TemplateType.RAWHTML] | |
| 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] [default to TemplateScope.PERSONAL] |
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)