Skip to main content

TemplateTeams

Properties

NameTypeDescriptionNotes
keystrThe template key[optional]
titlestrThe title of the Teams message[optional]
textstrThe main text content of the Teams message[optional]
message_jsonstrJSON string of the Teams adaptive card[optional]
is_subscriptionboolWhether this is a subscription notification[optional] [default to False]
approval_idstrThe approval request ID[optional]
request_idstrThe request ID[optional]
requested_by_idstrThe ID of the user who made the request[optional]
notification_typestrThe type of notification[optional]
auto_approval_dataTemplateSlackAutoApprovalData[optional]
custom_fieldsTemplateSlackCustomFields[optional]
}

Example

from sailpoint.notifications.models.template_teams import TemplateTeams

template_teams = TemplateTeams(
key='',
title='',
text='You have a new approval request',
message_json='',
is_subscription=True,
approval_id='',
request_id='',
requested_by_id='',
notification_type='',
auto_approval_data=sailpoint.notifications.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.notifications.models.template_slack_custom_fields.TemplateSlack_customFields(
request_type = '',
contains_deny = '',
campaign_id = '',
campaign_status = '', )
)

[Back to top]