Templateslack
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| key | str | The template key | [optional] |
| text | str | The main text content of the Slack message | [optional] |
| blocks | str | JSON string of Slack Block Kit blocks for rich formatting | [optional] |
| attachments | str | JSON string of Slack attachments | [optional] |
| notification_type | str | The type of notification | [optional] |
| approval_id | str | The approval request ID | [optional] |
| request_id | str | The request ID | [optional] |
| requested_by_id | str | The ID of the user who made the request | [optional] |
| is_subscription | bool | Whether this is a subscription notification | [optional] [default to False] |
| auto_approval_data | TemplateslackAutoApprovalData | [optional] | |
| custom_fields | TemplateslackCustomFields | [optional] | |
| } |
Example
from sailpoint.notifications.models.templateslack import Templateslack
templateslack = Templateslack(
key='',
text='You have a new approval request',
blocks='',
attachments='[]',
notification_type='',
approval_id='',
request_id='',
requested_by_id='',
is_subscription=True,
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 = '', )
)