mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 04:19:37 +00:00
starting point for adding python sdk docs
This commit is contained in:
155
docs/tools/sdk/python/Reference/Beta/Models/CompletedApproval.md
Normal file
155
docs/tools/sdk/python/Reference/Beta/Models/CompletedApproval.md
Normal file
@@ -0,0 +1,155 @@
|
||||
---
|
||||
id: beta-completed-approval
|
||||
title: CompletedApproval
|
||||
pagination_label: CompletedApproval
|
||||
sidebar_label: CompletedApproval
|
||||
sidebar_class_name: pythonsdk
|
||||
keywords: ['python', 'Python', 'sdk', 'CompletedApproval', 'BetaCompletedApproval']
|
||||
slug: /tools/sdk/python/beta/models/completed-approval
|
||||
tags: ['SDK', 'Software Development Kit', 'CompletedApproval', 'BetaCompletedApproval']
|
||||
---
|
||||
|
||||
# CompletedApproval
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **str** | The approval id. | [optional]
|
||||
**name** | **str** | The name of the approval. | [optional]
|
||||
**created** | **datetime** | When the approval was created. | [optional]
|
||||
**modified** | **datetime** | When the approval was modified last time. | [optional]
|
||||
**request_created** | **datetime** | When the access-request was created. | [optional]
|
||||
**request_type** | [**AccessRequestType**](access-request-type) | | [optional]
|
||||
**requester** | [**AccessItemRequesterDto**](access-item-requester-dto) | | [optional]
|
||||
**requested_for** | [**RequestedItemStatusRequestedFor**](requested-item-status-requested-for) | | [optional]
|
||||
**reviewed_by** | [**CompletedApprovalReviewedBy**](completed-approval-reviewed-by) | | [optional]
|
||||
**owner** | [**AccessItemOwnerDto**](access-item-owner-dto) | | [optional]
|
||||
**requested_object** | [**RequestableObjectReference**](requestable-object-reference) | | [optional]
|
||||
**requester_comment** | [**CommentDto1**](comment-dto1) | | [optional]
|
||||
**reviewer_comment** | [**CommentDto**](comment-dto) | The approval's reviewer's comment. | [optional]
|
||||
**previous_reviewers_comments** | [**[]CommentDto1**](comment-dto1) | The history of the previous reviewers comments. | [optional]
|
||||
**forward_history** | [**[]ApprovalForwardHistory**](approval-forward-history) | The history of approval forward action. | [optional]
|
||||
**comment_required_when_rejected** | **bool** | When true the rejector has to provide comments when rejecting | [optional] [default to False]
|
||||
**state** | [**CompletedApprovalState**](completed-approval-state) | | [optional]
|
||||
**remove_date** | **datetime** | The date the role or access profile or entitlement is no longer assigned to the specified identity. | [optional]
|
||||
**remove_date_update_requested** | **bool** | If true, then the request was to change the remove date or sunset date. | [optional] [default to False]
|
||||
**current_remove_date** | **datetime** | The remove date or sunset date that was assigned at the time of the request. | [optional]
|
||||
**sod_violation_context** | [**SodViolationContextCheckCompleted1**](sod-violation-context-check-completed1) | | [optional]
|
||||
**pre_approval_trigger_result** | [**CompletedApprovalPreApprovalTriggerResult**](completed-approval-pre-approval-trigger-result) | | [optional]
|
||||
**client_metadata** | **map[string]str** | Arbitrary key-value pairs provided during the request. | [optional]
|
||||
}
|
||||
|
||||
## Example
|
||||
|
||||
```python
|
||||
from sailpoint.beta.models.completed_approval import CompletedApproval
|
||||
|
||||
completed_approval = CompletedApproval(
|
||||
id='2c938083633d259901633d25c68c00fa',
|
||||
name='Approval Name',
|
||||
created='2017-07-11T18:45:37.098Z',
|
||||
modified='2018-07-25T20:22:28.104Z',
|
||||
request_created='2017-07-11T18:45:35.098Z',
|
||||
request_type='GRANT_ACCESS',
|
||||
requester=sailpoint.beta.models.access_item_requester_dto.AccessItemRequesterDto(
|
||||
type = 'IDENTITY',
|
||||
id = '2c7180a46faadee4016fb4e018c20648',
|
||||
name = 'William Wilson', ),
|
||||
requested_for=sailpoint.beta.models.requested_item_status_requested_for.RequestedItemStatus_requestedFor(
|
||||
type = 'IDENTITY',
|
||||
id = '2c9180835d191a86015d28455b4b232a',
|
||||
name = 'William Wilson', ),
|
||||
reviewed_by=sailpoint.beta.models.completed_approval_reviewed_by.CompletedApproval_reviewedBy(
|
||||
type = 'IDENTITY',
|
||||
id = '2c3780a46faadee4016fb4e018c20652',
|
||||
name = 'Allen Albertson', ),
|
||||
owner=sailpoint.beta.models.access_item_owner_dto.AccessItemOwnerDto(
|
||||
type = 'IDENTITY',
|
||||
id = '2c9180a46faadee4016fb4e018c20639',
|
||||
name = 'Support', ),
|
||||
requested_object=sailpoint.beta.models.requestable_object_reference.RequestableObjectReference(
|
||||
id = '2c938083633d259901633d25c68c00fa',
|
||||
name = 'Object Name',
|
||||
description = 'Object Description',
|
||||
type = 'ROLE', ),
|
||||
requester_comment=sailpoint.beta.models.comment_dto_1.CommentDto_1(
|
||||
comment = 'This is a comment.',
|
||||
created = '2017-07-11T18:45:37.098Z',
|
||||
author = sailpoint.beta.models.comment_dto_1_author.CommentDto_1_author(
|
||||
type = 'IDENTITY',
|
||||
id = '2c9180847e25f377017e2ae8cae4650b',
|
||||
name = 'john.doe', ), ),
|
||||
reviewer_comment=sailpoint.beta.models.comment_dto.CommentDto(
|
||||
comment = 'This is a comment.',
|
||||
author = sailpoint.beta.models.comment_dto_author.CommentDto_author(
|
||||
type = 'IDENTITY',
|
||||
id = '2c91808568c529c60168cca6f90c1313',
|
||||
name = 'Adam Kennedy', ),
|
||||
created = '2017-07-11T18:45:37.098Z', ),
|
||||
previous_reviewers_comments=[
|
||||
sailpoint.beta.models.comment_dto_1.CommentDto_1(
|
||||
comment = 'This is a comment.',
|
||||
created = '2017-07-11T18:45:37.098Z',
|
||||
author = sailpoint.beta.models.comment_dto_1_author.CommentDto_1_author(
|
||||
type = 'IDENTITY',
|
||||
id = '2c9180847e25f377017e2ae8cae4650b',
|
||||
name = 'john.doe', ), )
|
||||
],
|
||||
forward_history=[
|
||||
sailpoint.beta.models.approval_forward_history.ApprovalForwardHistory(
|
||||
old_approver_name = 'Frank Mir',
|
||||
new_approver_name = 'Al Volta',
|
||||
comment = 'Forwarding from Frank to Al',
|
||||
modified = '2019-08-23T18:52:57.398Z',
|
||||
forwarder_name = 'William Wilson',
|
||||
reassignment_type = 'AUTOMATIC_REASSIGNMENT', )
|
||||
],
|
||||
comment_required_when_rejected=True,
|
||||
state='APPROVED',
|
||||
remove_date='2020-07-11T00:00Z',
|
||||
remove_date_update_requested=True,
|
||||
current_remove_date='2020-07-11T00:00Z',
|
||||
sod_violation_context=sailpoint.beta.models.sod_violation_context_check_completed_1.SodViolationContextCheckCompleted_1(
|
||||
state = 'SUCCESS',
|
||||
uuid = 'f73d16e9-a038-46c5-b217-1246e15fdbdd',
|
||||
violation_check_result = sailpoint.beta.models.sod_violation_check_result_1.SodViolationCheckResult_1(
|
||||
message = sailpoint.beta.models.error_message_dto.ErrorMessageDto(
|
||||
locale = 'en-US',
|
||||
locale_origin = 'DEFAULT',
|
||||
text = 'The request was syntactically correct but its content is semantically invalid.', ),
|
||||
client_metadata = {requestedAppName=test-app, requestedAppId=2c91808f7892918f0178b78da4a305a1},
|
||||
violation_contexts = [
|
||||
sailpoint.beta.models.sod_violation_context_1.SodViolationContext_1(
|
||||
policy = sailpoint.beta.models.sod_policy_dto.SodPolicyDto(
|
||||
type = 'SOD_POLICY',
|
||||
id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde',
|
||||
name = 'Business SOD Policy', ),
|
||||
conflicting_access_criteria = sailpoint.beta.models.sod_violation_context_1_conflicting_access_criteria.SodViolationContext_1_conflictingAccessCriteria(
|
||||
left_criteria = sailpoint.beta.models.sod_violation_context_1_conflicting_access_criteria_left_criteria.SodViolationContext_1_conflictingAccessCriteria_leftCriteria(
|
||||
criteria_list = [
|
||||
sailpoint.beta.models.sod_exempt_criteria_1.SodExemptCriteria_1(
|
||||
existing = True,
|
||||
type = 'IDENTITY',
|
||||
id = '2c918085771e9d3301773b3cb66f6398',
|
||||
name = 'My HR Entitlement', )
|
||||
], ),
|
||||
right_criteria = sailpoint.beta.models.sod_violation_context_1_conflicting_access_criteria_left_criteria.SodViolationContext_1_conflictingAccessCriteria_leftCriteria(), ), )
|
||||
],
|
||||
violated_policies = [
|
||||
sailpoint.beta.models.sod_policy_dto.SodPolicyDto(
|
||||
id = '0f11f2a4-7c94-4bf3-a2bd-742580fe3bde',
|
||||
name = 'Business SOD Policy', )
|
||||
], ), ),
|
||||
pre_approval_trigger_result=sailpoint.beta.models.completed_approval_pre_approval_trigger_result.CompletedApproval_preApprovalTriggerResult(
|
||||
comment = 'This request was autoapproved by our automated ETS subscriber',
|
||||
decision = 'APPROVED',
|
||||
reviewer = 'Automated AR Approval',
|
||||
date = '2022-06-07T19:18:40.748Z', ),
|
||||
client_metadata={requestedAppName=test-app, requestedAppId=2c91808f7892918f0178b78da4a305a1}
|
||||
)
|
||||
|
||||
```
|
||||
[[Back to top]](#)
|
||||
|
||||
Reference in New Issue
Block a user