Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 2.05 KB

File metadata and controls

30 lines (21 loc) · 2.05 KB

EmailContent

Properties

Name Type Description Notes
body str The HTML body of the email. May contain variable references. <x-lifecycle class=&quot;ea&quot;></x-lifecycle> Not required if Custom languages for Okta Email Templates is enabled. A `null` body is replaced with a default value from one of the following in priority order: 1. An existing default email customization, if one exists 2. Okta-provided translated content for the specified language, if one exists 3. Okta-provided translated content for the brand locale, if it's set 4. Okta-provided content in English
subject str The email subject. May contain variable references. <x-lifecycle class=&quot;ea&quot;></x-lifecycle> Not required if Custom languages for Okta Email Templates is enabled. A `null` subject is replaced with a default value from one of the following in priority order: 1. An existing default email customization, if one exists 2. Okta-provided translated content for the specified language, if one exists 3. Okta-provided translated content for the brand locale, if it's set 4. Okta-provided content in English

Example

from okta.models.email_content import EmailContent

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

# convert the object into a dict
email_content_dict = email_content_instance.to_dict()
# create an instance of EmailContent from a dict
email_content_from_dict = EmailContent.from_dict(email_content_dict)

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