id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
| id |
title |
pagination_label |
sidebar_label |
sidebar_class_name |
keywords |
slug |
tags |
| beta-approval |
Approval |
Approval |
Approval |
pythonsdk |
| python |
| Python |
| sdk |
| Approval |
| BetaApproval |
|
/tools/sdk/python/beta/models/approval |
| SDK |
| Software Development Kit |
| Approval |
| BetaApproval |
|
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 |
[]ApprovalComment |
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.beta.models.approval import Approval
approval = Approval(
approval_id='38453251-6be2-5f8f-df93-5ce19e295837',
approvers=[
sailpoint.beta.models.approval_identity.Approval Identity(
id = '85d173e7d57e496569df763231d6deb6a',
type = 'IDENTITY',
name = 'John Doe', )
],
created_date='2023-04-12T23:20:50.52Z',
type='ENTITLEMENT_DESCRIPTIONS',
name=[
sailpoint.beta.models.approval_name.Approval Name(
value = 'Audit DB Access',
locale = 'en_US', )
],
batch_request={batchId=38453251-6be2-5f8f-df93-5ce19e295837, batchSize=100},
description=[
sailpoint.beta.models.approval_description.Approval Description(
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.beta.models.approval_comment.Approval Comment(
author = sailpoint.beta.models.approval_identity.Approval Identity(
id = '85d173e7d57e496569df763231d6deb6a',
type = 'IDENTITY',
name = 'John Doe', ),
comment = 'Looks good',
created_date = '2023-04-12T23:20:50.52Z', )
],
approved_by=[
sailpoint.beta.models.approval_identity.Approval Identity(
id = '85d173e7d57e496569df763231d6deb6a',
type = 'IDENTITY',
name = 'John Doe', )
],
rejected_by=[
sailpoint.beta.models.approval_identity.Approval Identity(
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.beta.models.approval_reference.Approval Reference(
id = '64012350-8fd9-4f6c-a170-1fe123683899',
type = 'AccessRequestId', )
]
)
[Back to top]