identity_attributes_type Property
Specifies the type of attribute.
Syntax
def get_identity_attributes_type(identity_index: int) -> int: ...
Default Value
0
Remarks
Specifies the type of attribute. When calling get_identity_attributes either Notification or Verification attributes are retrieved. This property indicates which type the current attribute is. Possible values are:
AttributesType | Meaning |
0 | Notification |
1 | Verification |
2 | None. This will be the case when list_identities is called. Only the identity_name property will be populated. |
Only some Attribute properties will be populated depending on the AttributesType. If the AttributesType is Notification (0) the following fields will be populated:
- identity_name
- identity_notification_bounce_topic
- identity_notification_complaint_topic
- identity_notification_forwarding_enabled
The identity_index parameter specifies the index of the item in the array. The size of the array is controlled by the identity_count property.
This property is read-only.