Skip to main content

TemplatedtoTeamsTemplate

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.templatedto_teams_template import TemplatedtoTeamsTemplate

templatedto_teams_template = TemplatedtoTeamsTemplate(
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.templateslack_auto_approval_data.templateslack_autoApprovalData(
is_auto_approved = '',
item_id = '',
item_type = '',
auto_approval_message_json = '',
auto_approval_title = '', ),
custom_fields=sailpoint.notifications.models.templateslack_custom_fields.templateslack_customFields(
request_type = '',
contains_deny = '',
campaign_id = '',
campaign_status = '', )
)

[Back to top]