--- id: entitlement title: Entitlement pagination_label: Entitlement sidebar_label: Entitlement sidebar_class_name: pythonsdk keywords: ['python', 'Python', 'sdk', 'Entitlement', 'Entitlement'] slug: /tools/sdk/python/v3/models/entitlement tags: ['SDK', 'Software Development Kit', 'Entitlement', 'Entitlement'] --- # Entitlement ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | The entitlement id | [optional] **name** | **str** | The entitlement name | [optional] **attribute** | **str** | The entitlement attribute name | [optional] **value** | **str** | The value of the entitlement | [optional] **source_schema_object_type** | **str** | The object type of the entitlement from the source schema | [optional] **description** | **str** | The description of the entitlement | [optional] **privileged** | **bool** | True if the entitlement is privileged | [optional] **cloud_governed** | **bool** | True if the entitlement is cloud governed | [optional] **created** | **datetime** | Time when the entitlement was created | [optional] **modified** | **datetime** | Time when the entitlement was last modified | [optional] **source** | [**EntitlementSource**](entitlement-source) | | [optional] **attributes** | **map[string]object** | A map of free-form key-value pairs from the source system | [optional] **segments** | **[]str** | List of IDs of segments, if any, to which this Entitlement is assigned. | [optional] **direct_permissions** | [**[]PermissionDto**](permission-dto) | | [optional] } ## Example ```python from sailpoint.v3.models.entitlement import Entitlement entitlement = Entitlement( id='2c91808874ff91550175097daaec161c', name='LauncherTest2', attribute='memberOf', value='CN=LauncherTest2,OU=LauncherTestOrg,OU=slpt-automation,DC=TestAutomationAD,DC=local', source_schema_object_type='group', description='CN=LauncherTest2,OU=LauncherTestOrg,OU=slpt-automation,DC=TestAutomationAD,DC=local', privileged=True, cloud_governed=True, created='2020-10-08T18:33:52.029Z', modified='2020-10-08T18:33:52.029Z', source=sailpoint.v3.models.entitlement_source.Entitlement_source( id = '2c9180827ca885d7017ca8ce28a000eb', type = 'SOURCE', name = 'ODS-AD-Source', ), attributes={fieldName=fieldValue}, segments=[f7b1b8a3-5fed-4fd4-ad29-82014e137e19, 29cb6c06-1da8-43ea-8be4-b3125f248f2a], direct_permissions=[ sailpoint.v3.models.permission_dto.PermissionDto( rights = [ 'SELECT' ], target = 'SYS.GV_$TRANSACTION', ) ] ) ``` [[Back to top]](#)