starting point for adding python sdk docs

This commit is contained in:
darrell-thobe-sp
2025-02-20 12:59:19 -05:00
parent 3b9e39ca19
commit c18583ede4
2726 changed files with 370294 additions and 5 deletions

View File

@@ -0,0 +1,82 @@
---
id: beta-role-assignment-dto
title: RoleAssignmentDto
pagination_label: RoleAssignmentDto
sidebar_label: RoleAssignmentDto
sidebar_class_name: pythonsdk
keywords: ['python', 'Python', 'sdk', 'RoleAssignmentDto', 'BetaRoleAssignmentDto']
slug: /tools/sdk/python/beta/models/role-assignment-dto
tags: ['SDK', 'Software Development Kit', 'RoleAssignmentDto', 'BetaRoleAssignmentDto']
---
# RoleAssignmentDto
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | Assignment Id | [optional]
**role** | [**BaseReferenceDto1**](base-reference-dto1) | | [optional]
**comments** | **str** | Comments added by the user when the assignment was made | [optional]
**assignment_source** | **str** | Source describing how this assignment was made | [optional]
**assigner** | [**BaseReferenceDto1**](base-reference-dto1) | | [optional]
**assigned_dimensions** | [**[]BaseReferenceDto1**](base-reference-dto1) | Dimensions assigned related to this role | [optional]
**assignment_context** | [**AssignmentContextDto**](assignment-context-dto) | | [optional]
**account_targets** | [**[]RoleTargetDto**](role-target-dto) | | [optional]
**remove_date** | **str** | Date that the assignment will be removed | [optional]
}
## Example
```python
from sailpoint.beta.models.role_assignment_dto import RoleAssignmentDto
role_assignment_dto = RoleAssignmentDto(
id='1cbb0705b38c4226b1334eadd8874086',
role=sailpoint.beta.models.base_reference_dto_1.BaseReferenceDto_1(
id = 'ff8081814d977c21014da056804a0af3',
name = 'Github', ),
comments='I'm a new Engineer and need this role to do my work',
assignment_source='UI',
assigner=sailpoint.beta.models.base_reference_dto_1.BaseReferenceDto_1(
id = 'ff8081814d977c21014da056804a0af3',
name = 'Github', ),
assigned_dimensions=[{id=1acc8ffe5fcf457090de28bee2af36ee, type=DIMENSION, name=Northeast region}],
assignment_context=sailpoint.beta.models.assignment_context_dto.AssignmentContextDto(
requested = sailpoint.beta.models.access_request_context.AccessRequestContext(
context_attributes = [
sailpoint.beta.models.context_attribute_dto.ContextAttributeDto(
attribute = 'location',
value = Austin,
derived = False, )
], ),
matched = [
sailpoint.beta.models.role_match_dto.RoleMatchDto(
role_ref = sailpoint.beta.models.base_reference_dto_1.BaseReferenceDto_1(
id = 'ff8081814d977c21014da056804a0af3',
name = 'Github', ),
matched_attributes = [
sailpoint.beta.models.context_attribute_dto.ContextAttributeDto(
attribute = 'location',
derived = False, )
], )
],
computed_date = 'Wed Feb 14 10:58:42', ),
account_targets=[
sailpoint.beta.models.role_target_dto.RoleTargetDto(
source = sailpoint.beta.models.base_reference_dto_1.BaseReferenceDto_1(
id = 'ff8081814d977c21014da056804a0af3',
name = 'Github', ),
account_info = sailpoint.beta.models.account_info_dto.AccountInfoDto(
native_identity = 'CN=Abby Smith,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=acme,DC=com',
display_name = 'Abby.Smith',
uuid = '{ad9fc391-246d-40af-b248-b6556a2b7c01}', ),
role_name = 'Marketing', )
],
remove_date='Wed Feb 14 10:58:42'
)
```
[[Back to top]](#)