code: def value(self):
          
          return {
              "hasStaticData":self._hasStaticData,
              "name":self._name,
              "maxRecordCount":self._maxRecordCount,
              "layerInfo":self._layerInfo
          }
docs: returns the object as a dictionary