Skip to main content

TemplateDtoDefault

Properties

NameTypeDescriptionNotes
keystrThe key of the default template[optional]
namestrThe name of the default template[optional]
mediumEnum [ 'EMAIL', 'PHONE', 'SMS', 'SLACK', 'TEAMS' ]The message medium. More mediums may be added in the future.[optional]
localestrThe locale for the message text, a BCP 47 language tag.[optional]
subjectstrThe subject of the default template[optional]
headerstrThe header value is now located within the body field. If included with non-null values, will result in a 400.[optional]
bodystrThe body of the default template[optional]
footerstrThe footer value is now located within the body field. If included with non-null values, will result in a 400.[optional]
var_fromstrThe "From:" address of the default template[optional]
reply_tostrThe "Reply To" field of the default template[optional]
descriptionstrThe description of the default template[optional]
slack_templateTemplateSlack[optional]
teams_templateTemplateTeams[optional]
}

Example

from sailpoint.v2024.models.template_dto_default import TemplateDtoDefault

template_dto_default = TemplateDtoDefault(
key='cloud_manual_work_item_summary',
name='Task Manager Subscription',
medium='EMAIL',
locale='en',
subject='You have $numberOfPendingTasks $taskTasks to complete in ${__global.productName}.',
header='',
body='Please go to the task manager',
footer='',
var_from='$__global.emailFromAddress',
reply_to='$__global.emailFromAddress',
description='Daily digest - sent if number of outstanding tasks for task owner > 0',
slack_template=sailpoint.v2024.models.template_slack.TemplateSlack(
key = '',
text = '',
blocks = '',
attachments = '',
notification_type = '',
approval_id = '',
request_id = '',
requested_by_id = '',
is_subscription = True,
auto_approval_data = sailpoint.v2024.models.template_slack_auto_approval_data.TemplateSlack_autoApprovalData(
is_auto_approved = '',
item_id = '',
item_type = '',
auto_approval_message_json = '',
auto_approval_title = '', ),
custom_fields = sailpoint.v2024.models.template_slack_custom_fields.TemplateSlack_customFields(
request_type = '',
contains_deny = '',
campaign_id = '',
campaign_status = '', ), ),
teams_template=sailpoint.v2024.models.template_teams.TemplateTeams(
key = '',
title = '',
text = '',
message_json = '',
is_subscription = True,
approval_id = '',
request_id = '',
requested_by_id = '',
notification_type = '',
auto_approval_data = sailpoint.v2024.models.template_slack_auto_approval_data.TemplateSlack_autoApprovalData(
is_auto_approved = '',
item_id = '',
item_type = '',
auto_approval_message_json = '',
auto_approval_title = '', ),
custom_fields = sailpoint.v2024.models.template_slack_custom_fields.TemplateSlack_customFields(
request_type = '',
contains_deny = '',
campaign_id = '',
campaign_status = '', ), )
)

[Back to top]