from sailpoint.v2024.models.accounts_selection_response import AccountsSelectionResponse
accounts_selection_response = AccountsSelectionResponse(
identities=[
sailpoint.v2024.models.identity_account_selections.IdentityAccountSelections(
requested_items = [
sailpoint.v2024.models.requested_item_account_selections.RequestedItemAccountSelections(
description = 'An access profile for the admins',
accounts_selection_blocked = False,
accounts_selection_blocked_reason = 'ACCESS_PROFILE_ALREADY_ASSIGNED_TO_AN_ACCOUNT',
type = 'ACCESS_PROFILE',
id = '720fd239701344aea76c93ba91376aec',
name = 'Test Access Profile',
sources = [
sailpoint.v2024.models.source_account_selections.SourceAccountSelections(
type = 'IDENTITY',
id = '3ac3c43785a845fa9820b0c1ac767cd5',
name = 'Test Source_Name',
accounts = [
sailpoint.v2024.models.account_info_ref.AccountInfoRef(
uuid = '{fab7119e-004f-4822-9c33-b8d570d6c6a6}',
native_identity = 'CN=Glen 067da3248e914,OU=YOUROU,OU=org-data-service,DC=YOURDC,DC=local',
id = 'f19d168c27374fd1aff3b483573f997f',
name = 'UserAccount.761a2248b', )
], )
], )
],
accounts_selection_required = False,
type = 'IDENTITY',
id = '70016590f2df4b879bdb1313a9e4e19e',
name = 'User name', )
]
)