Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.45 KB

File metadata and controls

35 lines (27 loc) · 1.45 KB

MessageTemplate

Properties

Name Type Description Notes
id int [optional] [readonly]
account_id int [optional] [readonly]
type str Template type that describes the source (sms, voice, email) and purpose (registration, invite, etc)
locale str The 2 character language locale for the template. e.g. en = English, es = Spanish
template MessageTemplateTemplate
template_class str [optional] [readonly]
updated_at str Last time template was updated [optional] [readonly]
brand_id int brand id number [optional] [readonly]

Example

from onelogin.models.message_template import MessageTemplate

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

# convert the object into a dict
message_template_dict = message_template_instance.to_dict()
# create an instance of MessageTemplate from a dict
message_template_form_dict = message_template.from_dict(message_template_dict)

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