Search
Search
setAttributes
setAttributes
Update the attributes of the Enum Case.
enumCase.setAttributes({ name: "New Name", nameByLocale: { nl: { action: "set", value: "Nieuwe naam"} } })
Parameters
attributes: UpdateEnumCase
– An array of the IDs of all Enum Cases, in the desired new order.name
– The name of the Enum Case.nameByLocale
- Localization updates for Locales.
Returns
Promise<EnumCase | null>