code: def to_dict(self):
          
          obj = super(EnumType, self).to_dict()
          obj['values'] = self.values
          return obj
docs: Convert enum data type definition into a dictionary. Overrides the
          super class method to add list of enumeration values.
  
          Returns
          -------
          dict
              Json-like dictionary representation of the attribute data type