def METHOD_NAME(self, attributes):
    if "mode" in attributes:  # pragma no branch
        self._mode = self._makeStringAttribute(attributes["mode"])
    if "path" in attributes:  # pragma no branch
        self._path = self._makeStringAttribute(attributes["path"])
    if "sha" in attributes:  # pragma no branch
        self._sha = self._makeStringAttribute(attributes["sha"])
    if "size" in attributes:  # pragma no branch
        self._size = self._makeIntAttribute(attributes["size"])
    if "type" in attributes:  # pragma no branch
        self._type = self._makeStringAttribute(attributes["type"])
    if "url" in attributes:  # pragma no branch
        self._url = self._makeStringAttribute(attributes["url"])