Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.13 KB

TemplatePayload.md

File metadata and controls

33 lines (24 loc) · 1.13 KB

TemplatePayload

New template object

Properties

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]

Example

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)

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