Class EnumType (3.11.1)

Stay organized with collections Save and categorize content based on your preferences.
EnumType(mapping=None, *, ignore_unknown_fields=False, **kwargs)


allowed_values MutableSequence[]
Required on create; optional on update. The set of allowed values for this enum. This set must not be empty, the display names of the values in this set must not be empty and the display names of the values must be case-insensitively unique within this set. Currently, enum values can only be added to the list of allowed values. Deletion and renaming of enum values are not supported. Can have up to 500 allowed values.



EnumValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)