@property<EOL><INDENT>def properties(self):<DEDENT>
properties = {'<STR_LIT:id>': self._id}<EOL>if self._name is not None:<EOL><INDENT>properties['<STR_LIT:name>'] = self._name<EOL><DEDENT>return properties<EOL>
All compartment properties as a dict.