New template object
Name | Type | Description | Notes |
---|---|---|---|
name | str | Template name | |
subject | str | Default subject of email. | [optional] |
body | List[BodyPart] | Email content of this template | [optional] |
template_scope | TemplateScope | [optional] |
from ElasticEmail.models.template_payload import TemplatePayload
# TODO update the JSON string below
json = "{}"
# create an instance of TemplatePayload from a JSON string
template_payload_instance = TemplatePayload.from_json(json)
# print the JSON string representation of the object
print(TemplatePayload.to_json())
# convert the object into a dict
template_payload_dict = template_payload_instance.to_dict()
# create an instance of TemplatePayload from a dict
template_payload_from_dict = TemplatePayload.from_dict(template_payload_dict)