Skip to main content

AttributeDTO

Properties

NameTypeDescriptionNotes
keystrTechnical name of the Attribute. This is unique and cannot be changed after creation.[optional]
namestrThe display name of the key.[optional]
multiselectboolIndicates whether the attribute can have multiple values.[optional] [default to False]
statusstrThe status of the Attribute.[optional]
typestrThe type of the Attribute. This can be either "custom" or "governance".[optional]
object_types[]strAn 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]
descriptionstrThe 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]