def METHOD_NAME(self, content):
    self._api = content["url"]
    self.content = content.get("content")
    self.encoding = content.get("encoding")
    self.decoded = self.content
    if self.encoding == "base64" and self.content is not None:
        self.decoded = b64decode(self.content.encode())
    self.download_url = content["download_url"]
    self.git_url = content["git_url"]
    self.html_url = content["html_url"]
    self.links = content["_links"]
    self.name = content["name"]
    self.path = content["path"]
    self._uniq = self.sha = content["sha"]
    self.size = content["size"]
    self.submodule_git_url = content.get("submodule_git_url")
    self.target = content.get("target")
    self.type = content["type"]