Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/V2024/Models/TemplateDtoDefault.md
2025-07-25 19:23:51 +00:00

4.4 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
v2024-template-dto-default TemplateDtoDefault TemplateDtoDefault TemplateDtoDefault pythonsdk
python
Python
sdk
TemplateDtoDefault
V2024TemplateDtoDefault
/tools/sdk/python/v2024/models/template-dto-default
SDK
Software Development Kit
TemplateDtoDefault
V2024TemplateDtoDefault

TemplateDtoDefault

Properties

Name Type Description Notes
key str The key of the default template [optional]
name str The name of the default template [optional]
medium Enum [ 'EMAIL', 'PHONE', 'SMS', 'SLACK', 'TEAMS' ] The message medium. More mediums may be added in the future. [optional]
locale str The locale for the message text, a BCP 47 language tag. [optional]
subject str The subject of the default template [optional]
header str The header value is now located within the body field. If included with non-null values, will result in a 400. [optional]
body str The body of the default template [optional]
footer str The footer value is now located within the body field. If included with non-null values, will result in a 400. [optional]
var_from str The "From:" address of the default template [optional]
reply_to str The "Reply To" field of the default template [optional]
description str The description of the default template [optional]
slack_template TemplateSlack [optional]
teams_template TemplateTeams [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.Template Slack(
                    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.Template Teams(
                    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]