PropertySpec#

class deapi.PropertySpec(data_type: str = None, value_type: str = None, category: str = None, options: list = None, default_value=None, current_value=None)#

Bases: object

Class to hold the specification of a property in the DE API

Parameters:
  • data_type (str, optional) – Data type of the property

  • value_type (str, optional) – Value type of the property

  • category (str, optional) – Category of the property

  • options (list, optional) – List of options for the property

  • default_value (str, optional) – Default value of the property

  • current_value (str, optional) – Current value of the property

Attributes

PropertySpec.category

PropertySpec.currentValue

PropertySpec.dataType

PropertySpec.defaultValue

PropertySpec.options

PropertySpec.valueType

Methods