Search
setAttributes
Update the attributes of this enum case.
enumCase.setAttributes({ name: "New Name", nameByLocale: { nl: { action: "set", value: "Nieuwe naam" } } })
Parameters
attributes:UpdateEnumCase– The attributes to update:nameand/ornameByLocale.
Returns
Promise<EnumCase | null>– The updatedEnumCase, ornullif the case was removed before the update.