Approval
Approval Object
Properties
Name | Type | Description | Notes |
---|---|---|---|
approval_id | str | The Approval ID | [optional] |
approvers | []ApprovalIdentity | Object representation of an approver of an approval | [optional] |
created_date | str | Date the approval was created | [optional] |
type | str | Type of approval | [optional] |
name | []ApprovalName | The name of the approval for a given locale | [optional] |
batch_request | ApprovalBatch | The name of the approval for a given locale | [optional] |
description | []ApprovalDescription | The description of the approval for a given locale | [optional] |
priority | Enum [ 'HIGH', 'MEDIUM', 'LOW' ] | The priority of the approval | [optional] |
requester | ApprovalIdentity | Object representation of the requester of the approval | [optional] |
comments | []ApprovalComment1 | Object representation of a comment on the approval | [optional] |
approved_by | []ApprovalIdentity | Array of approvers who have approved the approval | [optional] |
rejected_by | []ApprovalIdentity | Array of approvers who have rejected the approval | [optional] |
completed_date | str | Date the approval was completed | [optional] |
approval_criteria | Enum [ 'SINGLE', 'DOUBLE', 'TRIPLE', 'QUARTER', 'HALF', 'ALL' ] | Criteria that needs to be met for an approval to be marked as approved | [optional] |
status | Enum [ 'PENDING', 'APPROVED', 'REJECTED' ] | The current status of the approval | [optional] |
additional_attributes | str | Json string representing additional attributes known about the object to be approved. | [optional] |
reference_data | []ApprovalReference | Reference data related to the approval | [optional] |
} |
Example
from sailpoint.v2024.models.approval import Approval
approval = Approval(
approval_id='38453251-6be2-5f8f-df93-5ce19e295837',
approvers=[
sailpoint.v2024.models.approval_identity.ApprovalIdentity(
id = '85d173e7d57e496569df763231d6deb6a',
type = 'IDENTITY',
name = 'John Doe', )
],
created_date='2023-04-12T23:20:50.52Z',
type='ENTITLEMENT_DESCRIPTIONS',
name=[
sailpoint.v2024.models.approval_name.ApprovalName(
value = 'Audit DB Access',
locale = 'en_US', )
],
batch_request={batchId=38453251-6be2-5f8f-df93-5ce19e295837, batchSize=100},
description=[
sailpoint.v2024.models.approval_description.ApprovalDescription(
value = 'This access allows viewing and editing of workflow resource',
locale = 'en_US', )
],
priority='HIGH',
requester={id=85d173e7d57e496569df763231d6deb6a, type=IDENTITY, name=John Doe},
comments=[
sailpoint.v2024.models.approval_comment_1.ApprovalComment_1(
author = sailpoint.v2024.models.approval_identity.ApprovalIdentity(
id = '85d173e7d57e496569df763231d6deb6a',
type = 'IDENTITY',
name = 'John Doe', ),
comment = 'Looks good',
created_date = '2023-04-12T23:20:50.52Z', )
],
approved_by=[
sailpoint.v2024.models.approval_identity.ApprovalIdentity(
id = '85d173e7d57e496569df763231d6deb6a',
type = 'IDENTITY',
name = 'John Doe', )
],
rejected_by=[
sailpoint.v2024.models.approval_identity.ApprovalIdentity(
id = '85d173e7d57e496569df763231d6deb6a',
type = 'IDENTITY',
name = 'John Doe', )
],
completed_date='2023-04-12T23:20:50.52Z',
approval_criteria='SINGLE',
status='PENDING',
additional_attributes='{ "llm_description": "generated description" }',
reference_data=[
sailpoint.v2024.models.approval_reference.ApprovalReference(
id = '64012350-8fd9-4f6c-a170-1fe123683899',
type = 'AccessRequestId', )
]
)