code: def type(self, value):
          
          if value == self._defaults['type'] and 'type' in self._values:
              del self._values['type']
          else:
              self._values['type'] = value
docs: The type property.
          
          Args:
              value (string). the property value.