# Path: OSMPythonTools/internal/response.py
# class Response:
#     def __init__(self, cacheMetadata):
#         self._cacheMetadata = cacheMetadata
#     def __get(self, prop):
#         return self._cacheMetadata[prop] if self._cacheMetadata and prop in self._cacheMetadata else None
#     def cacheTimestamp(self):
#         return self.__get('timestamp')
#     def cacheVersion(self):
#         return self.__get('version')


from OSMPythonTools.internal.response import Response

class ElementShallow(Response):
    def __init__(self, cacheMetadata):
        super().__init__(cacheMetadata)
    def type(self):
        return None
    def id(self):
        return None
    def typeId(self):
        return self.type() + '/' + str(self.id()) if self.type() != None and self.id() != None else None
    def typeIdShort(self):
        return self.type()[0] + str(self.id()) if self.type() != None and self.id() != None else None
    def areaId(self):
        return self._areaId(self.type(), self.id())
    def _areaId(self, type, id):

# Path: OSMPythonTools/internal/response.py
# class Response:
#     def __init__(self, cacheMetadata):
#         self._cacheMetadata = cacheMetadata
#     def __get(self, prop):
#         return self._cacheMetadata[prop] if self._cacheMetadata and prop in self._cacheMetadata else None
#     def cacheTimestamp(self):
#         return self.__get('timestamp')
#     def cacheVersion(self):
#         return self.__get('version')


# Path: OSMPythonTools/internal/elementShallow.py
from OSMPythonTools.internal.response import Response


class ElementShallow(Response):
    def __init__(self, cacheMetadata):
        super().__init__(cacheMetadata)
    def type(self):
        return None
    def id(self):
        return None
    def typeId(self):
        return self.type() + '/' + str(self.id()) if self.type() != None and self.id() != None else None
    def typeIdShort(self):
        return self.type()[0] + str(self.id()) if self.type() != None and self.id() != None else None
    def areaId(self):
        return self._areaId(self.type(), self.id())
    def _areaId(self, type, id):

        if type == 'way':