(self)
return properties
Return dictionary of the defined properties.
Return dictionary of the defined properties.
Return dictionary of the defined properties .
def to_dict(self):
        """Return dictionary of the defined properties."""
        properties = OrderedDict()
        for key in self.VALID_KEYS:
            if key in self.__dict__:
                properties[key] = self.__dict__[key]

        return properties
def to_dict ( self ) : properties = OrderedDict ( ) for key in self . VALID_KEYS : if key in self . __dict__ : properties [ key ] = self . __dict__ [ key ] return properties