mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-08 12:27:47 +00:00
3.2 KiB
3.2 KiB
id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
| id | title | pagination_label | sidebar_label | sidebar_class_name | keywords | slug | tags | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| v2025-role-assignment-dto | RoleAssignmentDto | RoleAssignmentDto | RoleAssignmentDto | pythonsdk |
|
/tools/sdk/python/v2025/models/role-assignment-dto |
|
RoleAssignmentDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | Assignment Id | [optional] |
| role | BaseReferenceDto | [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 | RoleAssignmentDtoAssigner | [optional] | |
| assigned_dimensions | []BaseReferenceDto | Dimensions assigned related to this role | [optional] |
| assignment_context | RoleAssignmentDtoAssignmentContext | [optional] | |
| account_targets | []RoleTargetDto | [optional] | |
| remove_date | str | Date that the assignment will be removed | [optional] |
| } |
Example
from sailpoint.v2025.models.role_assignment_dto import RoleAssignmentDto
role_assignment_dto = RoleAssignmentDto(
id='1cbb0705b38c4226b1334eadd8874086',
role=sailpoint.v2025.models.base_reference_dto.Base Reference Dto(
type = 'IDENTITY',
id = '2c91808568c529c60168cca6f90c1313',
name = 'William Wilson', ),
comments='I'm a new Engineer and need this role to do my work',
assignment_source='UI',
assigner=sailpoint.v2025.models.role_assignment_dto_assigner.RoleAssignmentDto_assigner(
type = 'IDENTITY',
id = '2c91808568c529c60168cca6f90c1313',
name = 'William Wilson', ),
assigned_dimensions=[{id=1acc8ffe5fcf457090de28bee2af36ee, type=DIMENSION, name=Northeast region}],
assignment_context={requested={contextAttributes=[{attribute=department, value=Engineering, derived=false}]}, matched=[{id=e7697a1e96d04db1ac7b0f4544915d2c, type=DIMENSION, name=Engineer}], computedDate=Wed Feb 14 10:58:42},
account_targets=[
sailpoint.v2025.models.role_target_dto.Role Target Dto(
source = sailpoint.v2025.models.base_reference_dto.Base Reference Dto(
type = 'IDENTITY',
id = '2c91808568c529c60168cca6f90c1313',
name = 'William Wilson', ),
account_info = sailpoint.v2025.models.account_info_dto.Account Info Dto(
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'
)