Name |
Type |
Description |
Notes |
value |
String |
Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' |
[optional] |
is_recurring |
Boolean |
Type of the attribute. Use only if the attribute's category is 'calculated' or 'global' |
[optional] |
enumeration |
Array<CreateAttributeEnumerationInner> |
List of values and labels that the attribute can take. Use only if the attribute's category is "category". For example: [{"value":1, "label":"male"}, {"value":2, "label":"female"}] |
[optional] |
type |
String |
Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' Type boolean is only available if the category is normal attribute Type id is only available if the category is transactional attribute Type category is only available if the category is category attribute |
[optional] |
require 'brevo'
instance = Brevo::CreateAttribute.new(
value: COUNT[BLACKLISTED,BLACKLISTED,<,NOW()],
is_recurring: true,
enumeration: null,
type: text
)