Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/V2024/Models/AttributeDTO.md
2025-02-20 12:59:19 -05:00

1.9 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
v2024-attribute-dto AttributeDTO AttributeDTO AttributeDTO pythonsdk
python
Python
sdk
AttributeDTO
V2024AttributeDTO
/tools/sdk/python/v2024/models/attribute-dto
SDK
Software Development Kit
AttributeDTO
V2024AttributeDTO

AttributeDTO

Properties

Name Type Description Notes
key str Technical name of the Attribute. This is unique and cannot be changed after creation. [optional]
name str The display name of the key. [optional]
multiselect bool Indicates whether the attribute can have multiple values. [optional] [default to False]
status str The status of the Attribute. [optional]
type str The type of the Attribute. This can be either "custom" or "governance". [optional]
object_types []str An array of object types this attributes values can be applied to. Possible values are "all" or "entitlement". Value "all" means this attribute can be used with all object types that are supported. [optional]
description str The description of the Attribute. [optional]
values []AttributeValueDTO [optional]
}

Example

from sailpoint.v2024.models.attribute_dto import AttributeDTO

attribute_dto = AttributeDTO(
key='iscPrivacy',
name='Privacy',
multiselect=False,
status='active',
type='governance',
object_types=[entitlement],
description='Specifies the level of privacy associated with an access item.',
values=[
                    sailpoint.v2024.models.attribute_value_dto.AttributeValueDTO(
                        value = 'public', 
                        name = 'Public', 
                        status = 'active', )
                    ]
)

[Back to top]